/* ===================================
   Portfolio Website - Dark Theme
   Primary Color: Claude Orange #CC785C
   Ultra Responsive & Creative Menu
   =================================== */

/* CSS Variables */
:root {
    --primary-color: #CC785C;
    --primary-dark: #B56849;
    --primary-light: #E68D6F;
    --bg-dark: #0A0A0A;
    --bg-secondary: #151515;
    --bg-tertiary: #1F1F1F;
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3B3;
    --text-muted: #808080;
    --border-color: #2A2A2A;
    --shadow-light: rgba(204, 120, 92, 0.1);
    --shadow-medium: rgba(204, 120, 92, 0.2);
    --shadow-heavy: rgba(0, 0, 0, 0.5);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --nav-height: 70px;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

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

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

/* Buttons - Ultra Responsive */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.5vw, 10px);
    padding: clamp(10px, 1.5vw, 12px) clamp(20px, 3vw, 30px);
    border: none;
    border-radius: 8px;
    font-size: clamp(14px, 1.8vw, 16px);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(204, 120, 92, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(204, 120, 92, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(204, 120, 92, 0.2);
}

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

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: clamp(14px, 2vw, 16px) clamp(30px, 4vw, 40px);
    font-size: clamp(16px, 2vw, 18px);
}

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

.btn i {
    font-size: clamp(14px, 1.8vw, 16px);
    transition: transform var(--transition-fast);
}

.btn:hover i {
    transform: translateX(3px);
}

/* Navigation - Creative & Ultra Responsive */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-medium);
    height: var(--nav-height);
}

.navbar.scrolled {
    box-shadow: 0 5px 30px var(--shadow-heavy);
    background: rgba(10, 10, 10, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 clamp(15px, 4vw, 40px);
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    z-index: 1001;
}

.logo a {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: var(--transition-fast);
}

.logo a:hover {
    transform: scale(1.05);
}

.logo-bracket {
    color: var(--primary-color);
    font-size: clamp(24px, 3.5vw, 28px);
    font-weight: 700;
}

.logo-text {
    color: var(--text-primary);
    margin: 0 5px;
}

/* Desktop Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(20px, 3vw, 40px);
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: clamp(14px, 1.5vw, 16px);
    position: relative;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all var(--transition-fast);
    display: inline-block;
}

/* Creative Underline Effect */
.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 80%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(204, 120, 92, 0.05);
}

/* Creative Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover {
    border-color: var(--primary-color);
    background: var(--bg-tertiary);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all var(--transition-fast);
    position: absolute;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 14px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 21px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 28px;
}

/* Animated X on menu open */
.mobile-menu-toggle.active span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
    background: var(--primary-color);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
    background: var(--primary-color);
}

.mobile-menu-toggle.active {
    border-color: var(--primary-color);
    background: var(--bg-dark);
}

/* Hero Section - Ultra Responsive */
.hero {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: calc(var(--nav-height) + 40px) 0 60px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    opacity: 0.5;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(15px, 4vw, 40px);
}

.hero-text {
    animation: fadeInUp 0.8s ease;
    width: 100%;
}

.hero-greeting {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    margin-bottom: clamp(8px, 1.5vw, 15px);
    flex-wrap: wrap;
}

.wave {
    animation: wave 2s infinite;
    display: inline-block;
    font-size: clamp(20px, 3vw, 28px);
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-20deg); }
}

.hero-title {
    font-size: clamp(32px, 7vw, 60px);
    margin-bottom: clamp(15px, 3vw, 25px);
    line-height: 1.1;
    word-wrap: break-word;
}

