/* ================================
   CSS Variables & Base Styles
   ================================ */
:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #0ea5e9;
    --accent: #22d3ee;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    --bg-dark: #0a0a0f;
    --bg-darker: #050507;
    --bg-card: #111118;
    --bg-card-hover: #1a1a24;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border-color: #1e293b;
    --border-light: #334155;

    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(14, 165, 233, 0.3) 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Fira Code', 'Consolas', monospace;
}

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

::selection {
    background: var(--primary);
    color: var(--text-primary);
}

/* ================================
   Custom Cursor
   ================================ */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-light);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
}

body:hover .cursor-follower {
    opacity: 0.5;
}

a:hover ~ .cursor,
button:hover ~ .cursor {
    transform: scale(2);
}

/* ================================
   Particle Background
   ================================ */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

/* ================================
   Navigation
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    padding: 0.75rem 5%;
    border-bottom-color: var(--border-color);
    background: rgba(10, 10, 15, 0.95);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

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

/* ================================
   Hero Section
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5% 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 1;
}

.hero-greeting {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.greeting-line {
    width: 40px;
    height: 1px;
    background: var(--primary);
}

.greeting-text {
    color: var(--primary-light);
    font-family: var(--font-mono);
    font-size: 1rem;
    letter-spacing: 1px;
}

.hero-name {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.name-letter {
    display: inline-block;
    transition: all 0.3s ease;
    cursor: default;
}

.name-letter:hover {
    color: var(--primary);
    transform: translateY(-5px) scale(1.1);
    text-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
}

.hero-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.title-prefix,
.title-suffix {
    color: var(--text-muted);
}

.typed-text {
    color: var(--secondary);
}

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

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

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(99, 102, 241, 0.5);
}

.btn-primary svg {
    transition: transform var(--transition-normal);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

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

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--primary);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.code-window {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.code-window:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28ca42; }

.window-title {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

.window-content {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.8;
}

.window-content pre {
    margin: 0;
}

.code-keyword { color: #c678dd; }
.code-variable { color: #e5c07b; }
.code-property { color: #61afef; }
.code-string { color: #98c379; }
.code-comment { color: #5c6370; }

/* Floating Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-icon img {
    width: 30px;
    height: 30px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: fadeInUp 1s ease 1.5s both;
}

.scroll-text {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ================================
   Section Styles
   ================================ */
.section {
    padding: 6rem 5%;
    position: relative;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    white-space: nowrap;
}

.section-line {
    flex: 1;
    height: 1px;
    background: var(--border-color);
    max-width: 300px;
}

/* ================================
   About Section
   ================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    align-items: start;
}

.about-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.highlight-item:hover {
    border-color: var(--primary);
    transform: translateX(5px);
    box-shadow: var(--shadow-glow);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-glow);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.highlight-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.highlight-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* About Image */
.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.image-border {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.image-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.initials {
    font-size: 8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.8;
}

.image-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.3;
}

.image-wrapper:hover .image-border {
    top: 10px;
    left: 10px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
}

.badge-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* ================================
   Experience Section
   ================================ */
.experience {
    background: var(--bg-darker);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    padding-bottom: 3rem;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.marker-dot {
    width: 16px;
    height: 16px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    position: relative;
    z-index: 1;
}

.marker-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, var(--primary), transparent);
    margin-top: 0.5rem;
}

.timeline-content {
    flex: 1;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.timeline-company {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.utd-logo {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.timeline-company h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

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

.timeline-date {
    text-align: right;
}

.date-badge {
    display: inline-block;
    background: var(--gradient-glow);
    color: var(--primary-light);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.location {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.timeline-body {
    padding: 1.5rem;
}

.achievement-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.achievement-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.achievement-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--success);
}

.achievement-icon svg {
    width: 100%;
    height: 100%;
}

.achievement-list .highlight {
    color: var(--primary-light);
}

.achievement-list .metric {
    color: var(--success);
    font-weight: 600;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: var(--bg-darker);
    color: var(--text-muted);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    transition: all var(--transition-fast);
}

.tech-tag:hover {
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.1);
}

/* ================================
   Skills Section
   ================================ */
.skills-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.skills-category {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 2rem;
    transition: all var(--transition-normal);
}

.skills-category:hover {
    border-color: var(--border-light);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-glow);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.category-icon.aws-icon {
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.2) 0%, rgba(255, 153, 0, 0.1) 100%);
}

.category-icon.aws-icon img {
    width: 32px;
    height: 32px;
}

