/* ========================================
   PREMIUM PORTFOLIO — Design System
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
    --primary: #6366f1;
    --primary-rgb: 99, 102, 241;
    --secondary: #8b5cf6;
    --secondary-rgb: 139, 92, 246;
    --accent: #ec4899;
    --accent-rgb: 236, 72, 153;
    --emerald: #10b981;
    --amber: #f59e0b;

    --bg: #fafbff;
    --bg-secondary: #f0f2ff;
    --bg-card: rgba(255, 255, 255, 0.7);
    --text: #0f172a;
    --text-secondary: #64748b;
    --border: rgba(99, 102, 241, 0.12);
    --shadow: rgba(99, 102, 241, 0.08);
    --shadow-lg: rgba(99, 102, 241, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glow: rgba(99, 102, 241, 0.3);
}

[data-theme="dark"] {
    --bg: #050816;
    --bg-secondary: #0c1131;
    --bg-card: rgba(15, 23, 55, 0.6);
    --text: #e8eaff;
    --text-secondary: #8892b0;
    --border: rgba(99, 102, 241, 0.15);
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-lg: rgba(0, 0, 0, 0.5);
    --glass-bg: rgba(15, 23, 55, 0.5);
    --glass-border: rgba(99, 102, 241, 0.15);
    --glow: rgba(99, 102, 241, 0.25);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-secondary);
}

html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: var(--bg-secondary); }
html::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), var(--accent)); border-radius: 10px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    transition: background 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
    cursor: none;
}

::selection {
    background: rgba(var(--primary-rgb), 0.3);
    color: var(--text);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   PRELOADER
   ======================================== */
.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader-inner {
    text-align: center;
}
.preloader-ring {
    width: 60px; height: 60px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: preloaderSpin 0.8s linear infinite;
    margin: 0 auto 1.5rem;
}
.preloader-text {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
@keyframes preloaderSpin { to { transform: rotate(360deg); } }

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.cursor-dot {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99998;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}
.cursor-ring {
    width: 40px; height: 40px;
    border: 2px solid rgba(var(--primary-rgb), 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99997;
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor-ring.hovering {
    width: 60px; height: 60px;
    border-color: var(--accent);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled {
    box-shadow: 0 4px 30px var(--shadow-lg);
}
.navbar.hidden-nav {
    transform: translateY(-100%);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    letter-spacing: -0.5px;
    font-weight: 800;
    white-space: nowrap;
}
.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 1rem;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.28);
}
.logo-text {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}
.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--border);
    color: var(--text);
    width: 42px; height: 42px;
    border-radius: 12px;
    cursor: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    transform: rotate(20deg);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: none;
    padding: 5px;
    z-index: 1001;
}
.hamburger span {
    width: 25px; height: 2.5px;
    background: var(--text);
    border-radius: 5px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}
#particleCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}
.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 0;
    animation: orbFloat 8s ease-in-out infinite;
}
.hero-gradient-orb.orb1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.4), transparent);
    top: -100px; right: -150px;
}
.hero-gradient-orb.orb2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.3), transparent);
    bottom: -100px; left: -100px;
    animation-delay: -4s;
}
.hero-gradient-orb.orb3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.3), transparent);
    top: 30%; left: 60%;
    animation-delay: -2s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ===== HERO SPLIT LAYOUT ===== */
.hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: clamp(2rem, 5vw, 6rem);
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: calc(100vh - 180px);
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-self: start;
    text-align: left;
    max-width: 640px;
    padding-right: 1rem;
}