.typing-container {
    font-size: clamp(18px, 4vw, 32px);
    color: var(--text-secondary);
    margin-bottom: clamp(20px, 4vw, 35px);
    min-height: clamp(30px, 5vw, 48px);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.typing-prefix {
    color: var(--text-primary);
    flex-shrink: 0;
}

.typed-text {
    color: var(--primary-color);
    font-weight: 600;
    word-break: break-word;
}

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

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

.hero-description {
    font-size: clamp(14px, 2vw, 18px);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: clamp(25px, 4vw, 40px);
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: clamp(12px, 2vw, 20px);
    margin-bottom: clamp(25px, 4vw, 40px);
    flex-wrap: wrap;
}

.hero-cta .btn {
    min-width: 160px;
    justify-content: center;
}

.hero-social {
    display: flex;
    gap: clamp(12px, 2vw, 20px);
    flex-wrap: wrap;
}

.hero-social a {
    width: clamp(40px, 5vw, 45px);
    height: clamp(40px, 5vw, 45px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.hero-social a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

/* Code Window - Responsive */
.hero-visual {
    animation: fadeInRight 0.8s ease 0.2s both;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.code-window {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-heavy);
    width: 100%;
}

.window-header {
    background: var(--bg-tertiary);
    padding: clamp(12px, 2vw, 15px) clamp(15px, 3vw, 20px);
    display: flex;
    align-items: center;
    gap: clamp(15px, 3vw, 20px);
    border-bottom: 1px solid var(--border-color);
}

.window-buttons {
    display: flex;
    gap: 8px;
}

.window-buttons span {
    width: clamp(10px, 1.5vw, 12px);
    height: clamp(10px, 1.5vw, 12px);
    border-radius: 50%;
}

.btn-close {
    background: #FF5F56;
}

.btn-minimize {
    background: #FFBD2E;
}

.btn-maximize {
    background: #27C93F;
}

.window-title {
    color: var(--text-secondary);
    font-size: clamp(12px, 1.8vw, 14px);
}

.window-content {
    padding: clamp(20px, 4vw, 30px);
    overflow-x: auto;
}

.window-content pre {
    margin: 0;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: clamp(11px, 1.6vw, 14px);
    line-height: 1.8;
    color: var(--text-secondary);
    white-space: pre;
    word-wrap: normal;
}

.code-keyword {
    color: #FF79C6;
}

.code-variable {
    color: #8BE9FD;
}

.code-property {
    color: #50FA7B;
}

.code-string {
    color: #F1FA8C;
}

.code-function {
    color: var(--primary-color);
}

.code-comment {
    color: var(--text-muted);
    font-style: italic;
}

/* Scroll Indicator - Responsive */
.scroll-indicator {
    position: absolute;
    bottom: clamp(20px, 4vw, 30px);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
    z-index: 10;
}

.mouse {
    width: clamp(20px, 3vw, 25px);
    height: clamp(32px, 5vw, 40px);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    margin: 0 auto 10px;
    position: relative;
}

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

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

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

.scroll-indicator p {
    font-size: clamp(10px, 1.5vw, 12px);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Stats Section - Ultra Responsive */
.stats-section {
    padding: clamp(60px, 10vw, 80px) 0;
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: clamp(20px, 3vw, 30px);
}

.stat-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: clamp(30px, 5vw, 40px) clamp(20px, 4vw, 30px);
    text-align: center;
    transition: var(--transition-medium);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.stat-icon {
    font-size: clamp(36px, 6vw, 48px);
    color: var(--primary-color);
    margin-bottom: clamp(15px, 3vw, 20px);
}

.stat-number {
    font-size: clamp(36px, 6vw, 48px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--text-secondary);
}

/* Featured Section - Ultra Responsive */
.featured-section {
    padding: clamp(60px, 10vw, 100px) 0;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 8vw, 60px);
    padding: 0 clamp(15px, 3vw, 20px);
}

.section-title {
    font-size: clamp(32px, 6vw, 48px);
    margin-bottom: clamp(12px, 2vw, 15px);
    word-wrap: break-word;
}

.section-subtitle {
    font-size: clamp(16px, 2.5vw, 18px);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(20px, 3vw, 30px);
    margin-bottom: clamp(40px, 6vw, 50px);
}

.featured-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-medium);
    position: relative;
    display: flex;
    flex-direction: column;
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-heavy);
    border-color: var(--primary-color);
}

.featured-image {
    position: relative;
    height: clamp(180px, 30vw, 220px);
    overflow: hidden;
    background: var(--bg-tertiary);
    flex-shrink: 0;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(48px, 8vw, 64px);
    color: var(--primary-color);
    opacity: 0.3;
}

