/* ===========================
   PROFESSIONAL PORTFOLIO
   Clean, Corporate-Friendly Design
   =========================== */

/* CSS Variables */
:root {
    /* Colors - Dark Theme */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #a78bfa;
    --accent: #10b981;
    --text-dark: #f1f5f9;
    --text-medium: #cbd5e1;
    --text-light: #94a3b8;
    --bg-body: #0b1220;
    --bg-white: #16213b;
    --bg-gray: #1f2a3d;
    --bg-light: #24344e;
    --border: #2f3d57;
    
    /* Shadows - Enhanced for dark theme */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-body);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.75;
    font-size: 1.015rem;
    max-width: 68ch;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Section */
section {
    padding: calc(var(--spacing-xl) + var(--spacing-sm)) 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
    border-radius: 99px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.25rem;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding-top: 5rem;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.typed-text {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 18px 32px -20px rgba(59, 130, 246, 0.65);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 24px 42px -18px rgba(59, 130, 246, 0.75);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -22px rgba(59, 130, 246, 0.65);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    font-size: 1.25rem;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about {
    background: var(--bg-white);
}

.about-content {
    max-width: 900px;
    margin: var(--spacing-lg) auto 0;
}

.about-text p {
    font-size: 1.0625rem;
    color: var(--text-medium);
    margin-bottom: 1.25rem;
}

.about-text .highlight {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(145deg, rgba(31, 42, 61, 0.95), rgba(23, 36, 62, 0.95));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px -24px rgba(59, 130, 246, 0.45);
    border-color: rgba(59, 130, 246, 0.35);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--text-medium);
    font-weight: 500;
}

/* ===========================
   EXPERIENCE SECTION
   =========================== */
.experience {
    background: var(--bg-gray);
}

.timeline {
    max-width: 900px;
    margin: var(--spacing-lg) auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg-gray);
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-content {
    background: linear-gradient(145deg, rgba(36, 52, 78, 0.9), rgba(20, 32, 52, 0.95));
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.timeline-content h3 {
    font-size: 1.375rem;
    font-weight: 700;
}

.timeline-date {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
}

.timeline-content h4 {
    color: var(--text-medium);
    font-size: 1.0625rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.project-name {
    color: var(--accent);
    font-weight: 600;
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.achievement-list {
    list-style: none;
    margin: 1.25rem 0;
}

.achievement-list li {
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--text-medium);
    line-height: 1.6;
}

.achievement-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.125rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.tag {
    background: var(--bg-gray);
    color: var(--primary);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid var(--border);
}

/* ===========================
   PROJECTS SECTION
   =========================== */
.projects {
    background: var(--bg-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    align-items: stretch;
    margin-top: var(--spacing-lg);
}

.project-card {
    background: linear-gradient(145deg, rgba(36, 52, 78, 0.92), rgba(18, 28, 48, 0.98));
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.12);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px -20px rgba(59, 130, 246, 0.5);
    border-color: rgba(59, 130, 246, 0.35);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
    flex-shrink: 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.project-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(15, 23, 42, 0.8));
    color: var(--text-light);
    font-size: 2.5rem;
}

.project-placeholder i {
    color: var(--primary);
}

.project-card:hover .project-image img {
    transform: scale(1.03);
}

.project-header,
.project-role,
.project-description,
.project-highlights,
.project-card .tech-tags,
.project-links {
    padding: 0 1.25rem;
}

.project-header {
    padding-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.project-header h3 {
    font-size: 1.25rem;
    flex: 1;
}

.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-badge.production {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.status-badge.personal {
    background: rgba(139, 92, 246, 0.1);
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

.project-role {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.project-description {
    color: var(--text-medium);
    line-height: 1.5;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    flex-grow: 0;
}

.project-highlights {
    flex-grow: 1;
}

.project-highlights h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    padding: 0 1.25rem;
}

.project-highlights ul {
    list-style: none;
    margin-bottom: 1rem;
    padding: 0 1.25rem;
}

.project-highlights li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--text-medium);
    font-size: 0.875rem;
    line-height: 1.5;
}

.project-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.project-card .tech-tags,
.project-links {
    padding: 0 1.25rem;
}

.project-card .tech-tags {
    margin-top: auto;
    padding-top: 0.5rem;
}

.project-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-bottom: 1.25rem;
    flex-wrap: wrap;
}

.project-link {
    padding: 0.625rem 1.25rem;
    background: rgba(59, 130, 246, 0.08);
    color: var(--primary);
    border-radius: var(--radius-md);
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: var(--transition);
    font-size: 0.9375rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.project-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    border: 2px dashed var(--border);
    background: var(--bg-light);
    border-radius: var(--radius-xl);
}

.coming-soon-content {
    text-align: center;
}

.coming-soon-content i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.coming-soon-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.coming-soon-content p {
    color: var(--text-light);
}

/* ===========================
   SKILLS SECTION
   =========================== */
.skills {
    background: var(--bg-gray);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: var(--spacing-lg);
}

.skill-category {
    background: linear-gradient(145deg, rgba(36, 52, 78, 0.92), rgba(20, 32, 52, 0.95));
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(59, 130, 246, 0.12);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -24px rgba(59, 130, 246, 0.45);
    border-color: rgba(59, 130, 246, 0.35);
}

.skill-category h3 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-category i {
    color: var(--primary);
    font-size: 1.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: var(--bg-gray);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    font-weight: 500;
}

.skill-tag:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.05);
}

