/* ============================================
   NITIN BRIJWASI - PORTFOLIO WEBSITE
   Premium Dark Theme with Cyan Accents
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #151515;
    
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    
    --accent-primary: #00D4AA;
    --accent-secondary: #00B891;
    --accent-glow: rgba(0, 212, 170, 0.3);
    
    --border-color: #2a2a2a;
    --border-light: #333333;
    
    /* Gradients */
    --gradient-accent: linear-gradient(135deg, #00D4AA 0%, #00B891 50%, #00D4AA 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
    --gradient-card: linear-gradient(145deg, #1a1a1a 0%, #151515 100%);
    
    /* Typography */
    --font-heading: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --section-padding: 50px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-secondary);
    -webkit-overflow-scrolling: touch;
}

/* iOS Safari fixes */
@supports (-webkit-touch-callout: none) {
    html {
        scroll-behavior: auto;
    }
    
    .hero {
        min-height: -webkit-fill-available;
    }
}

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

html::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

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

/* ============================================
   LOADER
   ============================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    margin-bottom: 30px;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 8px;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.loader-progress {
    width: 0;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 3px;
    animation: loading 2s ease-in-out forwards;
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

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

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.logo-text-secondary {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    color: var(--accent-primary);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
}

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

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

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

.nav-cta {
    background: var(--gradient-accent);
    color: var(--bg-primary) !important;
    padding: 12px 24px !important;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

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

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: var(--transition-normal);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 22px;
        padding: 10px 0;
    }
    
    .nav-link::after {
        bottom: 5px;
    }
    
    .nav-cta {
        margin-top: 20px;
        padding: 14px 30px !important;
        font-size: 16px;
    }
}

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

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

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 50%, rgba(0, 212, 170, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(0, 212, 170, 0.05) 0%, transparent 40%),
                radial-gradient(ellipse at 50% 100%, rgba(0, 212, 170, 0.03) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.5;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Creative Design Elements Background */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(0, 212, 170, 0.1);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 8%;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(0, 212, 170, 0.08);
    transform: rotate(45deg);
    animation: float-shape 8s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* Design Tool Icons/Shapes */
.design-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.design-element {
    position: absolute;
    opacity: 0.15;
    animation: float-element 15s ease-in-out infinite;
}

.design-element:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.design-element:nth-child(2) {
    top: 25%;
    right: 12%;
    animation-delay: -3s;
}

.design-element:nth-child(3) {
    bottom: 30%;
    left: 15%;
    animation-delay: -6s;
}

.design-element:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: -9s;
}

.design-element:nth-child(5) {
    top: 60%;
    left: 5%;
    animation-delay: -12s;
}

.design-element:nth-child(6) {
    top: 40%;
    right: 5%;
    animation-delay: -4s;
}

@keyframes float-element {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
    50% { transform: translateY(-30px) rotate(10deg); opacity: 0.25; }
}

/* Pen Tool Path */
.pen-path {
    position: absolute;
    top: 20%;
    right: 15%;
    width: 150px;
    height: 100px;
    opacity: 0.1;
}

.pen-path svg {
    width: 100%;
    height: 100%;
}

.pen-path path {
    stroke: var(--accent-primary);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: draw-path 4s ease-in-out infinite;
}

@keyframes draw-path {
    0% { stroke-dashoffset: 300; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -300; }
}

/* Color Palette */
.color-palette {
    position: absolute;
    bottom: 25%;
    left: 8%;
    display: flex;
    gap: 8px;
    opacity: 0.2;
    animation: float-element 12s ease-in-out infinite;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 4px;
}