.featured-content {
    padding: clamp(20px, 4vw, 30px);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-content h3 {
    font-size: clamp(20px, 3vw, 24px);
    margin-bottom: clamp(8px, 1.5vw, 10px);
}

.featured-content p {
    color: var(--text-secondary);
    margin-bottom: clamp(15px, 2.5vw, 20px);
    line-height: 1.7;
    font-size: clamp(14px, 2vw, 16px);
    flex: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(8px, 1.5vw, 10px);
}

.project-tags span {
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: clamp(11px, 1.5vw, 12px);
    color: var(--primary-color);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(204, 120, 92, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-medium);
}

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

.featured-overlay span {
    color: var(--text-primary);
    font-size: clamp(16px, 2.5vw, 18px);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-cta {
    text-align: center;
    padding: 0 clamp(15px, 3vw, 20px);
}

/* Tech Stack Section */
.tech-stack-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.tech-slider {
    overflow: hidden;
    position: relative;
    margin-top: 40px;
}

.tech-track {
    display: flex;
    gap: 40px;
    animation: scroll-left 30s linear infinite;
}

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

.tech-item {
    flex-shrink: 0;
    padding: 20px 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.tech-item i {
    font-size: 28px;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--shadow-light) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

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

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
}

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

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
}

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

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 18px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Page Header - Ultra Responsive */
.page-header {
    padding: calc(var(--nav-height) + clamp(50px, 10vw, 80px)) 0 clamp(60px, 10vw, 80px);
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-dark) 100%);
}

.page-title {
    font-size: clamp(36px, 7vw, 56px);
    margin-bottom: clamp(12px, 2vw, 15px);
    word-wrap: break-word;
    padding: 0 clamp(15px, 3vw, 20px);
}

.page-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    margin-bottom: clamp(20px, 4vw, 30px);
    padding: 0 clamp(15px, 3vw, 20px);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.5vw, 10px);
    font-size: clamp(13px, 1.8vw, 14px);
    color: var(--text-secondary);
    flex-wrap: wrap;
    padding: 0 clamp(15px, 3vw, 20px);
}

.breadcrumb a {
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

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

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.profile-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: var(--primary-color);
}

.image-border {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    z-index: -1;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 25px;
}

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

.about-details {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
}

.detail-item i {
    color: var(--primary-color);
    font-size: 20px;
    width: 30px;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.service-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    transition: var(--transition-medium);
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.service-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Timeline */
.education-section {
    padding: 100px 0;
}

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

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

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

.timeline-dot {
    position: absolute;
    left: -54px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border: 4px solid var(--bg-dark);
    border-radius: 50%;
}

.timeline-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition-medium);
}

.timeline-content:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.timeline-date {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-color);
    color: var(--text-primary);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.timeline-content h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-content > p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.timeline-description {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Interests Section */
.interests-section {
    padding: 100px 0;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.interest-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-medium);
}

.interest-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.interest-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.interest-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

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

/* Experience Section */
.experience-section {
    padding: 100px 0;
}

.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.experience-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
}

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

.date-badge {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-primary);
    border-radius: 8px;
    font-weight: 600;
}

.experience-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    position: relative;
    transition: var(--transition-medium);
}

.experience-content:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.company-logo {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
}

