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

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --dark: #0f172a;
    --gray: #475569;
    --light-gray: #f1f5f9;
    --white: #ffffff;
    --border: #e2e8f0;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
}

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

/* ===== Navigation ===== */
.nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: transform 0.2s;
}

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

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

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s;
}

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

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

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

/* ===== Hero Section ===== */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content {
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 700px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

a {
    text-decoration: none;
}

/* ===== Sections ===== */
.skills,
.featured-projects {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

/* ===== Skills Grid ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.skill-card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.skill-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.skill-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-list li {
    color: var(--gray);
    font-size: 0.9375rem;
    padding-left: 1.5rem;
    position: relative;
}

.skill-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ===== Projects Grid ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
}

.project-content {
    padding: 2rem;
}

.project-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--light-gray);
    color: var(--primary);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.project-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
}

.project-link:hover {
    transform: translateX(4px);
}

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

/* ===== CTA Banner ===== */
.cta-banner {
    background: var(--dark);
    padding: 6rem 0;
    text-align: center;
}

.cta-banner h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.25rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--light-gray);
    padding: 2rem 0;
}

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

.footer-left p {
    color: var(--gray);
    font-size: 0.875rem;
}

.footer-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-right a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

.separator {
    color: var(--gray);
}

/* Project-specific gradients */
.project-card:nth-child(1) .placeholder-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-card:nth-child(2) .placeholder-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.project-card:nth-child(3) .placeholder-image {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* Veekens Method project card (if you add 4th card on homepage) */
.project-card:nth-child(4) .placeholder-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}


/* Project-specific gradients (homepage) */
.projects-grid .project-card:nth-child(1) .placeholder-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.projects-grid .project-card:nth-child(2) .placeholder-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.projects-grid .project-card:nth-child(3) .placeholder-image {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

 /* ===== About Page ===== */
        .about-hero {
            padding: 4rem 0;
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        }
        
        .about-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 4rem;
            margin: 4rem 0;
        }
        
        .about-sidebar {
            position: sticky;
            top: 100px;
            align-self: start;
        }
        
        .profile-image {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 5rem;
            color: white;
            margin-bottom: 2rem;
        }
        
        .contact-info {
            list-style: none;
            margin-top: 2rem;
        }
        
        .contact-info li {
            margin-bottom: 1rem;
            color: var(--gray);
        }
        
        .contact-info strong {
            color: var(--dark);
            display: block;
            margin-bottom: 0.25rem;
            font-size: 0.875rem;
        }
        
        .contact-info a {
            color: var(--primary);
            text-decoration: none;
        }
        
        .about-main h2 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
            color: var(--dark);
        }
        
        .about-main p {
            color: var(--gray);
            margin-bottom: 1.5rem;
            line-height: 1.8;
        }
        
        .timeline {
            margin: 3rem 0;
        }
        
        .timeline-item {
            padding: 2rem 0;
            border-left: 2px solid var(--border);
            padding-left: 2rem;
            position: relative;
        }
        
        .timeline-item::before {
            content: '';
            width: 12px;
            height: 12px;
            background: var(--primary);
            border-radius: 50%;
            position: absolute;
            left: -7px;
            top: 2.5rem;
        }
        
        .timeline-date {
            color: var(--primary);
            font-weight: 600;
            font-size: 0.875rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        
        .timeline-title {
            font-size: 1.25rem;
            margin: 0.5rem 0;
            color: var(--dark);
        }
        
        .timeline-company {
            color: var(--gray);
            font-style: italic;
            margin-bottom: 0.5rem;
        }
        
        .timeline-desc {
            color: var(--gray);
            line-height: 1.6;
        }
        
        .education-grid {
            display: grid;
            gap: 2rem;
            margin: 2rem 0;
        }
        
        .education-card {
            padding: 2rem;
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 8px;
        }
        
        .education-card h3 {
            color: var(--dark);
            margin-bottom: 0.5rem;
        }
        
        .education-card p {
            color: var(--gray);
            margin: 0.25rem 0;
        }
        
        .skills-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin: 2rem 0;
        }
        
        .skills-category h3 {
            color: var(--dark);
            margin-bottom: 1rem;
            font-size: 1.25rem;
        }
        
        .skills-category ul {
            list-style: none;
        }
        
        .skills-category li {
            color: var(--gray);
            margin-bottom: 0.5rem;
            padding-left: 1.5rem;
            position: relative;
        }
        
        .skills-category li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--primary);
            font-weight: 700;
        }
        
        