/* Availability badge */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--emerald);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
}
.availability-dot {
    width: 8px; height: 8px;
    background: var(--emerald);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

/* Hero Greeting */
.hero-greeting {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 0.25rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
    animation: fadeInUp 0.7s ease;
}
.accent-dot {
    color: var(--accent);
    font-size: 1.2em;
}
.hero-name {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}
.hero-name .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* Typing Effect */
.typing-wrapper {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    min-height: 2.5rem;
    animation: fadeInUp 1s ease;
}
.typing-text {
    font-weight: 500;
    color: var(--primary);
}
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1.4em;
    background: var(--accent);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: cursorBlink 1s step-end infinite;
}
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1.2s ease;
    flex-wrap: wrap;
}
.btn {
    padding: 0.875rem 2rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: none;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.5);
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.btn-primary:hover::after { transform: translateX(100%); }

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.4s ease;
}
.social-links a {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}
.social-links a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
}

/* Hero Service Quick Links */
.hero-services {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    animation: fadeInUp 1.6s ease;
}
.hero-service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}
.hero-service-item i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-radius: 10px;
    color: var(--primary);
    font-size: 0.9rem;
}
.hero-service-item:hover {
    color: var(--text);
    transform: translateX(5px);
}

/* ===== HERO RIGHT — LARGE IMAGE ===== */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: 100%;
}
.hero-image-wrapper {
    position: relative;
    width: min(100%, 480px);
    animation: fadeInUp 1s ease;
}
.hero-image-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.25), rgba(var(--accent-rgb), 0.15), transparent);
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
}
.hero-image-frame {
    position: relative;
    z-index: 1;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid var(--glass-border);
    box-shadow: 0 25px 60px var(--shadow-lg);
}
.hero-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    background: var(--bg-secondary);
}

/* Floating Tech Badges */
.hero-float-badge {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 8px 25px var(--shadow-lg);
    animation: badgeFloat 4s ease-in-out infinite;
}
.hero-float-badge i {
    color: var(--primary);
    font-size: 1rem;
}
.hero-float-badge.badge-1 {
    top: 8%;
    left: -10%;
    animation-delay: 0s;
}
.hero-float-badge.badge-2 {
    bottom: 15%;
    right: -5%;
    animation-delay: -1.5s;
}
.hero-float-badge.badge-3 {
    top: 50%;
    left: -15%;
    animation-delay: -3s;
}
@keyframes badgeFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 1;
    animation: fadeInUp 1.6s ease;
}
.scroll-indicator .scroll-mouse {
    width: 24px; height: 38px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-indicator .scroll-dot {
    width: 4px; height: 8px;
    background: var(--primary);
    border-radius: 4px;
    animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
}

/* ========================================
   SECTION STYLES (Shared)
   ======================================== */
section {
    padding: 6rem 0;
    position: relative;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
    padding: 0.4rem 1rem;
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: 50px;
    border: 1px solid rgba(var(--primary-rgb), 0.15);
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* About Split Layout */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-text-col p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}
.about-text-col p strong {
    color: var(--text);
}

/* About Stats Row (inline like the reference) */
.about-stats-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.about-stat {
    text-align: center;
}
.about-stat h3 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.15rem;
}
.about-stat p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.about-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* About Image Column */
.about-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}
.about-image-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.2), rgba(var(--accent-rgb), 0.1), transparent);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}
.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 24px;
    border: 2px solid var(--glass-border);
    box-shadow: 0 20px 50px var(--shadow-lg);
    position: relative;
    z-index: 1;
    background: var(--bg);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: none;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.3);
}
.service-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--accent-rgb), 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: scale(1.1) rotate(-5deg);
}
.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--border);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: var(--text);
    border-radius: 50px;
    cursor: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.filter-btn.active, .filter-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}
