/* ===== ELITE PORTFOLIO - WORLD-CLASS DESIGN ===== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --white: #ffffff;
    --black: #0a0a0a;
    --grey-50: #f9fafb;
    --grey-100: #f3f4f6;
    --grey-200: #e5e7eb;
    --grey-300: #d1d5db;
    --grey-400: #9ca3af;
    --grey-500: #6b7280;
    --grey-600: #4b5563;
    --grey-700: #374151;
    --grey-800: #1f2937;
    --grey-900: #111827;
    --ash: #8b92a3;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--grey-700);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== CUSTOM CURSOR ===== */
.cursor,
.cursor-follower {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
}

.cursor {
    background: var(--white);
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--white);
    background: transparent;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

/* ===== PARTICLES BACKGROUND ===== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.5;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.5px;
}

.logo-icon {
    color: var(--primary);
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: var(--grey-700);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--grey-50) 0%, var(--white) 100%);
    padding: 140px 0 100px;
}

.hero-bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    bottom: -150px;
    left: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #93c5fd, #60a5fa);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(96, 165, 250, 0.1));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--black);
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s forwards;
}

.hero-title .line:nth-child(1) { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) { animation-delay: 0.2s; }
.hero-title .line:nth-child(3) { animation-delay: 0.3s; }

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

.highlight-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--grey-600);
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--grey-500);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin: 40px 0;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--grey-500);
    margin-top: 8px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn span, .btn i {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== HERO 3D VISUAL ===== */
.hero-visual {
    position: relative;
    height: 600px;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: var(--grey-800);
    animation: floatCard 6s infinite ease-in-out;
    backdrop-filter: blur(10px);
    border: 1px solid var(--grey-100);
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary);
}

.card-1 {
    top: 10%;
    left: 0;
}

.card-2 {
    top: 40%;
    right: 10%;
    animation-delay: -2s;
}

.card-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: -4s;
}

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

/* ===== 3D CUBE ===== */
.hero-3d-object {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    perspective: 1000px;
}

.cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

@keyframes rotateCube {
    from { transform: rotateX(0deg) rotateY(0deg); }
    to { transform: rotateX(360deg) rotateY(360deg); }
}

/* Remove default animation for JS control */
.cube {
    animation: none !important;
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(96, 165, 250, 0.6));
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.front  { transform: translateZ(100px); }
.back   { transform: translateZ(-100px) rotateY(180deg); }
.right  { transform: rotateY(90deg) translateZ(100px); }
.left   { transform: rotateY(-90deg) translateZ(100px); }
.top    { transform: rotateX(90deg) translateZ(100px); }
.bottom { transform: rotateX(-90deg) translateZ(100px); }

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.85rem;
    color: var(--grey-500);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 3px solid var(--grey-400);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 6px;
    height: 10px;
    background: var(--primary);
    border-radius: 3px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

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

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ===== SECTION COMMON STYLES ===== */
section {
    padding: 120px 0;
    position: relative;
}

.section-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        linear-gradient(var(--grey-300) 1px, transparent 1px),
        linear-gradient(90deg, var(--grey-300) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(96, 165, 250, 0.1));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: 20px auto;
    border-radius: 2px;
}

.section-description {
    font-size: 1.15rem;
    color: var(--grey-500);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text .lead {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--grey-800);
    margin-bottom: 30px;
    line-height: 1.5;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--grey-600);
    margin-bottom: 20px;
    line-height: 1.8;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.tag-item {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(96, 165, 250, 0.05));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 25px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--grey-50), var(--white));
    border-radius: 16px;
    border: 2px solid var(--grey-100);
    transition: all 0.4s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.stat h3 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat p {
    color: var(--grey-600);
    font-size: 1rem;
    font-weight: 600;
}

/* ===== TECH SHOWCASE ===== */
.tech-showcase {
    position: relative;
    height: 500px;
}

.code-window {
    background: var(--grey-900);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.code-header {
    background: #1f2937;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.window-title {
    margin-left: auto;
    color: var(--grey-400);
    font-size: 0.85rem;
}

.code-content {
    padding: 30px;
    color: var(--grey-300);
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
    max-height: 400px;
    overflow-y: auto;
}

.code-keyword { color: #c084fc; }
.code-class { color: #60a5fa; }
.code-variable { color: #34d399; }
.code-property { color: #fbbf24; }
.code-string { color: #f472b6; }
.code-function { color: #a78bfa; }

/* ===== TECH ORBIT ===== */
.tech-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.orbit-item {
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: orbit 20s infinite linear;
}

.orbit-1 { animation-delay: 0s; }
.orbit-2 { animation-delay: -5s; }
.orbit-3 { animation-delay: -10s; }
.orbit-4 { animation-delay: -15s; }

@keyframes orbit {
    from { transform: rotate(0deg) translateX(200px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(200px) rotate(-360deg); }
}

/* ===== EXPERIENCE/SKILLS SECTION ===== */
.experience {
    background: var(--grey-50);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.skill-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--grey-100);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.1) rotate(5deg);
}

.skill-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 15px;
}

.skill-card p {
    color: var(--grey-600);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ===== PROJECTS SECTION ===== */
.projects {
    background: var(--white);
    position: relative;
}

.projects-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 30px 30px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.project-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid var(--grey-100);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.project-card.featured {
    grid-column: span 2;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.project-image {
    height: 300px;
    background: linear-gradient(135deg, var(--grey-50), var(--grey-100));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-visual {
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.3;
    transition: all 0.4s ease;
}

.project-card:hover .project-visual {
    transform: scale(1.2) rotate(10deg);
    opacity: 0.5;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.overlay-btn {
    padding: 15px 30px;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.overlay-btn:hover {
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(251, 191, 36, 0.4);
}

.project-content {
    padding: 35px;
}

.project-category {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(96, 165, 250, 0.1));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.project-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 15px;
    line-height: 1.3;
}

.project-content p {
    color: var(--grey-600);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.project-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--grey-700);
    font-size: 0.95rem;
    font-weight: 500;
}

.feature-item i {
    color: var(--primary);
    font-size: 0.85rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tag {
    padding: 8px 16px;
    background: var(--grey-100);
    color: var(--grey-700);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.project-stats {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--grey-200);
}

.project-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--grey-600);
    font-size: 0.95rem;
    font-weight: 600;
}

.project-stats .stat i {
    color: var(--primary);
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.project-link.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
}

.project-link.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.project-link:not(.primary) {
    background: var(--grey-100);
    color: var(--grey-700);
}

.project-link:not(.primary):hover {
    background: var(--grey-200);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--grey-50);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.contact-text p {
    color: var(--grey-600);
    font-size: 1.05rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--grey-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 24px;
    border: 2px solid var(--grey-100);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid var(--grey-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--grey-50);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--grey-900);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--grey-400);
    font-size: 1.05rem;
}

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

.footer-links a {
    color: var(--grey-400);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--grey-500);
    font-size: 0.95rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .project-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .hamburger .bar {
        width: 25px;
        height: 3px;
        background: var(--grey-700);
        margin: 3px 0;
        transition: 0.3s;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        padding: 3rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero .container,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .hero-visual {
        height: 400px;
    }

    .cube {
        width: 150px;
        height: 150px;
    }

    .cube-face {
        width: 150px;
        height: 150px;
    }

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

    .tech-orbit {
        width: 300px;
        height: 300px;
    }

    .container {
        padding: 0 20px;
    }

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