/* ===== Contact page ===== */
        .contact-hero {
            padding: 4rem 0;
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            text-align: center;
        }
        
        .contact-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            padding: 4rem 0;
        }
        
        .contact-info-section h2 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
            color: var(--dark);
        }
        
        .contact-info-section p {
            color: var(--gray);
            margin-bottom: 2rem;
            line-height: 1.8;
        }
        
        .contact-details {
            list-style: none;
            margin: 2rem 0;
        }
        
        .contact-details li {
            padding: 1.5rem;
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 8px;
            margin-bottom: 1rem;
            transition: all 0.3s;
        }
        
        .contact-details li:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-md);
        }
        
        .contact-details strong {
            color: var(--primary);
            display: block;
            margin-bottom: 0.5rem;
            font-size: 0.875rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        
        .contact-details a {
            color: var(--dark);
            text-decoration: none;
            font-size: 1.125rem;
        }
        
        .contact-details a:hover {
            color: var(--primary);
        }
        
        .contact-form-section h2 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
            color: var(--dark);
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--dark);
            font-weight: 600;
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.875rem;
            border: 1px solid var(--border);
            border-radius: 8px;
            font-family: inherit;
            font-size: 1rem;
            transition: all 0.3s;
        }
        
        .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 {
            min-height: 150px;
            resize: vertical;
        }
        
        .form-note {
            background: var(--light-gray);
            padding: 1.5rem;
            border-radius: 8px;
            margin-top: 2rem;
            border-left: 4px solid var(--primary);
        }
        
        .form-note p {
            color: var(--gray);
            margin: 0;
            font-size: 0.9375rem;
        }
         

        
        .case-study {
            padding: 4rem 0;
            border-bottom: 1px solid var(--border);
        }
        
        .case-study:last-child {
            border-bottom: none;
        }
        
        .case-hero {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 4rem 2rem;
            border-radius: 12px;
            color: var(--white);
            margin-bottom: 3rem;
            text-align: center;
        }
        
        .case-hero h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }
        
        .case-meta {
            display: flex;
            gap: 2rem;
            justify-content: center;
            flex-wrap: wrap;
            font-size: 0.9375rem;
            opacity: 0.9;
        }
        
        .case-meta-item {
            display: flex;
            gap: 0.5rem;
        }
        
        .case-section {
            margin-bottom: 3rem;
        }
        
        .case-section h2 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
            color: var(--dark);
        }
        
        .case-section h3 {
            font-size: 1.5rem;
            margin: 2rem 0 1rem;
            color: var(--dark);
        }
        
        .case-section p {
            color: var(--gray);
            margin-bottom: 1rem;
            line-height: 1.8;
        }
        
        .case-section ul {
            margin: 1rem 0 1rem 2rem;
        }
        
        .case-section li {
            color: var(--gray);
            margin-bottom: 0.5rem;
            line-height: 1.6;
        }
        
        .tech-stack {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin: 1.5rem 0;
        }
        
        .tech-tag {
            padding: 0.5rem 1rem;
            background: var(--light-gray);
            color: var(--primary);
            border-radius: 6px;
            font-weight: 600;
            font-size: 0.875rem;
        }
        
        .highlight-box {
            background: var(--light-gray);
            padding: 2rem;
            border-radius: 8px;
            border-left: 4px solid var(--primary);
            margin: 2rem 0;
        }
        
        .highlight-box strong {
            color: var(--primary);
        }
        
        .divider {
            height: 1px;
            background: var(--border);
            margin: 4rem 0;
        }
        
/* ===== Responsive Design ===== */

@media (max-width: 968px) {
            .about-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .about-sidebar {
                position: static;
            }
            
            .profile-image {
                margin: 0 auto 2rem;
            }
            
            .skills-list {
                grid-template-columns: 1fr;
            }

            .contact-container {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
        }
        

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        gap: 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-banner h2 {
        font-size: 1.75rem;
    }
    
    .cta-banner p {
        font-size: 1.125rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-right {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .separator {
        display: none;
    }

    .case-hero h1 {
                font-size: 2rem;
            }
            
    .case-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
            
    .case-section h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .skill-icon {
        font-size: 2.5rem;
    }
}