.color-swatch:nth-child(1) { background: #00D4AA; }
.color-swatch:nth-child(2) { background: #f5f5f5; }
.color-swatch:nth-child(3) { background: #1a1a1a; border: 1px solid rgba(255,255,255,0.2); }
.color-swatch:nth-child(4) { background: #00B891; }

/* Layers Stack */
.layers-stack {
    position: absolute;
    top: 35%;
    left: 3%;
    opacity: 0.12;
    animation: float-element 10s ease-in-out infinite reverse;
}

.layer {
    width: 60px;
    height: 40px;
    border: 2px solid var(--accent-primary);
    border-radius: 4px;
    margin-bottom: -30px;
    background: rgba(0, 212, 170, 0.05);
}

.layer:nth-child(2) { margin-left: 10px; }
.layer:nth-child(3) { margin-left: 20px; }

/* Video Timeline */
.video-timeline {
    position: absolute;
    bottom: 35%;
    right: 5%;
    width: 180px;
    height: 50px;
    opacity: 0.12;
    animation: float-element 14s ease-in-out infinite;
}

.timeline-track {
    height: 20px;
    background: rgba(0, 212, 170, 0.3);
    border-radius: 4px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.timeline-track::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 30%;
    background: var(--accent-primary);
    border-radius: 4px;
    animation: timeline-progress 3s ease-in-out infinite;
}

.timeline-track:nth-child(2)::after {
    width: 50%;
    animation-delay: -1s;
}

.timeline-track:nth-child(3)::after {
    width: 40%;
    animation-delay: -2s;
}

@keyframes timeline-progress {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Bezier Curve */
.bezier-curve {
    position: absolute;
    top: 55%;
    right: 25%;
    width: 120px;
    height: 80px;
    opacity: 0.15;
    animation: float-element 12s ease-in-out infinite;
    animation-delay: -5s;
}

.bezier-curve svg {
    width: 100%;
    height: 100%;
}

/* Grid Overlay for Design Feel */
.design-grid {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 150px;
    height: 150px;
    opacity: 0.05;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 2px;
}

.grid-cell {
    border: 1px solid var(--accent-primary);
}

.grid-cell:nth-child(odd) {
    background: rgba(0, 212, 170, 0.1);
}

/* Additional Floating Shapes */
.hero-bg .floating-triangle {
    position: absolute;
    top: 70%;
    left: 20%;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid rgba(0, 212, 170, 0.08);
    animation: float-element 18s ease-in-out infinite;
    animation-delay: -7s;
}

.hero-bg .floating-circle {
    position: absolute;
    top: 15%;
    right: 30%;
    width: 80px;
    height: 80px;
    border: 2px dashed rgba(0, 212, 170, 0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.hero-bg .floating-square {
    position: absolute;
    bottom: 40%;
    right: 3%;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(0, 212, 170, 0.1);
    animation: float-element 14s ease-in-out infinite reverse;
    animation-delay: -3s;
}

.hero-bg .gradient-blob {
    position: absolute;
    top: 30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: blob-pulse 8s ease-in-out infinite;
}

.hero-bg .gradient-blob-2 {
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: blob-pulse 10s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes blob-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Cursor Tool */
.hero-bg .cursor-tool {
    position: absolute;
    top: 45%;
    right: 35%;
    opacity: 0.12;
    animation: float-element 16s ease-in-out infinite;
    animation-delay: -8s;
}

/* Artboard Frame */
.hero-bg .artboard-frame {
    position: absolute;
    bottom: 15%;
    left: 25%;
    width: 100px;
    height: 70px;
    border: 2px solid rgba(0, 212, 170, 0.1);
    border-radius: 4px;
    opacity: 0.15;
    animation: float-element 13s ease-in-out infinite;
    animation-delay: -2s;
}

.hero-bg .artboard-frame::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dashed rgba(0, 212, 170, 0.2);
}

/* Brush Stroke */
.hero-bg .brush-stroke {
    position: absolute;
    top: 75%;
    right: 40%;
    width: 100px;
    height: 20px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.15), transparent);
    border-radius: 10px;
    transform: rotate(-15deg);
    animation: float-element 11s ease-in-out infinite;
    animation-delay: -6s;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 50px;
    font-size: 13px;
    color: var(--accent-primary);
    margin-bottom: 30px;
    animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% { border-color: rgba(0, 212, 170, 0.3); }
    50% { border-color: rgba(0, 212, 170, 0.6); }
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(48px, 12vw, 120px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.title-line {
    display: block;
    overflow: visible;
}

.title-word {
    display: inline-block;
    animation: slideUp 1s ease forwards;
    opacity: 0;
    transform: translateY(100%);
    padding-right: 10px;
}

.title-line:nth-child(2) .title-word {
    animation-delay: 0.2s;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-right: 15px;
}

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

.hero-roles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.role-item {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

.role-divider {
    color: var(--accent-primary);
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

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

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--accent-glow);
}

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

.btn-primary:hover svg {
    transform: translate(3px, -3px);
}

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

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

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

.btn-outline:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.btn-small {
    padding: 12px 24px;
    font-size: 14px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

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

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

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

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--border-color);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    width: 3px;
    height: 10px;
    background: var(--accent-primary);
    position: absolute;
    left: -1px;
    top: 0;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: 0; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Hero Socials */
.hero-socials {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

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

@media (max-width: 1024px) {
    .hero-socials {
        display: none;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    /* Hide design elements on tablet/mobile for cleaner look */
    .design-elements,
    .pen-path,
    .color-palette,
    .layers-stack,
    .video-timeline,
    .bezier-curve,
    .floating-triangle,
    .floating-circle,
    .floating-square,
    .cursor-tool,
    .artboard-frame,
    .brush-stroke {
        display: none;
    }
    
    .hero-bg::before,
    .hero-bg::after {
        display: none;
    }
    
    /* Keep gradient blobs but smaller */
    .gradient-blob,
    .gradient-blob-2 {
        width: 200px;
        height: 200px;
        opacity: 0.5;
    }
    
    /* Hide service background decorations on mobile */
    .service-bg-decoration {
        opacity: 0.5;
    }
    
    .service-bg-svg {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .gradient-blob,
    .gradient-blob-2 {
        width: 150px;
        height: 150px;
        opacity: 0.3;
    }
    
    .service-bg-decoration {
        display: none;
    }
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: var(--section-padding) 0;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

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

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    aspect-ratio: 4/5;
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: grayscale(0%);
}

.image-frame:hover .profile-photo {
    transform: scale(1.03);
}

/* Subtle golden overlay on hover */
.image-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 212, 170, 0.05) 0%,
        transparent 50%,
        rgba(0, 212, 170, 0.08) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.image-frame:hover::after {
    opacity: 1;
}

/* Fallback placeholder styles (keep for admin/loading states) */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.placeholder-initials {
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.placeholder-text {
    font-size: 14px;
    color: var(--text-muted);
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px var(--accent-glow);
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--bg-primary);
    line-height: 1;
}

.exp-text {
    font-size: 12px;
    color: var(--bg-primary);
    text-align: center;
    line-height: 1.3;
}

.about-content {
    padding-left: 20px;
}

.about-heading {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.about-heading .highlight {
    color: var(--accent-primary);
}

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

.about-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 35px 0;
    padding: 25px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.info-value.available {
    color: #4ade80;
}

.about-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-content {
        padding-left: 0;
    }
}

@media (max-width: 600px) {
    .about-info {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    padding: 40px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
    z-index: 2;
}

/* Service card background decoration */
.service-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    opacity: 0.03;
    transition: var(--transition-normal);
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 0.08;
    transform: scale(1.1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

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

.service-card.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(145deg, rgba(0, 212, 170, 0.1) 0%, var(--bg-card) 100%);
}

/* ===== INDIVIDUAL SERVICE BACKGROUNDS ===== */

/* 1. Graphic Design - Color swatches, shapes, pen tool path */
.service-card:nth-child(1) {
    background: 
        linear-gradient(145deg, var(--bg-card) 0%, #1a1a1a 100%);
}

.service-card:nth-child(1)::after {
    background: 
        radial-gradient(circle at 80% 80%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 60% 90%, rgba(255, 100, 100, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 90% 70%, rgba(100, 200, 255, 0.08) 0%, transparent 30%);
    width: 250px;
    height: 250px;
}

.service-card:nth-child(1) .service-bg-element {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 120px;
    height: 80px;
    opacity: 0.1;
    transition: var(--transition-normal);
}

.service-card:nth-child(1):hover .service-bg-element {
    opacity: 0.2;
}

/* 2. Motion Design (Featured) - Film frames, motion lines */
.service-card:nth-child(2) {
    background: 
        linear-gradient(145deg, rgba(0, 212, 170, 0.08) 0%, var(--bg-card) 50%, #1a1a1a 100%);
}

.service-card:nth-child(2)::after {
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 15px,
            rgba(0, 212, 170, 0.1) 15px,
            rgba(0, 212, 170, 0.1) 17px
        );
    width: 300px;
    height: 150px;
    bottom: 30px;
    right: 10px;
    border-radius: 8px;
}

/* 3. Video Editing - Timeline tracks, playhead */
.service-card:nth-child(3) {
    background: 
        linear-gradient(145deg, var(--bg-card) 0%, #1a1a1a 100%);
}

.service-card:nth-child(3)::after {
    width: 280px;
    height: 100px;
    bottom: 25px;
    right: 15px;
    background: 
        linear-gradient(180deg, 
            transparent 0%, 
            transparent 20%,
            rgba(0, 212, 170, 0.12) 20%,
            rgba(0, 212, 170, 0.12) 35%,
            transparent 35%,
            transparent 45%,
            rgba(100, 180, 255, 0.08) 45%,
            rgba(100, 180, 255, 0.08) 60%,
            transparent 60%,
            transparent 70%,
            rgba(120, 220, 120, 0.08) 70%,
            rgba(120, 220, 120, 0.08) 85%,
            transparent 85%
        );
    border-radius: 4px;
}

/* 4. 3D Visualization - Wireframe cube, depth layers */
.service-card:nth-child(4) {
    background: 
        linear-gradient(145deg, var(--bg-card) 0%, #1a1a1a 100%);
}

.service-card:nth-child(4)::after {
    width: 180px;
    height: 180px;
    bottom: 10px;
    right: 10px;
    background: none;
    border: 2px solid rgba(0, 212, 170, 0.1);
    transform: perspective(200px) rotateX(20deg) rotateY(-20deg);
    box-shadow: 
        inset 60px 0 0 rgba(0, 212, 170, 0.05),
        inset 0 60px 0 rgba(0, 212, 170, 0.03);
}

/* 5. Brand Strategy - Concentric circles, target */
.service-card:nth-child(5) {
    background: 
        linear-gradient(145deg, var(--bg-card) 0%, #1a1a1a 100%);
}

.service-card:nth-child(5)::after {
    width: 200px;
    height: 200px;
    bottom: 0;
    right: 0;
    background: 
        radial-gradient(circle, transparent 20%, rgba(0, 212, 170, 0.08) 20%, rgba(0, 212, 170, 0.08) 25%, transparent 25%),
        radial-gradient(circle, transparent 40%, rgba(0, 212, 170, 0.06) 40%, rgba(0, 212, 170, 0.06) 45%, transparent 45%),
        radial-gradient(circle, transparent 60%, rgba(0, 212, 170, 0.04) 60%, rgba(0, 212, 170, 0.04) 65%, transparent 65%),
        radial-gradient(circle, transparent 80%, rgba(0, 212, 170, 0.02) 80%, rgba(0, 212, 170, 0.02) 85%, transparent 85%);
}

/* 6. UI/UX Design - Grid layout, interface elements */
.service-card:nth-child(6) {
    background: 
        linear-gradient(145deg, var(--bg-card) 0%, #1a1a1a 100%);
}

.service-card:nth-child(6)::after {
    width: 180px;
    height: 140px;
    bottom: 20px;
    right: 20px;
    background: 
        linear-gradient(90deg, rgba(0, 212, 170, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(0, 212, 170, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 170, 0.08);
}

/* Service Background Decoration SVG */
.service-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    transition: var(--transition-slow);
}

.service-bg-svg {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 220px;
    height: 220px;
    transition: var(--transition-slow);
}

.service-card:hover .service-bg-decoration {
    transform: scale(1.05);
}

.service-card:hover .service-bg-svg {
    transform: translate(-5px, -5px);
}

.service-card:hover .service-bg-svg rect,
.service-card:hover .service-bg-svg circle,
.service-card:hover .service-bg-svg line,
.service-card:hover .service-bg-svg path,
.service-card:hover .service-bg-svg polygon {
    opacity: 1;
}

/* Glow effect on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
    z-index: 2;
}

/* Add ambient glow on hover */
.service-card:hover {
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(0, 212, 170, 0.08);
}

/* Ensure content stays above background */
.service-icon,
.service-title,
.service-description,
.service-features,
.service-badge {
    position: relative;
    z-index: 1;
}

/* Animated elements in service cards */
.service-bg-svg rect,
.service-bg-svg circle,
.service-bg-svg line,
.service-bg-svg path,
.service-bg-svg polygon {
    transition: all 0.4s ease;
}

/* Specific animations for each service type */

/* 1. Graphic Design - Subtle color pulse */
.service-card:nth-child(1) .service-bg-svg rect:first-of-type {
    animation: colorPulse 3s ease-in-out infinite;
}

@keyframes colorPulse {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.25; }
}

/* 2. Motion Design - Motion line animation */
.service-card:nth-child(2) .service-bg-svg line {
    animation: motionLine 2s ease-in-out infinite;
}

@keyframes motionLine {
    0%, 100% { transform: translateX(0); opacity: 0.2; }
    50% { transform: translateX(-5px); opacity: 0.3; }
}

/* 3. Video Editing - Playhead animation */
.service-card:nth-child(3) .service-bg-svg line:last-of-type {
    animation: playhead 3s linear infinite;
}

@keyframes playhead {
    0% { transform: translateX(0); }
    100% { transform: translateX(30px); }
}

/* 4. 3D Visualization - Rotate cube subtly */
.service-card:nth-child(4) .service-bg-svg g {
    animation: rotateCube 10s ease-in-out infinite;
    transform-origin: 145px 155px;
}

@keyframes rotateCube {
    0%, 100% { transform: translate(110px, 120px) rotate(0deg); }
    50% { transform: translate(110px, 120px) rotate(5deg); }
}

/* 5. Brand Strategy - Target pulse */
.service-card:nth-child(5) .service-bg-svg circle:last-of-type {
    animation: targetPulse 2s ease-in-out infinite;
}

@keyframes targetPulse {
    0%, 100% { r: 6; opacity: 0.2; }
    50% { r: 8; opacity: 0.35; }
}

/* 6. UI/UX - Button hover effect */
.service-card:nth-child(6) .service-bg-svg rect:last-of-type {
    animation: buttonHover 2.5s ease-in-out infinite;
}

@keyframes buttonHover {
    0%, 100% { opacity: 0.12; }
    50% { opacity: 0.2; }
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    font-size: 11px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-primary);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

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

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    font-size: 14px;
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px;
    }
}

/* ============================================
   EXPERIENCE SECTION
   ============================================ */
.experience {
    background: var(--bg-primary);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    padding-bottom: 50px;
}

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

.timeline-marker {
    position: absolute;
    left: -8px;
    top: 0;
}

.marker-dot {
    width: 18px;
    height: 18px;
    background: var(--bg-primary);
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    display: block;
    position: relative;
    z-index: 2;
}

.timeline-item:first-child .marker-dot {
    background: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.timeline-content {
    padding: 30px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.timeline-content:hover {
    border-color: rgba(0, 212, 170, 0.3);
    transform: translateX(10px);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent-primary);
}

.timeline-badge {
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-badge.current {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.timeline-badge.international {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-company {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.timeline-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.tag {
    padding: 6px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Education */
.education {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.education-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.education-title svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-primary);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.education-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.education-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 8px;
    }
    
    .timeline-marker {
        left: 0;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
}

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

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-flow: dense;
    align-items: start;
    gap: 24px;
    margin-bottom: 50px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    grid-column: span 4;
}

.portfolio-item.featured-item {
    grid-column: span 8;
}

.portfolio-item[data-size="landscape"] { grid-column: span 4; }
.portfolio-item[data-size="square"]    { grid-column: span 4; }
.portfolio-item[data-size="portrait"]  { grid-column: span 3; }
.portfolio-item[data-size="ultrawide"] { grid-column: span 8; }

.portfolio-image {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--bg-card);
    overflow: hidden;
}

.portfolio-item[data-size="landscape"] .portfolio-image  { aspect-ratio: 16/9; }
.portfolio-item[data-size="square"] .portfolio-image     { aspect-ratio: 1/1; }
.portfolio-item[data-size="portrait"] .portfolio-image   { aspect-ratio: 9/16; }
.portfolio-item[data-size="ultrawide"] .portfolio-image  { aspect-ratio: 21/9; }
.portfolio-item.featured-item .portfolio-image           { aspect-ratio: 21/9; }

/* Video play badge */
.video-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--transition-normal);
    pointer-events: none;
}

.video-play-badge svg {
    width: 24px;
    height: 24px;
    margin-left: 3px;
}

.portfolio-image:hover .video-play-badge {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translate(-50%, -50%) scale(1.15);
}

.image-placeholder-portfolio {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border-color);
}

.image-placeholder-portfolio span {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-muted);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: var(--transition-normal);
    pointer-events: none;
}

.portfolio-image:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    transform: translateY(8px);
    transition: var(--transition-normal);
}

.portfolio-image:hover .overlay-title {
    transform: translateY(0);
}

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

.portfolio-cta p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 20px;
    }
    
    .portfolio-item { grid-column: span 6; }
    .portfolio-item.featured-item { grid-column: span 12; }
    .portfolio-item[data-size="landscape"] { grid-column: span 6; }
    .portfolio-item[data-size="square"]    { grid-column: span 6; }
    .portfolio-item[data-size="portrait"]  { grid-column: span 4; }
    .portfolio-item[data-size="ultrawide"] { grid-column: span 12; }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 16px;
    }
    
    .portfolio-item,
    .portfolio-item.featured-item,
    .portfolio-item[data-size="landscape"],
    .portfolio-item[data-size="square"],
    .portfolio-item[data-size="ultrawide"] { grid-column: span 12; }
    .portfolio-item[data-size="portrait"]  { grid-column: span 6; }
    
    .video-play-badge {
        width: 48px;
        height: 48px;
    }
    .video-play-badge svg {
        width: 20px;
        height: 20px;
    }
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-header {
    text-align: left;
    margin-bottom: 30px;
}

.contact-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-primary);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-text a,
.contact-text span {
    font-size: 16px;
    color: var(--text-primary);
}

.contact-text a:hover {
    color: var(--accent-primary);
}

.contact-availability {
    padding: 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}

.availability-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.pulse {
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    position: relative;
}

.pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.availability-badge span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.timezone-note {
    font-size: 13px;
    color: var(--text-muted);
}

.contact-socials {
    display: flex;
    gap: 15px;
}

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

.social-btn svg {
    width: 22px;
    height: 22px;
    stroke: var(--text-secondary);
    fill: none;
}

.social-btn:nth-child(3) svg {
    fill: var(--text-secondary);
    stroke: none;
}

.social-btn:hover {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
}

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

.social-btn:nth-child(3):hover svg {
    fill: var(--bg-primary);
}

/* Contact Form */
.contact-form-wrapper {
    padding: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

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

.btn-submit {
    grid-column: span 2;
    justify-content: center;
    padding: 18px 40px;
    font-size: 16px;
}

@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 600px) {
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width,
    .btn-submit {
        grid-column: span 1;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
}

/* ============================================
   FOOTER - PROFESSIONAL DESIGN
   ============================================ */
.footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 0 0 30px;
    position: relative;
    overflow: hidden;
}

/* Footer Decoration */
.footer-decoration {
    position: relative;
    height: 80px;
    margin-bottom: 60px;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 212, 170, 0.1) 25%, 
        rgba(0, 212, 170, 0.2) 50%, 
        rgba(0, 212, 170, 0.1) 75%, 
        transparent 100%);
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0% 100%);
}

.footer-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Main Footer Content */
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* Brand Column */
.footer-brand {
    padding-right: 30px;
}

.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 170, 0.3);
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-primary);
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-nav a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid var(--accent-primary);
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-primary);
    padding-left: 15px;
}

.footer-nav a:hover::before {
    opacity: 1;
    left: 0;
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.footer-contact-item a,
.footer-contact-item span {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--accent-primary);
}

/* Footer CTA Button */
.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: transparent;
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.footer-cta-btn:hover {
    color: var(--bg-primary);
}

.footer-cta-btn:hover::before {
    left: 0;
}

.footer-cta-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.footer-cta-btn:hover svg {
    transform: translateX(5px);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-left,
.footer-bottom-center,
.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.copyright {
    font-size: 13px;
    color: var(--text-muted);
}

.made-with {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.made-with .heart {
    color: #ff4757;
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.footer-legal {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-legal:hover {
    color: var(--accent-primary);
}

.footer-bottom-right .divider {
    color: var(--text-muted);
    opacity: 0.5;
}

/* Footer Responsive - Tablet */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
        padding-right: 0;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-column {
        text-align: left;
    }
}

/* Footer Responsive - Mobile */
@media (max-width: 768px) {
    .footer-decoration {
        height: 50px;
        margin-bottom: 40px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-heading {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav {
        align-items: center;
    }
    
    .footer-nav a {
        padding-left: 0 !important;
    }
    
    .footer-nav a::before {
        display: none;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    .footer-cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .footer-bottom-left,
    .footer-bottom-center,
    .footer-bottom-right {
        justify-content: center;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
}

/* Footer Responsive - Small Mobile */
@media (max-width: 480px) {
    .footer-decoration {
        height: 40px;
        margin-bottom: 30px;
    }
    
    .footer-main {
        gap: 30px;
    }
    
    .footer-tagline {
        font-size: 13px;
    }
    
    .footer-heading {
        font-size: 14px;
    }
    
    .footer-nav a {
        font-size: 13px;
    }
    
    .footer-contact-item a,
    .footer-contact-item span {
        font-size: 13px;
    }
    
    .footer-cta-btn {
        padding: 12px 20px;
        font-size: 12px;
    }
    
    .copyright,
    .made-with,
    .footer-legal {
        font-size: 11px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon svg {
        width: 16px;
        height: 16px;
    }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 99;
    box-shadow: 0 10px 30px var(--accent-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--bg-primary);
}

/* ============================================
   ANIMATIONS & AOS
   ============================================ */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ============================================ */

/* ===== TABLET (max-width: 1200px) ===== */
@media (max-width: 1200px) {
    :root {
        --section-padding: 44px;
    }
    
    .container {
        padding: 0 30px;
    }
}

/* ===== TABLET PORTRAIT (max-width: 1024px) ===== */
@media (max-width: 1024px) {
    /* Hero */
    .hero-title {
        font-size: clamp(40px, 10vw, 90px);
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* Portfolio Filters */
    .portfolio-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}

/* ===== MOBILE LANDSCAPE / SMALL TABLET (max-width: 768px) ===== */
@media (max-width: 768px) {
    :root {
        --section-padding: 36px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 35px;
    }
    
    .section-tag {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 14px;
        padding: 0;
        line-height: 1.6;
    }
    
    /* Navigation */
    .navbar {
        padding: 12px 0;
    }
    
    .navbar.scrolled {
        padding: 10px 0;
    }
    
    .nav-logo .logo-text,
    .nav-logo .logo-text-secondary {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-badge {
        font-size: 10px;
        padding: 8px 14px;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 42px;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }
    
    .title-line {
        line-height: 1.1;
    }
    
    .title-word {
        padding-right: 5px;
    }
    
    .title-line:nth-child(2) .title-word {
        padding-right: 8px;
    }
    
    .hero-roles {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 12px;
        margin-bottom: 20px;
    }
    
    .role-divider {
        display: inline;
        font-size: 10px;
    }
    
    .role-item {
        font-size: 13px;
    }
    
    .hero-description {
        font-size: 14px;
        padding: 0;
        margin-bottom: 30px;
        line-height: 1.7;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding: 0;
        margin-bottom: 40px;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        background: var(--bg-card);
        border-radius: var(--radius-lg);
        padding: 20px;
        border: 1px solid var(--border-color);
    }
    
    .stat-item {
        padding: 10px 20px;
        border-bottom: none;
        width: auto;
        flex: 1;
        min-width: 80px;
    }
    
    .stat-item:not(:last-child) {
        border-right: 1px solid var(--border-color);
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-plus {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 10px;
        margin-top: 5px;
    }
    
    .hero-scroll {
        display: none;
    }
    
    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .about-image {
        max-width: 220px;
        margin: 0 auto;
    }
    
    .image-frame {
        border-radius: var(--radius-md);
    }
    
    .profile-photo {
        object-position: center 15%;
    }
    
    .image-decoration {
        top: -10px;
        right: -10px;
        border-radius: var(--radius-md);
    }
    
    .placeholder-initials {
        font-size: 50px;
    }
    
    .placeholder-text {
        font-size: 12px;
    }
    
    .about-experience-badge {
        width: 80px;
        height: 80px;
        bottom: -15px;
        right: 10px;
    }
    
    .exp-number {
        font-size: 24px;
    }
    
    .exp-text {
        font-size: 9px;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-heading {
        font-size: 20px;
        line-height: 1.5;
    }
    
    .about-text {
        font-size: 14px;
        text-align: left;
    }
    
    .about-info {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 20px 15px;
        text-align: left;
    }
    
    .info-label {
        font-size: 10px;
    }
    
    .info-value {
        font-size: 13px;
    }
    
    .about-cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .about-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 18px;
    }
    
    .service-badge {
        font-size: 9px;
        padding: 4px 10px;
        top: 15px;
        right: 15px;
    }
    
    .service-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .service-description {
        font-size: 13px;
        margin-bottom: 15px;
        line-height: 1.6;
    }
    
    .service-features {
        gap: 8px;
    }
    
    .service-features li {
        font-size: 12px;
        padding-left: 15px;
    }
    
    .service-features li::before {
        width: 5px;
        height: 5px;
        top: 6px;
    }
    
    /* Experience Timeline */
    .timeline {
        margin-bottom: 40px;
    }
    
    .timeline::before {
        left: 6px;
    }
    
    .timeline-marker {
        left: -2px;
    }
    
    .marker-dot {
        width: 14px;
        height: 14px;
        border-width: 2px;
    }
    
    .timeline-item {
        padding-left: 30px;
        padding-bottom: 30px;
    }
    
    .timeline-content {
        padding: 20px 18px;
    }
    
    .timeline-header {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .timeline-date {
        font-size: 11px;
    }
    
    .timeline-badge {
        font-size: 9px;
        padding: 3px 8px;
    }
    
    .timeline-title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .timeline-company {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .timeline-description {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .timeline-tags {
        gap: 6px;
    }
    
    .tag {
        padding: 4px 10px;
        font-size: 10px;
    }
    
    .education {
        padding: 25px 18px;
    }
    
    .education-title {
        font-size: 16px;
        margin-bottom: 20px;
        gap: 10px;
    }
    
    .education-title svg {
        width: 22px;
        height: 22px;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .education-item h4 {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .education-item p {
        font-size: 12px;
    }
    
    /* Portfolio */
    .portfolio-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 15px;
        margin-bottom: 25px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .portfolio-filters::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .portfolio-cta {
        margin-top: 30px;
    }
    
    .portfolio-cta p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info .section-header {
        text-align: center;
    }
    
    .contact-info .section-title {
        font-size: 28px;
    }
    
    .contact-description {
        font-size: 14px;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .contact-details {
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .contact-item {
        gap: 15px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .contact-label {
        font-size: 10px;
    }
    
    .contact-text a,
    .contact-text span {
        font-size: 14px;
    }
    
    .contact-availability {
        padding: 20px 18px;
        margin-bottom: 25px;
    }
    
    .availability-badge span {
        font-size: 13px;
    }
    
    .timezone-note {
        font-size: 11px;
    }
    
    .contact-socials {
        justify-content: center;
        gap: 12px;
    }
    
    .social-btn {
        width: 45px;
        height: 45px;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .form-group label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .form-group.full-width,
    .btn-submit {
        grid-column: span 1;
    }
    
    .btn-submit {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    /* Back to Top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ===== MOBILE PORTRAIT (max-width: 480px) ===== */
@media (max-width: 480px) {
    :root {
        --section-padding: 30px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* Navigation */
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-logo .logo-text {
        font-size: 14px;
    }
    
    .nav-logo .logo-text-secondary {
        font-size: 14px;
    }
    
    .nav-menu {
        padding: 0 20px;
    }
    
    .nav-link {
        font-size: 20px;
    }
    
    /* Hero */
    .hero {
        padding: 100px 16px 60px;
    }
    
    .hero-badge {
        font-size: 10px;
        padding: 6px 12px;
    }
    
    .hero-title {
        font-size: clamp(32px, 14vw, 56px);
    }
    
    .hero-roles {
        gap: 5px;
    }
    
    .role-item {
        font-size: 14px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .hero-cta {
        padding: 0;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    /* About */
    .about-image {
        max-width: 250px;
    }
    
    .about-experience-badge {
        width: 80px;
        height: 80px;
        bottom: -15px;
        right: -5px;
    }
    
    .exp-number {
        font-size: 24px;
    }
    
    .exp-text {
        font-size: 10px;
    }
    
    .about-heading {
        font-size: 20px;
    }
    
    .about-text {
        font-size: 14px;
    }
    
    .info-label {
        font-size: 11px;
    }
    
    .info-value {
        font-size: 14px;
    }
    
    /* Services */
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 20px;
    }
    
    .service-title {
        font-size: 18px;
    }
    
    .service-description {
        font-size: 13px;
    }
    
    .service-features li {
        font-size: 13px;
    }
    
    /* Skills */
    /* Experience */
    .timeline-item {
        padding-left: 30px;
    }
    
    .timeline-content {
        padding: 20px 15px;
    }
    
    .timeline-date {
        font-size: 12px;
    }
    
    .timeline-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .timeline-title {
        font-size: 16px;
    }
    
    .timeline-company {
        font-size: 13px;
    }
    
    .timeline-description {
        font-size: 12px;
    }
    
    .education-item h4 {
        font-size: 14px;
    }
    
    .education-item p {
        font-size: 13px;
    }
    
    /* Portfolio */
    .filter-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    /* Contact */
    .contact-info .section-title {
        font-size: 28px;
    }
    
    .contact-description {
        font-size: 14px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-label {
        font-size: 11px;
    }
    
    .contact-text a,
    .contact-text span {
        font-size: 14px;
    }
    
    .contact-availability {
        padding: 20px;
    }
    
    .availability-badge span {
        font-size: 13px;
    }
    
    .timezone-note {
        font-size: 12px;
    }
    
    .social-btn {
        width: 45px;
        height: 45px;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .btn-submit {
        padding: 14px 20px;
        font-size: 14px;
    }
    
}

/* ===== SMALL MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
    :root {
        --section-padding: 30px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-tag {
        font-size: 10px;
        letter-spacing: 2px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 13px;
    }
    
    /* Hero */
    .hero {
        padding: 90px 16px 50px;
    }
    
    .hero-badge {
        font-size: 9px;
        padding: 6px 12px;
        margin-bottom: 15px;
    }
    
    .hero-title {
        font-size: 34px;
        letter-spacing: 0;
    }
    
    .title-word {
        letter-spacing: 1px;
        padding-right: 4px !important;
    }
    
    .hero-roles {
        gap: 4px 8px;
    }
    
    .role-item {
        font-size: 11px;
    }
    
    .hero-description {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .hero-cta .btn {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .hero-stats {
        padding: 15px 10px;
    }
    
    .stat-item {
        padding: 8px 10px;
    }
    
    .stat-number {
        font-size: 22px;
    }
    
    .stat-plus {
        font-size: 14px;
    }
    
    .stat-label {
        font-size: 8px;
    }
    
    /* About */
    .about-image {
        max-width: 180px;
    }
    
    .placeholder-initials {
        font-size: 40px;
    }
    
    .placeholder-text {
        font-size: 11px;
    }
    
    .about-experience-badge {
        width: 65px;
        height: 65px;
        right: 5px;
        bottom: -10px;
    }
    
    .exp-number {
        font-size: 18px;
    }
    
    .exp-text {
        font-size: 8px;
    }
    
    .about-heading {
        font-size: 17px;
    }
    
    .about-text {
        font-size: 13px;
    }
    
    .about-info {
        padding: 15px 12px;
        gap: 12px;
    }
    
    .info-label {
        font-size: 9px;
    }
    
    .info-value {
        font-size: 12px;
    }
    
    .about-cta .btn {
        padding: 12px 18px;
        font-size: 13px;
    }
    
    /* Services */
    .service-card {
        padding: 20px 16px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 15px;
    }
    
    .service-badge {
        font-size: 8px;
        padding: 3px 8px;
        top: 12px;
        right: 12px;
    }
    
    .service-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .service-description {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .service-features {
        gap: 6px;
    }
    
    .service-features li {
        font-size: 11px;
    }
    
    /* Experience */
    .timeline::before {
        left: 5px;
    }
    
    .timeline-marker {
        left: -3px;
    }
    
    .marker-dot {
        width: 12px;
        height: 12px;
    }
    
    .timeline-item {
        padding-left: 25px;
        padding-bottom: 25px;
    }
    
    .timeline-content {
        padding: 16px 14px;
    }
    
    .timeline-date {
        font-size: 10px;
    }
    
    .timeline-badge {
        font-size: 8px;
        padding: 2px 6px;
    }
    
    .timeline-title {
        font-size: 14px;
    }
    
    .timeline-company {
        font-size: 12px;
    }
    
    .timeline-description {
        font-size: 11px;
    }
    
    .tag {
        padding: 3px 8px;
        font-size: 9px;
    }
    
    .education {
        padding: 18px 14px;
    }
    
    .education-title {
        font-size: 14px;
    }
    
    .education-item h4 {
        font-size: 12px;
    }
    
    .education-item p {
        font-size: 10px;
    }
    
    /* Portfolio */
    .portfolio-filters {
        gap: 6px;
        margin-bottom: 20px;
    }
    
    .filter-btn {
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .portfolio-grid {
        gap: 14px;
    }
    
    .portfolio-cta p {
        font-size: 12px;
    }
    
    /* Contact */
    .contact-info .section-title {
        font-size: 22px;
    }
    
    .contact-description {
        font-size: 13px;
    }
    
    .contact-details {
        gap: 18px;
    }
    
    .contact-item {
        gap: 12px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .contact-label {
        font-size: 9px;
    }
    
    .contact-text a,
    .contact-text span {
        font-size: 12px;
    }
    
    .contact-availability {
        padding: 16px 14px;
    }
    
    .availability-badge span {
        font-size: 12px;
    }
    
    .timezone-note {
        font-size: 10px;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
    }
    
    .contact-form-wrapper {
        padding: 20px 16px;
    }
    
    .form-group label {
        font-size: 11px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .btn-submit {
        padding: 12px 18px;
        font-size: 13px;
    }
    
    /* Back to top */
    .back-to-top {
        width: 38px;
        height: 38px;
        bottom: 15px;
        right: 15px;
    }
}

/* ===== VERY SMALL SCREENS (max-width: 360px) ===== */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-badge {
        font-size: 8px;
    }
    
    .role-item {
        font-size: 10px;
    }
    
    .hero-description {
        font-size: 12px;
    }
    
    .stat-number {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 7px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .about-image {
        max-width: 150px;
    }
    
    .about-experience-badge {
        width: 55px;
        height: 55px;
    }
    
    .exp-number {
        font-size: 16px;
    }
    
    .about-heading {
        font-size: 15px;
    }
    
    .service-title {
        font-size: 14px;
    }
    
    .timeline-title {
        font-size: 13px;
    }
    
    .filter-btn {
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .contact-info .section-title {
        font-size: 18px;
    }
}

/* Selection Color */
::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

/* Focus Styles for Accessibility */
:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
}

/* ============================================
   PORTFOLIO LOADING & EMPTY STATES
   ============================================ */
.portfolio-loading {
    text-align: center;
    padding: 80px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.portfolio-loading p {
    color: var(--text-secondary);
    font-size: 15px;
}

.portfolio-empty {
    text-align: center;
    padding: 80px 20px;
}

.portfolio-empty svg {
    width: 80px;
    height: 80px;
    stroke: var(--text-muted);
    margin-bottom: 20px;
}

.portfolio-empty h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.portfolio-empty p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ============================================
   PROJECT DETAIL POPUP MODAL
   ============================================ */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.project-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.project-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition-normal);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}

.project-modal.active .project-modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-normal);
}

.modal-close:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
    transition: var(--transition-normal);
}

.modal-close:hover svg {
    stroke: var(--bg-primary);
}

.modal-media-container {
    position: relative;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 85vh;
    padding: 20px;
}

.modal-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 5;
    width: 68px;
    height: 48px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.modal-video-play:hover {
    transform: translate(-50%, -50%) scale(1.15);
}

.modal-video-play svg {
    width: 100%;
    height: 100%;
}

.modal-video-wrapper {
    position: absolute;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.modal-video-wrapper iframe {
    width: 100%;
    height: 100%;
}

.modal-details {
    padding: 50px 40px;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-category {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 212, 170, 0.15);
    color: var(--accent-primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.modal-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.modal-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.meta-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.modal-tags .tag {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 13px;
    color: var(--text-secondary);
}

.modal-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.modal-contact-btn,
.modal-link-btn {
    flex: 1;
    min-width: 150px;
    justify-content: center;
}

/* Modal Responsive */
@media (max-width: 900px) {
    .project-modal-content {
        grid-template-columns: 1fr;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .modal-media-container {
        max-height: 50vh;
    }
    
    .modal-image {
        max-height: 50vh;
        padding: 15px;
    }
    
    .modal-video-wrapper iframe {
        max-height: 50vh;
    }
    
    .modal-details {
        padding: 30px 25px;
    }
    
    .modal-title {
        font-size: 26px;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.7);
    }
}

@media (max-width: 480px) {
    .project-modal-content {
        width: 95%;
        border-radius: var(--radius-lg);
    }
    
    .modal-meta {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-contact-btn,
    .modal-link-btn {
        width: 100%;
    }
}

/* Dynamic Portfolio Item Styles */
.portfolio-item.dynamic {
    cursor: pointer;
}

.portfolio-item.dynamic .portfolio-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.portfolio-item.dynamic:hover .portfolio-image img {
    transform: scale(1.05);
}

/* Featured Project Badge */
.portfolio-item .featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    font-size: 10px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

/* ============================================
   CONTACT FORM NOTIFICATIONS
   ============================================ */
.contact-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.contact-notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    max-width: 400px;
}

.contact-notification.success .notification-content {
    border-left: 4px solid #4ade80;
}

.contact-notification.success svg {
    stroke: #4ade80;
}

.contact-notification.error .notification-content {
    border-left: 4px solid #f87171;
}

.contact-notification.error svg {
    stroke: #f87171;
}

.notification-content span {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
}

.notification-close {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-normal);
}

.notification-close:hover {
    opacity: 1;
}

.notification-close svg {
    stroke: var(--text-secondary);
}

@media (max-width: 480px) {
    .contact-notification {
        bottom: 20px;
        right: 15px;
        left: 15px;
    }
    
    .notification-content {
        max-width: 100%;
        padding: 15px 18px;
        gap: 12px;
    }
    
    .notification-content svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
    
    .notification-content span {
        font-size: 13px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn {
        min-height: 48px;
    }
    
    .nav-link {
        padding: 12px 0;
    }
    
    .filter-btn {
        min-height: 44px;
    }
    
    .social-link,
    .social-btn {
        min-width: 48px;
        min-height: 48px;
    }
    
    /* Remove hover effects that don't work well on touch */
    .portfolio-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, transparent 100%);
    }
    
    /* Service cards always show info */
    .service-card:hover {
        transform: none;
    }
}

/* ============================================
   CLIENTS / WORKED WITH - INFINITE SLIDER
   ============================================ */
.clients {
    padding: 40px 0 50px;
    background: var(--bg-secondary);
    overflow: hidden;
}

.clients .section-header {
    margin-bottom: 30px;
}

.clients-slider {
    position: relative;
    width: 100%;
    overflow: clip visible;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    padding: 10px 0;
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: clients-scroll 30s linear infinite;
}

.clients-track:hover {
    animation-play-state: paused;
}

.client-logo {
    flex-shrink: 0;
    width: 160px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    transition: all 0.3s ease;
}

.client-logo:hover {
    border-color: var(--accent-primary);
    background: rgba(0, 212, 170, 0.06);
    box-shadow: 0 0 24px rgba(0, 212, 170, 0.2), inset 0 0 12px rgba(0, 212, 170, 0.05);
    transform: translateY(-4px);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.05);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: brightness(1.2) contrast(1.1);
    opacity: 1;
}

@keyframes clients-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .clients {
        padding: 30px 0 40px;
    }

    .clients-track {
        gap: 24px;
        animation-duration: 20s;
    }

    .client-logo {
        width: 130px;
        height: 72px;
        padding: 10px 14px;
    }
}