.project-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: none;
}
.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.3);
}
.project-image {
    position: relative;
    overflow: hidden;
}
.project-image img {
    width: 100%; height: 240px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover .project-image img {
    transform: scale(1.1);
}
.project-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.9), rgba(var(--accent-rgb), 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-link {
    width: 50px; height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.project-link:hover {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.3);
}
.project-status {
    position: absolute;
    top: 1rem; right: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 1;
    backdrop-filter: blur(10px);
}
.project-status.live {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.project-status.completed {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
}
.project-info {
    padding: 1.75rem;
}
.project-info h3 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.15rem;
}
.project-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.93rem;
    line-height: 1.6;
}
.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.project-tags span {
    padding: 0.3rem 0.8rem;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills {
    background: var(--bg-secondary);
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.skill-category {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.4s ease;
}
.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.3);
}
.skill-category h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.skill-category h3 i {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--accent-rgb), 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--primary);
    font-size: 0.9rem;
}
.skill-item {
    margin-bottom: 1.5rem;
}
.skill-item:last-child { margin-bottom: 0; }
.skill-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.skill-item span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}
.skill-percent {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}
.skill-bar {
    height: 8px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.skill-progress::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 20px; height: 100%;
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
}

/* ========================================
   EXPERIENCE TIMELINE
   ======================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent), transparent);
    border-radius: 3px;
}
.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 3rem 3rem;
}
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }
.timeline-item::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    width: 16px; height: 16px;
    background: var(--bg);
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15);
}
.timeline-item:nth-child(odd)::before { right: -8px; }
.timeline-item:nth-child(even)::before { left: -8px; }
.timeline-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.4s ease;
}
.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--shadow-lg);
    border-color: rgba(var(--primary-rgb), 0.3);
}
.timeline-date {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}
.timeline-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.timeline-card h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.timeline-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
    background: var(--bg-secondary);
    overflow: hidden;
}
.testimonials-slider {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
}
.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
    min-width: 100%;
    padding: 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    text-align: center;
}
.testimonial-stars {
    margin-bottom: 1.5rem;
    color: var(--amber);
    font-size: 1.1rem;
    letter-spacing: 3px;
}
.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
}
.testimonial-text::before {
    content: '\201C';
    font-size: 4rem;
    color: rgba(var(--primary-rgb), 0.15);
    position: absolute;
    top: -1.5rem; left: 50%;
    transform: translateX(-50%);
    font-family: serif;
}
.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.testimonial-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}
.testimonial-author h4 { font-size: 1rem; font-weight: 700; }
.testimonial-author span { font-size: 0.85rem; color: var(--text-secondary); }

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.testimonial-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: none;
    transition: all 0.3s ease;
}
.testimonial-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact-info h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    transition: all 0.3s ease;
}
.contact-item:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateX(5px);
}
.contact-item i {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--accent-rgb), 0.1));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1rem;
    flex-shrink: 0;
}
.contact-item span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-group {
    position: relative;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    position: relative;
}
.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
}
.cta-banner .btn {
    background: white;
    color: var(--primary);
    font-weight: 700;
    position: relative;
    border: none;
}
.cta-banner .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}
.footer-about .logo { display: inline-flex; margin-bottom: 1rem; }
.footer-about p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-col ul a:hover { color: var(--primary); transform: translateX(3px); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}
.footer-social {
    display: flex;
    gap: 0.75rem;
}
.footer-social a {
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ========================================
   SCROLL-TO-TOP
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: none;
    cursor: none;
    font-size: 1.1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.5);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* Toast animation */
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
    z-index: 10001;
    transition: width 0.1s linear;
}

/* ========================================
   BACK TO TOP — PROGRESS RING
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 50px; height: 50px;
    border: none;
    background: transparent;
    cursor: none;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-top svg {
    width: 50px; height: 50px;
    transform: rotate(-90deg);
}
.scroll-top .progress-ring-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 3;
}
.scroll-top .progress-ring-fill {
    fill: none;
    stroke: url(#scrollGradient);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 126;
    stroke-dashoffset: 126;
    transition: stroke-dashoffset 0.1s linear;
}
.scroll-top .scroll-top-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.scroll-top:hover .scroll-top-icon { color: var(--accent); }

/* ========================================
   3D TILT CARDS
   ======================================== */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}
.tilt-card .tilt-inner {
    transition: transform 0.1s ease;
}

/* ========================================
   MAGNETIC BUTTON
   ======================================== */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* ========================================
   TEXT REVEAL
   ======================================== */
