/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
   :root {
    /* Color Palette - Deep Space & Royal Purple */
    --bg-main: #050507;
    --bg-secondary: #0a0a0f;
    --bg-tertiary: #11111a;
    
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --primary-dark: #6d28d9;
    
    --secondary: #3b82f6;
    --secondary-light: #60a5fa;
    
    --accent: #ec4899;
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-highlight: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions & Shadows */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Custom cursor */
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-secondary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   UTILITY CLASSES & REUSABLE COMPONENTS
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

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

.mt-4 {
    margin-top: 2rem;
}

/* Gradients */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* Glassmorphism */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-normal);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-normal);
}

.glass-card:hover, .glass-panel:hover {
    border-color: var(--glass-highlight);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    opacity: 0;
    z-index: -1;
    transition: var(--transition-normal);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: var(--glass-highlight);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary-light);
    color: #000;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Section Headers */
.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-divider {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-divider.center {
    margin: 0 auto;
}

/* Tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.tag {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.tag:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-light);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, opacity 0.2s;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-light);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Hover effects for cursor */
a:hover ~ .cursor-outline,
button:hover ~ .cursor-outline,
.nav-link:hover ~ .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(139, 92, 246, 0.1);
}

a:hover ~ .cursor-dot,
button:hover ~ .cursor-dot {
    width: 0;
    height: 0;
    opacity: 0;
}

/* ==========================================================================
   AMBIENT BACKGROUND EFFECTS
   ========================================================================== */
.ambient-background {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
    background-color: var(--bg-main);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    width: 500px; height: 500px;
    background: var(--primary-dark);
    top: -10%; left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px; height: 400px;
    background: var(--secondary);
    bottom: -10%; right: -5%;
    animation-delay: -5s;
    opacity: 0.2;
}

.orb-3 {
    width: 300px; height: 300px;
    background: var(--accent);
    top: 40%; left: 60%;
    animation-delay: -10s;
    opacity: 0.15;
}

.noise-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.03;
    mix-blend-mode: overlay;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 5%) scale(1.1); }
    100% { transform: translate(-5%, 10%) scale(0.9); }
}

/* ==========================================================================
   SCROLL PROGRESS
   ========================================================================== */
.scroll-progress-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 3px;
    background: transparent;
    z-index: 1001;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary-light));
    box-shadow: 0 0 10px var(--primary);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    position: relative;
}

.brand-dot {
    color: var(--primary-light);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    color: var(--text-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0; width: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-normal);
    border-radius: 2px;
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-toggle .bar {
    width: 30px; height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.status-dot {
    width: 8px; height: 8px;
    background-color: #10b981; /* Green */
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    max-width: 500px;
}

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

.stat-value {
    font-size: 1.5rem;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 26px; height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px; height: 8px;
    background-color: var(--primary-light);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.lead-text {
    font-size: 1.4rem !important;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

.panel-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.styled-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.styled-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
}

.styled-list i {
    font-size: 1.2rem;
    background: rgba(139, 92, 246, 0.1);
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0; left: 24px;
    height: 100%; width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), transparent);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 0; left: 16px;
    width: 18px; height: 18px;
    background: var(--bg-main);
    border: 3px solid var(--primary-light);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px var(--primary);
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
    background: var(--primary-light);
    transform: scale(1.2);
}

.timeline-date {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-light);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-role {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.timeline-company {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-type {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.timeline-responsibilities {
    list-style-type: disc;
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.timeline-responsibilities li {
    margin-bottom: 0.5rem;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.2rem;
}

.timeline-skills span {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

/* ==========================================================================
   FEATURED PROJECT
   ========================================================================== */
.featured-project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 0;
    overflow: hidden;
}

.project-content {
    padding: 3rem;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.project-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.project-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.project-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.detail-block h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.detail-block ul {
    list-style-type: none;
}

.detail-block ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.detail-block ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

.project-objective {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--secondary);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem;
}

.project-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.project-skills span {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Abstract Visual for Project */
.project-visual {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.1));
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abstract-visual {
    position: relative;
    width: 300px; height: 300px;
}

.abstract-visual .circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.abstract-visual .c1 { width: 100%; height: 100%; animation: spin 20s linear infinite; }
.abstract-visual .c2 { width: 70%; height: 70%; border-color: rgba(139, 92, 246, 0.3); animation: spin 15s linear infinite reverse; border-top-color: transparent; border-bottom-color: transparent; }

.data-bars {
    position: absolute;
    bottom: 20%; left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
}

.data-bars .bar {
    width: 15px;
    background: linear-gradient(to top, var(--primary), var(--secondary));
    border-radius: 4px 4px 0 0;
    animation: pulse-height 2s infinite alternate;
}

.b1 { height: 40%; animation-delay: 0s; }
.b2 { height: 70%; animation-delay: 0.2s; }
.b3 { height: 100%; animation-delay: 0.4s; }
.b4 { height: 50%; animation-delay: 0.6s; }

.visual-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--text-primary);
    text-shadow: 0 0 20px var(--primary);
}

@keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes pulse-height { 0% { transform: scaleY(0.8); } 100% { transform: scaleY(1.1); } }

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.skill-category {
    position: relative;
    overflow: hidden;
}

.category-icon {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.category-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   EDUCATION & LANGUAGES
   ========================================================================== */
.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.edu-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.edu-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
}

.edu-icon {
    font-size: 1.5rem;
    color: var(--secondary-light);
    background: rgba(59, 130, 246, 0.1);
    min-width: 50px; height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.edu-date {
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.edu-degree {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.edu-school {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Language Bars */
.languages-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lang-item {
    width: 100%;
}

.lang-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.lang-name {
    font-weight: 500;
    color: var(--text-primary);
}

.lang-level {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.lang-bar-bg {
    width: 100%;
    height: 6px;
    background: var(--glass-border);
    border-radius: 3px;
    overflow: hidden;
}

.lang-bar-fill {
    height: 100%;
    width: 0; /* Animated via JS */
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    position: relative;
}

.lang-bar-fill::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ==========================================================================
   CONTACT & FOOTER
   ========================================================================== */
.contact-card {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.contact-item .icon-wrap {
    width: 60px; height: 60px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-light);
    transition: var(--transition-fast);
}

.contact-item:hover .icon-wrap {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

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

.contact-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--bg-tertiary);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.footer-logo h2 {
    font-size: 2rem;
}

.footer-logo span {
    color: var(--primary-light);
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

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

.social-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-icon:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.back-to-top {
    width: 40px; height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.back-to-top:hover {
    background: var(--primary);
    color: #fff;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .project-details-grid {
        grid-template-columns: 1fr;
    }
    
    .dual-grid {
        gap: 2rem;
    }
}

@media (max-width: 991px) {
    .about-grid, .featured-project-card, .dual-grid {
        grid-template-columns: 1fr;
    }
    
    .project-visual {
        min-height: 300px;
        order: -1;
    }
    
    .project-content {
        padding: 2rem;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .section-padding { padding: 4rem 0; }
    
    /* Navbar Mobile */
    .nav-links {
        position: fixed;
        top: 0; left: -100%;
        width: 80%; height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-normal);
        border-right: 1px solid var(--glass-border);
    }
    
    .nav-links.active { left: 0; }
    
    .mobile-menu-toggle { display: flex; }
    
    .mobile-menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-cta { display: none; }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .cursor-dot, .cursor-outline { display: none; } /* Disable custom cursor on mobile */
    * { cursor: auto !important; }
}