.experience-header h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.experience-header h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.location {
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.experience-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.experience-achievements h5 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.experience-achievements ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.experience-achievements li {
    color: var(--text-secondary);
    display: flex;
    gap: 12px;
    line-height: 1.7;
}

.experience-achievements i {
    color: var(--primary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.experience-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    color: var(--primary-color);
}

/* Skills Overview */
.skills-overview-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.skills-categories {
    display: grid;
    gap: 40px;
}

.skill-category {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
}

.skill-category h3 {
    font-size: 24px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.skill-category i {
    color: var(--primary-color);
    font-size: 28px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tags span {
    padding: 10px 20px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.skill-tags span:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Recommendations */
.recommendations-section {
    padding: 100px 0;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.recommendation-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    position: relative;
    transition: var(--transition-medium);
}

.recommendation-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 36px;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 20px;
}

.recommendation-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.recommender {
    display: flex;
    align-items: center;
    gap: 20px;
}

.recommender-avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.recommender-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

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

/* Projects Section */
.filter-section {
    padding: 40px 0;
    background: var(--bg-secondary);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    padding: 10px 25px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.projects-section {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-medium);
    display: block;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-heavy);
    border-color: var(--primary-color);
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: var(--transition-medium);
}

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

.project-link {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 20px;
    transition: var(--transition-fast);
}

.project-link:hover {
    transform: scale(1.1);
}

.project-content {
    padding: 30px;
}

.project-category {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-color);
    color: var(--text-primary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.project-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.project-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.project-features span {
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-features i {
    color: var(--primary-color);
    font-size: 12px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

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

/* GitHub Stats */
.github-stats-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.github-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.github-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: var(--transition-medium);
}

.github-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.github-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.github-content h3 {
    font-size: 36px;
    margin-bottom: 10px;
}

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

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

/* Skills Page */
.skills-progress-section {
    padding: 100px 0;
}

.skills-progress-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.skill-progress-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition-medium);
}

.skill-progress-item:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.skill-name {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-name i {
    color: var(--primary-color);
    font-size: 24px;
}

.skill-percentage {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.skill-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
}

/* Skills Matrix */
.skills-matrix-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.skills-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.skill-category-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    transition: var(--transition-medium);
}

.skill-category-card:hover {
    border-color: var(--primary-color);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
}

.category-header h3 {
    font-size: 24px;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-badge {
    padding: 10px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    position: relative;
    transition: var(--transition-fast);
}

.skill-badge:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.skill-badge i {
    color: var(--primary-color);
}

.skill-level {
    position: absolute;
    bottom: -1px;
    left: -1px;
    right: -1px;
    height: 3px;
    border-radius: 0 0 8px 8px;
}

.skill-level.expert {
    background: var(--primary-color);
}

.skill-level.advanced {
    background: #50FA7B;
}

.skill-level.intermediate {
    background: #F1FA8C;
}

.skill-legend {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    padding: 30px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-dot {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

/* Soft Skills */
.soft-skills-section {
    padding: 100px 0;
}

.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.soft-skill-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: var(--transition-medium);
}

.soft-skill-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.soft-skill-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.soft-skill-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.soft-skill-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

.contact-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-medium);
}

.contact-card:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-secondary);
}

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

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

.social-links {
    margin-bottom: 40px;
}

.social-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

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

.availability-status {
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #50FA7B;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

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

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary-color);
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--shadow-light);
}

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

/* Quick Links */
.quick-links-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.quick-link-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition-medium);
}

.quick-link-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.quick-link-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.quick-link-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.quick-link-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.link-arrow {
    font-size: 24px;
    color: var(--primary-color);
    position: absolute;
    bottom: 20px;
    right: 30px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-medium);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 20px;
    transition: var(--transition-fast);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ===================================
   ULTRA RESPONSIVE DESIGN
   Mobile-First Approach
   =================================== */