.text-reveal {
    overflow: hidden;
}
.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease;
}
.text-reveal.visible span {
    transform: translateY(0);
    opacity: 1;
}

/* ========================================
   WAVE SECTION DIVIDER
   ======================================== */
.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -1px;
}
.wave-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}
.wave-divider svg path {
    fill: var(--bg-secondary);
}
.wave-divider.flip svg path {
    fill: var(--bg);
}

/* ========================================
   PARALLAX
   ======================================== */
.parallax-img {
    transition: transform 0.1s linear;
    will-change: transform;
}

.image-loading {
    opacity: 0.88;
    filter: saturate(0.95);
}

/* ========================================
   TECH ORBIT
   ======================================== */
.tech-orbit {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    overflow: visible;
}
.orbit-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 90px; height: 90px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: white;
    z-index: 2;
    box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.4);
}
.orbit-ring {
    position: absolute;
    border: 1px dashed rgba(var(--primary-rgb), 0.15);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.orbit-ring.ring-1 { width: 200px; height: 200px; }
.orbit-ring.ring-2 { width: 300px; height: 300px; }
.orbit-ring.ring-3 { width: 400px; height: 400px; }

.tech-icon {
    position: absolute;
    width: 48px; height: 48px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 3;
}
.tech-icon:hover {
    transform: scale(1.2);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
}
.tech-icon .tech-tooltip {
    position: absolute;
    bottom: -28px;
    background: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.tech-icon:hover .tech-tooltip { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .tilt-card,
    .magnetic-btn,
    .parallax-img,
    .tech-icon,
    .text-reveal span {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}

/* ========================================
   GITHUB STATS
   ======================================== */
.github-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}
.github-stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 18px;
    text-align: center;
    transition: all 0.4s ease;
}
.github-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 10px 30px var(--shadow-lg);
}
.github-stat-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.github-stat-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.github-stat-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========================================
   PAGE TRANSITION
   ======================================== */
.page-transition {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg);
    z-index: 99998;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.page-transition.active {
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .hero-left { align-items: center; }
    .hero-right { order: -1; }
    .hero-image-wrapper { max-width: 350px; }
    .hero-services { flex-direction: row; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
    .hero-float-badge.badge-1 { left: 0; }
    .hero-float-badge.badge-3 { left: 0; }
    .social-links { justify-content: center; }
    .cta-buttons { justify-content: center; }
    .about-split { grid-template-columns: 1fr; gap: 2rem; }
    .about-text-col { order: 2; }
    .about-image-col { order: 1; }
    .about-image-wrapper { max-width: 350px; }
    .about-stats-row { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .timeline::before { left: 30px; }
    .timeline-item { width: 100%; left: 0 !important; padding-left: 60px; padding-right: 0; text-align: left !important; }
    .timeline-item::before { left: 22px !important; right: auto !important; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: var(--bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        z-index: 999;
    }
    .nav-links.active { display: flex; }
    .nav-links a { font-size: 1.25rem; padding: 0.75rem 2rem; }
    .hamburger { display: flex; }

    .hero-greeting { font-size: 2.5rem; }
    .hero-name { font-size: 1.5rem; }
    .typing-wrapper { font-size: 1.1rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .hero-services { flex-direction: column; align-items: center; }
    .hero-float-badge { display: none; }
    .contact-content { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .contact-form { padding: 1.5rem; }

    .scroll-indicator { display: none; }

    /* Disable custom cursor on mobile */
    body { cursor: auto; }
    .cursor-dot, .cursor-ring { display: none; }
    .btn, .filter-btn, .theme-toggle, .hamburger, .service-card, .project-card, .testimonial-dot, .scroll-top { cursor: pointer; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    section { padding: 4rem 0; }
    .about-stats-row { gap: 1rem; }
    .about-stat h3 { font-size: 1.6rem; }
    .hero-image-wrapper { max-width: 280px; }
}

