/* ==========================================
   PREMIUM PORTFOLIO - DESIGN SYSTEM & STYLES
   ========================================== */

/* Color Palette */
:root {
    --bg-primary: #0B0B0F;
    --bg-surface: #141419;
    --bg-surface-light: #1A1A20;
    --color-accent: #00D4FF;
    --color-accent-secondary: #8B5CF6;
    --text-primary: #FFFFFF;
    --text-secondary: #B8BCC8;
    --text-tertiary: #89909E;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.1);
    --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.3);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode */
[data-theme="light"] {
    --bg-primary: #FFFFFF;
    --bg-surface: #F8F9FA;
    --bg-surface-light: #EFEFEF;
    --text-primary: #0B0B0F;
    --text-secondary: #4A4A4A;
    --text-tertiary: #808080;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.05);
    --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.08);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition-fast), color var(--transition-fast);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-secondary);
    font-size: 1rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-secondary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 11, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-fast);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent) 0%, transparent 100%);
}

.theme-toggle {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Page Sections */
.page {
    padding: 100px 0;
    min-height: 100vh;
    position: relative;
}

.page:not(:first-of-type) {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    padding-top: 100px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--color-accent);
    border-radius: 24px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-accent);
    position: relative;
}

.badge-glow {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-arrow {
    display: inline-block;
    transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
}

.dashboard-mock {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-header {
    height: 30px;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.chart {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 8px;
    height: 120px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.2) 100%);
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: float-particle 3s ease-in-out infinite;
    opacity: 0.6;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; top: 40%; animation-delay: 0.5s; }
.particle:nth-child(3) { left: 50%; top: 10%; animation-delay: 1s; }
.particle:nth-child(4) { left: 70%; top: 50%; animation-delay: 1.5s; }
.particle:nth-child(5) { left: 85%; top: 30%; animation-delay: 2s; }

@keyframes float-particle {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10px, -10px) scale(1.5); }
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Featured Section */
.featured-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
}

.featured-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.featured-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-smooth);
}

.featured-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-8px);
}

.featured-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.featured-card h3 {
    margin-bottom: 0.5rem;
}

.featured-card p {
    font-size: 0.9rem;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 80px 0;
}

.banner-content h2 {
    margin-bottom: 1.5rem;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-title {
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}

.profile-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.profile-image-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border: 2px solid var(--color-accent);
    border-radius: 12px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--color-accent);
    overflow: hidden;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.profile-card h2 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.profile-role {
    color: var(--color-accent);
    font-weight: 600;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.content-section-title {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.strengths-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.strengths-list li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.strengths-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* Timeline */
.timeline-section {
    padding: 80px 0;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    width: 45%;
    padding-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    width: 45%;
    padding-left: 2rem;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--color-accent);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    top: 0;
}

.timeline-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.timeline-date {
    display: block;
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Skills Section */
.skills-section {
    margin-bottom: 4rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all var(--transition-smooth);
}

.skill-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.skill-header i {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.skill-header h3 {
    margin: 0;
}

.skill-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-surface-light);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.75rem;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-secondary) 100%);
    border-radius: 3px;
    transition: width 0.8s ease-out;
}

/* Tools Section */
.tools-section {
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.tool-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-smooth);
}

.tool-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.tool-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.tool-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.tool-card p {
    font-size: 0.85rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.project-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-smooth);
    display: grid;
    grid-template-columns: 350px 1fr;
}

.project-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
}

.project-thumbnail {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.chart-preview {
    width: 100%;
    height: 250px;
    background: var(--bg-surface-light);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.chart-preview::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 212, 255, 0.3) 100%);
}

.chart-preview-1::after { content: '📊'; position: absolute; font-size: 3rem; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.chart-preview-2::after { content: '📈'; position: absolute; font-size: 3rem; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.chart-preview-3::after { content: '👥'; position: absolute; font-size: 3rem; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.chart-preview-4::after { content: '🌐'; position: absolute; font-size: 3rem; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.chart-preview-5::after { content: '🧹'; position: absolute; font-size: 3rem; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.chart-preview-6::after { content: '💡'; position: absolute; font-size: 3rem; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.project-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.project-title {
    margin-bottom: 0.75rem;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-meta {
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
}

.meta-value {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.project-insights {
    background: rgba(139, 92, 246, 0.05);
    border-left: 3px solid var(--color-accent-secondary);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.project-insights strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-insights ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 1rem;
}

.project-insights li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    padding-left: 0.75rem;
}

.project-insights li::before {
    content: '✓';
    position: absolute;
    left: -0.75rem;
    color: var(--color-accent);
    font-weight: 700;
}

.project-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    padding: 0.875rem;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.contact-info {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 2rem;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    min-width: 30px;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-content a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.info-content a:hover {
    color: var(--color-accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-icon:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(0, 212, 255, 0.1);
}

/* Footer */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.divider {
    color: var(--text-tertiary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .navbar .container {
        flex-wrap: wrap;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-visual {
        height: 300px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-card {
        grid-template-columns: 1fr;
    }

    .project-thumbnail {
        min-height: 250px;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 100%;
        padding: 0;
        text-align: left;
        margin: 0;
    }

    .timeline-marker {
        position: static;
        transform: none;
        margin-bottom: 1rem;
    }

    .page {
        padding: 60px 0;
    }

    .page:not(:first-of-type) {
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .nav-menu {
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .skills-grid,
    .tools-grid,
    .featured-projects {
        grid-template-columns: 1fr;
    }

    .project-meta {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}