/* ===========================
   CERTIFICATES SECTION
   =========================== */
.certificates {
    background: var(--bg-white);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: var(--spacing-lg);
}

.certificate-card {
    background: linear-gradient(145deg, rgba(36, 52, 78, 0.92), rgba(20, 32, 52, 0.95));
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    border: 1px solid rgba(59, 130, 246, 0.12);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.certificate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -24px rgba(59, 130, 246, 0.45);
    border-color: rgba(59, 130, 246, 0.35);
}

.certificate-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.certificate-icon i {
    font-size: 1.75rem;
    color: white;
}

.certificate-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.certificate-provider {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.certificate-description {
    color: var(--text-medium);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.certificate-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--bg-gray);
    color: var(--primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    font-size: 0.9375rem;
    font-weight: 600;
    align-self: flex-start;
}

.certificate-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateX(4px);
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact {
    background: var(--bg-gray);
}

.contact-content {
    max-width: 800px;
    margin: var(--spacing-lg) auto 0;
}

.contact-text {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-text p {
    font-size: 1.125rem;
    color: var(--text-medium);
}

.contact-form-wrapper {
    background: linear-gradient(145deg, rgba(36, 52, 78, 0.92), rgba(20, 32, 52, 0.95));
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(59, 130, 246, 0.12);
    margin-bottom: 3rem;
}

.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;
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    background: var(--bg-white);
    border: 1px solid var(--border);
    color: var(--text-dark);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    align-self: flex-start;
    cursor: pointer;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-status {
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: linear-gradient(145deg, rgba(36, 52, 78, 0.92), rgba(20, 32, 52, 0.95));
    padding: 2.5rem 1.75rem;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(59, 130, 246, 0.12);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -24px rgba(59, 130, 246, 0.45);
    border-color: rgba(59, 130, 246, 0.35);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: var(--text-medium);
    font-size: 0.9375rem;
    word-break: break-word;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--bg-white);
    padding: 2.5rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer p {
    color: var(--text-medium);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--primary);
    font-size: 0.9375rem;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-dark);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        background-color: var(--bg-gray);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }

    section {
        padding: var(--spacing-xl) 0;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .timeline::before {
        left: 6px;
    }

    .timeline-item {
        padding-left: 2.5rem;
    }

    .timeline-dot {
        left: 0;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .projects-grid,
    .skills-grid,
    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .project-header,
    .project-role,
    .project-description,
    .project-highlights,
    .project-card .tech-tags,
    .project-links {
        padding: 0 1.25rem;
    }

    .project-header {
        padding-top: 1.25rem;
    }

    .project-links {
        padding-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .typed-text {
        font-size: 1.125rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .project-links {
        flex-direction: column;
    }

    .project-link {
        width: 100%;
        justify-content: center;
    }
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-gray { color: var(--text-medium); }
.font-bold { font-weight: 700; }
.mb-0 { margin-bottom: 0; }