/* Large Tablets and Small Desktops (1200px and below) */
@media (max-width: 1200px) {
    :root {
        --nav-height: 65px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: 2;
        max-width: 100%;
    }
    
    .hero-text {
        order: 1;
        text-align: center;
    }
    
    .hero-cta,
    .hero-social {
        justify-content: center;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .experience-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .experience-date {
        text-align: left;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .skills-matrix {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .company-logo {
        position: static;
        margin-bottom: 20px;
    }
}

/* Tablets (1024px and below) */
@media (max-width: 1024px) {
    .stats-grid,
    .services-grid,
    .soft-skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .featured-grid,
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: clamp(32px, 6vw, 42px);
    }
    
    .page-title {
        font-size: clamp(36px, 7vw, 48px);
    }
}

/* Mobile and Tablets (768px and below) */
@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }
    
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        height: calc(100vh - var(--nav-height));
        height: calc(100dvh - var(--nav-height));
        flex-direction: column;
        justify-content: flex-start;
        background: var(--bg-dark);
        border-top: 1px solid var(--border-color);
        padding: 30px 20px;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        width: 100%;
        opacity: 0;
        transform: translateX(50px);
        animation: slideInRight 0.3s ease forwards;
    }
    
    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { animation-delay: 0.35s; }
    
    @keyframes slideInRight {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .nav-menu a {
        display: block;
        padding: 18px 20px;
        font-size: 18px;
        border-radius: 12px;
        margin-bottom: 8px;
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: var(--primary-color);
        color: var(--text-primary);
        border-color: var(--primary-color);
        transform: translateX(5px);
    }
    
    .nav-menu a::before {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero Adjustments */
    .hero {
        min-height: calc(100vh - var(--nav-height));
        min-height: calc(100dvh - var(--nav-height));
        padding: calc(var(--nav-height) + 20px) 0 40px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-cta .btn {
        width: 100%;
        min-width: unset;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    /* Grids to Single Column */
    .stats-grid,
    .services-grid,
    .soft-skills-grid,
    .github-stats {
        grid-template-columns: 1fr;
    }
    
    .featured-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .interests-grid,
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Page Sections Padding */
    .page-header {
        padding: calc(var(--nav-height) + 40px) 0 60px;
    }
    
    section {
        padding: 60px 0 !important;
    }
    
    /* Timeline Mobile */
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-dot {
        left: -34px;
    }
    
    /* Contact Form Mobile */
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Skills Matrix Mobile */
    .skills-matrix {
        grid-template-columns: 1fr;
    }
    
    .skill-items {
        gap: 8px;
    }
    
    .skill-badge {
        font-size: 13px;
        padding: 8px 14px;
    }
    
    /* Code Window Mobile */
    .window-content {
        padding: 15px;
    }
    
    .window-content pre {
        font-size: 11px;
        overflow-x: auto;
    }
}

/* Small Mobile Devices (480px and below) */
@media (max-width: 480px) {
    :root {
        --nav-height: 55px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Typography Scaling */
    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .typing-container {
        font-size: 16px;
        min-height: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 14px;
        gap: 8px;
    }
    
    .btn i {
        font-size: 14px;
    }
    
    /* Hero Social Icons */
    .hero-social {
        justify-content: center;
    }
    
    .hero-social a {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    
    /* Cards Padding */
    .stat-card,
    .service-card,
    .interest-card,
    .soft-skill-card {
        padding: 25px 20px;
    }
    
    .featured-content,
    .project-content {
        padding: 20px;
    }
    
    /* Experience Cards */
    .experience-content {
        padding: 25px 20px;
    }
    
    .experience-header h3 {
        font-size: 22px;
        padding-right: 50px; /* Space for logo */
    }
    
    .company-logo {
        width: 45px;
        height: 45px;
        top: 25px;
        right: 20px;
        font-size: 20px;
    }
    
    /* Timeline Mobile */
    .timeline {
        padding-left: 25px;
    }
    
    .timeline-dot {
        left: -29px;
        width: 10px;
        height: 10px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    /* Contact Page */
    .contact-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    /* Interests Grid - Single Column */
    .interests-grid,
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    /* FAQ Mobile */
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
        padding-right: 30px;
    }
    
    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 14px;
    }
    
    /* Skill Legend Mobile */
    .skill-legend {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    /* Footer Mobile */
    .footer-logo {
        font-size: 20px;
    }
    
    .footer-links a {
        font-size: 14px;
    }
    
    /* Tech Slider Mobile */
    .tech-item {
        padding: 15px 25px;
        font-size: 14px;
        gap: 10px;
    }
    
    .tech-item i {
        font-size: 22px;
    }
    
    /* Project Tags */
    .project-tags span,
    .project-tech span,
    .experience-tech .tech-tag {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        font-size: 12px;
    }
    
    /* Back to Top Button */
    [aria-label="Back to top"] {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}

/* Extra Small Devices (360px and below) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 24px;
    }
    
    .typing-container {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .nav-menu a {
        padding: 15px;
        font-size: 16px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: calc(var(--nav-height) + 20px) 0 40px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .hero-content {
        gap: 30px;
    }
}
