/* ============================================
   THEME VARIABLES
   ============================================ */
:root {
    /* Dark Theme (Default) */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    --accent-primary: #00ff88;
    --accent-secondary: #ff006e;
    --accent-tertiary: #8338ec;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --border-color: #2a2a2a;
    --shadow-color: rgba(0, 0, 0, 0.5);
}

/* Light Theme */
.theme-light {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #e8e8e8;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #888888;
    --accent-primary: #0066ff;
    --accent-secondary: #ff3366;
    --accent-tertiary: #8b5cf6;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Colorful Theme */
.theme-colorful {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-tertiary: #0f3460;
    --bg-card: #1e2749;
    --text-primary: #ffffff;
    --text-secondary: #e94560;
    --text-muted: #8b8b8b;
    --accent-primary: #e94560;
    --accent-secondary: #00d9ff;
    --accent-tertiary: #ff6b9d;
    --gradient-1: linear-gradient(135deg, #e94560 0%, #ff6b9d 100%);
    --gradient-2: linear-gradient(135deg, #00d9ff 0%, #00ff88 100%);
    --gradient-3: linear-gradient(135deg, #ff6b9d 0%, #e94560 100%);
    --border-color: #2d3561;
    --shadow-color: rgba(233, 69, 96, 0.3);
}

/* Neon Theme */
.theme-neon {
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --bg-card: #1e1e3e;
    --text-primary: #ffffff;
    --text-secondary: #00ffff;
    --text-muted: #666666;
    --accent-primary: #00ffff;
    --accent-secondary: #ff00ff;
    --accent-tertiary: #ffff00;
    --gradient-1: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    --gradient-2: linear-gradient(135deg, #ff00ff 0%, #ffff00 100%);
    --gradient-3: linear-gradient(135deg, #ffff00 0%, #00ffff 100%);
    --border-color: #2a2a4e;
    --shadow-color: rgba(0, 255, 255, 0.3);
}

/* Ocean Theme */
.theme-ocean {
    --bg-primary: #0a1929;
    --bg-secondary: #132f4c;
    --bg-tertiary: #1e4976;
    --bg-card: #234e70;
    --text-primary: #ffffff;
    --text-secondary: #64b5f6;
    --text-muted: #90caf9;
    --accent-primary: #42a5f5;
    --accent-secondary: #26c6da;
    --accent-tertiary: #66bb6a;
    --gradient-1: linear-gradient(135deg, #42a5f5 0%, #26c6da 100%);
    --gradient-2: linear-gradient(135deg, #26c6da 0%, #66bb6a 100%);
    --gradient-3: linear-gradient(135deg, #66bb6a 0%, #42a5f5 100%);
    --border-color: #2a5d8f;
    --shadow-color: rgba(66, 165, 245, 0.3);
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

input,
textarea,
select,
button,
[contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

img,
video,
svg {
    -webkit-user-drag: none;
    user-drag: none;
}

body {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: -0.01em;
    color: #b4bcd0;
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transition: background 0.3s ease, color 0.3s ease;
}

.devtools-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    color: #ffffff;
    text-align: center;
    padding: 2rem;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.devtools-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.devtools-panel {
    max-width: 520px;
    padding: 2rem 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(16, 16, 16, 0.92);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.devtools-panel h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.devtools-panel p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.logo-text,
.category-title,
.timeline-title,
.project-title,
.exp-title,
.contact-title {
    font-family: 'Space Grotesk', sans-serif;
}

.btn,
.btn-primary,
.btn-secondary,
.filter-btn,
#portfolioBtn,
button {
    font-family: 'Poppins', sans-serif;
}

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

/* ============================================
   THEME SWITCHER
   ============================================ */
.theme-switcher {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 9999;
    background: var(--bg-tertiary);
    border-radius: 50px;
    padding: 10px;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.theme-toggle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.theme-toggle-btn:hover {
    transform: rotate(180deg);
}

.theme-options {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    flex-direction: column;
    gap: 10px;
    background: var(--bg-tertiary);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.theme-switcher:hover .theme-options {
    display: flex;
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.theme-option:hover {
    background: var(--bg-card);
}

.theme-preview {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.dark-preview {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #1a1a1a 100%);
}

.light-preview {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 50%, #e8e8e8 100%);
}

.colorful-preview {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.neon-preview {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
}

.ocean-preview {
    background: linear-gradient(135deg, #0a1929 0%, #132f4c 50%, #1e4976 100%);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 3px;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-1);
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
    filter: blur(40px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    top: 60%;
    right: 10%;
    background: var(--gradient-2);
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 50%;
    background: var(--gradient-3);
    animation-delay: 10s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    top: 30%;
    right: 30%;
    animation-delay: 15s;
}

.shape-5 {
    width: 200px;
    height: 200px;
    bottom: 40%;
    left: 20%;
    animation-delay: 8s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-50px) translateX(50px) rotate(90deg); }
    50% { transform: translateY(-100px) translateX(-30px) rotate(180deg); }
    75% { transform: translateY(-50px) translateX(30px) rotate(270deg); }
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease;
}

.badge-text {
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 500;
}

.greeting {
    display: block;
    color: var(--accent-primary);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    animation: fadeInLeft 0.8s ease;
}

.hero-title .name {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    margin: 0.5rem 0;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInLeft 1s ease;
}

.role {
    display: block;
    font-size: 2rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-top: 0.5rem;
    animation: fadeInLeft 1.2s ease;
}

.role-text {
    display: inline-block;
}

.role-cursor {
    display: inline-block;
    animation: blink 1s infinite;
    color: var(--accent-primary);
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 2rem 0;
    line-height: 1.8;
    animation: fadeInUp 1.4s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 1.6s ease;
}

.btn {
    padding: 0.55rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--accent-primary);
    color: #000;
    border-radius: 50px;
}

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

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

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

.btn-secondary:hover {
    background: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 1.8s ease;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.stat-icon {
    font-size: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.hero-image {
    animation: fadeInRight 1s ease;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.image-border {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--accent-primary);
    border-radius: 20px;
    opacity: 0.3;
    animation: rotate-border 20s linear infinite;
}

@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.profile-img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.profile-img:hover {
    filter: grayscale(0%);
}

.image-glow {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: var(--gradient-1);
    border-radius: 20px;
    opacity: 0.3;
    z-index: 1;
    animation: pulse 3s infinite;
    filter: blur(30px);
}

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

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-primary);
    border: 2px solid var(--border-color);
    animation: float-icon 6s infinite ease-in-out;
}

.icon-1 {
    top: 10%;
    right: -30px;
    animation-delay: 0s;
}

.icon-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 1.5s;
}

.icon-3 {
    top: 50%;
    left: -30px;
    animation-delay: 3s;
}

.icon-4 {
    bottom: 10%;
    left: -30px;
    animation-delay: 4.5s;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 2s ease;
}

.scroll-indicator span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECTION TITLES
   ============================================ */
section {
    padding: 65px 0;
    position: relative;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    width: 100%;
}

.title-number {
    color: var(--accent-primary);
    font-size: 1.4rem;
    font-weight: 600;
    white-space: nowrap;
}

.title-text {
    color: var(--text-primary);
    font-weight: 700;
    white-space: nowrap;
}

.title-line {
    flex: 1;
    height: 2px;
    background: var(--gradient-1);
    min-width: 30px;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.about-image:hover .image-overlay {
    opacity: 0;
}

.image-border-animated {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--accent-primary);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover .image-border-animated {
    opacity: 1;
    animation: rotate-border 10s linear infinite;
}

.about-text {
    display: flex;
    flex-direction: column;
}

.about-text .btn {
    align-self: center;
    margin-top: 1.5rem;
}

.about-bio {
    margin-bottom: 2rem;
}

.about-description {
    color: #b4bcd0;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-tertiary);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* ============================================
   EDUCATION SECTION
   ============================================ */
.education {
    background: var(--bg-primary);
    padding: 60px 0;
}

.education-timeline {
    position: relative;
    padding: 0;
    max-width: 850px;
    margin: 0 auto;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: var(--gradient-1);
}

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

.timeline-dot {
    position: absolute;
    left: 5px;
    top: 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--accent-primary);
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

.timeline-content {
    background: var(--bg-tertiary);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 18px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 10px solid var(--bg-tertiary);
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.timeline-year {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gradient-1);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
}

.timeline-subtitle {
    font-size: 0.95rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.timeline-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.timeline-description {
    color: #b4bcd0;
    font-family: "Inter", sans-serif;
    line-height: 1.8;
    letter-spacing: -0.01em;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.timeline-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--accent-primary);
}

.achievement-badge i {
    font-size: 0.8rem;
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills {
    background: var(--bg-secondary);
    padding: 60px 0;
}

.skills-categories {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.category-section {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.category-section:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.category-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.category-title i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-card {
    background: var(--bg-secondary);
    padding: 0.65rem 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.skill-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    background: var(--bg-primary);
}

.skill-icon {
    font-size: 1.4rem;
    margin-bottom: 0;
    line-height: 1;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-name {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0;
    color: var(--text-primary);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
    background: var(--bg-primary);
    padding: 60px 0;
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

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

.project-card {
    background: var(--bg-tertiary);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    opacity: 1;
    transform: scale(1);
}

.project-card.hidden {
    display: none;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px var(--shadow-color);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 42px;
    height: 42px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--accent-primary);
    transform: scale(1.1);
}

.project-category {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.35rem 0.75rem;
    background: var(--gradient-1);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
}

.project-info {
    padding: 1.25rem;
}

.project-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-description {
    color: #b4bcd0;
    font-family: "Inter", sans-serif;
    margin-bottom: 1rem;
    line-height: 1.8;
    letter-spacing: -0.01em;
    font-size: 0.875rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag {
    padding: 0.25rem 0.65rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    font-size: 0.78rem;
    color: var(--accent-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.tag i {
    font-size: 0.8rem;
}

/* ============================================
   EXPERIENCE SECTION
   ============================================ */
.experience {
    background: var(--bg-secondary);
    padding: 60px 0;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.experience-card {
    background: var(--bg-tertiary);
    padding: 1.25rem;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    gap: 1rem;
}

.experience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.exp-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.exp-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.exp-company {
    font-size: 0.9rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.exp-period {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
}

.exp-description {
    color: #b4bcd0;
    font-family: "Inter", sans-serif;
    line-height: 1.8;
    letter-spacing: -0.01em;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.exp-skills {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.exp-skills li {
    padding: 0.25rem 0.6rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--bg-primary);
    padding: 60px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

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

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.contact-methods {
    margin-bottom: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.85rem;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateX(6px);
    border-color: var(--accent-primary);
}

.method-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.method-info {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.method-value {
    font-size: 1rem;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--gradient-1);
    transform: translateY(-5px);
    border-color: transparent;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-form .btn-primary {
    padding: 0.75rem 1.5rem;
    background: var(--accent-primary);
    border: none;
    border-radius: 50px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

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

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

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

.footer-text {
    color: var(--text-secondary);
}

.footer-text p {
    margin-bottom: 0.5rem;
}

.footer-text i {
    color: var(--accent-primary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    section {
        padding: 45px 0;
    }

    .theme-switcher {
        right: 10px;
        top: auto;
        bottom: 20px;
        transform: none;
    }

    .theme-options {
        right: auto;
        left: 60px;
        top: auto;
        bottom: 0;
        transform: none;
        flex-direction: row;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
    }

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

    .hero {
        padding: 80px 15px 30px;
        min-height: auto;
    }

    /* Hero section: Picture directly under Navbar, Content after Picture */
    .hero-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-image {
        order: 1;
        width: 100%;
        max-width: 270px;
        margin: 0.5rem auto 0;
    }

    .hero-text {
        order: 2;
    }

    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .icon-1 { right: -10px; }
    .icon-2 { right: -10px; }
    .icon-3 { left: -10px; }
    .icon-4 { left: -10px; }

    .hero-title .name {
        font-size: 2.2rem;
    }

    .role {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin: 1.25rem 0;
    }

    /* Center align all hero & section buttons on mobile */
    .hero-buttons {
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        gap: 0.75rem;
    }

    .hero-stats {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        width: 100%;
        max-width: 300px;
        margin: 1.5rem auto 0;
    }

    .hero-stat {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.25rem;
        padding: 0.85rem 1.25rem;
    }

    /* About section: Picture directly after About Me title, then Text Content, then centered button */
    .about-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .about-image {
        order: 1;
        max-width: 300px;
        margin: 0 auto;
    }

    .about-text {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-text .btn {
        margin: 1.5rem auto 0;
        display: inline-flex;
        align-self: center;
        justify-content: center;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        margin: 1.5rem 0;
    }

    .stat-item {
        padding: 0.85rem 0.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .about-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .highlight-item {
        padding: 0.6rem;
        font-size: 0.8rem;
    }

    .education-timeline::before {
        left: 6px;
        top: 26px;
        bottom: 26px;
    }

    .timeline-item {
        padding-left: 24px;
        margin-bottom: 1.25rem;
    }

    .timeline-dot {
        left: 0px;
        top: 14px;
        width: 14px;
        height: 14px;
    }

    .timeline-content {
        padding: 1rem;
    }

    .category-section {
        padding: 1rem;
    }

    .skills-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .skill-card {
        padding: 0.5rem 0.75rem;
        gap: 0.4rem;
    }

    .skill-icon {
        font-size: 1.2rem;
    }

    .skill-name {
        font-size: 0.8rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .contact-method {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #portfolioBtn {
        margin: 0 auto;
        align-self: center;
    }

    .form-row {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .form-group {
        width: 100%;
    }

    .section-title {
        font-size: 1.25rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        gap: 0.5rem;
        width: 100%;
    }

    .title-number {
        font-size: 1.1rem;
    }

    .title-line {
        display: block;
        flex: 1;
        height: 2px;
        background: var(--gradient-1);
        min-width: 30px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   NEON THEME SPECIFIC STYLES
   ============================================ */
.theme-neon .shape {
    box-shadow: 0 0 20px var(--accent-primary), 0 0 40px var(--accent-primary);
}

.theme-neon .skill-card:hover,
.theme-neon .project-card:hover,
.theme-neon .experience-card:hover {
    box-shadow: 0 0 20px var(--accent-primary), 0 0 40px var(--accent-primary);
}

.theme-neon .btn-primary {
    box-shadow: 0 0 20px var(--accent-primary);
}