.category-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--bg-darker);
    border-radius: 12px;
    transition: all var(--transition-normal);
    cursor: default;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.skill-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.skill-item span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.skill-level {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.skill-level::after {
    content: '';
    display: block;
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 1s ease;
}

.skill-item:hover .skill-level::after {
    width: calc(var(--level) * 1%);
}

.skill-item .skill-level[data-level="95"]::after { --level: 95; }
.skill-item .skill-level[data-level="90"]::after { --level: 90; }
.skill-item .skill-level[data-level="85"]::after { --level: 85; }
.skill-item .skill-level[data-level="80"]::after { --level: 80; }
.skill-item .skill-level[data-level="75"]::after { --level: 75; }
.skill-item .skill-level[data-level="70"]::after { --level: 70; }

.db2-icon .db2-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* AWS Services Grid */
.aws-category {
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.05) 0%, var(--bg-card) 100%);
}

.aws-services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.aws-service {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all var(--transition-normal);
}

.aws-service:hover {
    border-color: #ff9900;
    background: rgba(255, 153, 0, 0.1);
}

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

.aws-service:hover .service-name {
    color: #ff9900;
}

/* ================================
   Projects Section
   ================================ */
.projects {
    background: var(--bg-darker);
}

.projects-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.project-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.project-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.project-image {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--gradient-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-card.featured .project-image {
    aspect-ratio: auto;
    min-height: 300px;
}

.project-image.small {
    aspect-ratio: 16/9;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(14, 165, 233, 0.2) 100%);
}

.overlay-pattern {
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(255,255,255,0.1) 1px, transparent 0);
    background-size: 20px 20px;
}

.project-icon-large {
    position: relative;
    z-index: 1;
    width: 120px;
    height: 120px;
    background: var(--bg-card);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.project-icon-large svg {
    width: 60px;
    height: 60px;
    stroke: var(--primary);
}

.project-icon {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.project-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
}

.project-info {
    padding: 1.5rem;
}

.project-card.featured .project-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-label {
    display: inline-block;
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-card.featured .project-title {
    font-size: 1.5rem;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    background: var(--bg-darker);
    color: var(--text-muted);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

/* ================================
   Education Section
   ================================ */
.education-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.education-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.education-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.education-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.education-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
}

.education-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.university {
    display: block;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.duration {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.gpa-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-darker);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.gpa-label {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.gpa-value {
    color: var(--success);
    font-weight: 700;
    font-size: 0.95rem;
}

/* ================================
   Contact Section
   ================================ */
.contact {
    background: var(--bg-darker);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-text {
    margin-bottom: 3rem;
}

.contact-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.contact-link:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.contact-link.location {
    cursor: default;
}

.link-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-glow);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.link-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.link-info {
    text-align: left;
}

.link-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.link-value {
    color: var(--text-primary);
    font-weight: 500;
}

/* ================================
   Footer
   ================================ */
.footer {
    padding: 3rem 5%;
    border-top: 1px solid var(--border-color);
}

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

.footer-logo .logo-text {
    font-size: 1.5rem;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.social-link svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    transition: stroke var(--transition-fast);
}

.social-link:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.social-link:hover svg {
    stroke: var(--primary);
}

/* ================================
   Animations
   ================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
}

.hero-greeting { animation-delay: 0.1s; }
.hero-name { animation-delay: 0.2s; }
.hero-title { animation-delay: 0.3s; }
.hero-description { animation-delay: 0.4s; }
.hero-cta { animation-delay: 0.5s; }
.hero-stats { animation-delay: 0.6s; }

.hero-visual {
    animation: fadeIn 1s ease 0.5s forwards;
    opacity: 0;
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }

    .hero-content {
        max-width: 100%;
    }

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

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-visual {
        margin-top: 3rem;
        width: 100%;
    }

    .code-window {
        transform: none;
    }

    .floating-icons {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

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

@media (max-width: 768px) {
    .cursor,
    .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .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-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-marker {
        flex-direction: row;
    }

    .marker-line {
        width: 100%;
        height: 2px;
        margin-left: 0.5rem;
        margin-top: 0;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-date {
        text-align: left;
    }

    .education-content {
        grid-template-columns: 1fr;
    }

    .education-card {
        flex-direction: column;
        text-align: center;
    }

    .education-icon {
        margin: 0 auto;
    }

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

    .section {
        padding: 4rem 5%;
    }

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

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

    .hero-title {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-metrics {
        flex-wrap: wrap;
        gap: 1rem;
    }
}
