/* =============================================
   GLOBAL STYLES & RESET
   ============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #6b7280;
    --secondary-color: #9ca3af;
    --accent-color: #14b8a6;
    --dark-bg: #374151;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* =============================================
   UTILITY CLASSES
   ============================================= */

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

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-lighter);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-md);
}

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

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

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

.btn i {
    font-size: 1.1rem;
}

/* =============================================
   NAVIGATION
   ============================================= */

.navbar {
    background: white;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.navbar-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

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

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

.nav-item .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    transition: var(--transition);
}

.nav-item .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
    padding: 6rem 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.headshot {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
    object-fit: cover;
    aspect-ratio: 1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 350px; /* Change this number to make it bigger or smaller */
    width: 100%; /* Ensures it stays responsive on mobile */
    height: auto; /* Prevents the image from looking stretched or squished */
}

/* =============================================
   FEATURED PROJECTS SECTION
   ============================================= */

.featured-projects {
    padding: 5rem 20px;
    background: var(--light-bg);
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}

.project-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    transition: var(--transition);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

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

.project-image {
    width: 100%;
    height: 300px;
    border-radius: 0.75rem;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-title {
    font-size: 1.875rem;
    color: var(--text-dark);
}

.project-hook {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.tech-badge i {
    font-size: 1rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    transition: var(--transition);
}

.project-link:hover {
    gap: 1rem;
    color: var(--secondary-color);
}

.view-all-projects {
    text-align: center;
}

/* =============================================
   TOOLS & SKILLS SECTION
   ============================================= */

.tools-skills {
    padding: 5rem 20px;
    background: white;
}

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

.skill-item {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background: var(--light-bg);
    transition: var(--transition);
    border: 2px solid transparent;
}

.skill-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.skill-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.skill-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.skill-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =============================================
   RESUME TEASER SECTION
   ============================================= */

.resume-teaser {
    padding: 5rem 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.resume-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.resume-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.resume-content p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

.resume-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.resume-teaser .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary-color);
}

.resume-teaser .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

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

/* =============================================
   FOOTER
   ============================================= */

.footer {
    background: var(--dark-bg);
    color: white;
    padding: 4rem 20px 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-content p {
    color: var(--text-lighter);
    font-size: 1rem;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-lighter);
    font-weight: 500;
    transition: var(--transition);
    width: fit-content;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-link i {
    font-size: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-lighter);
    font-size: 0.95rem;
}

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

.heart {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* =============================================
   RESPONSIVE DESIGN (Mobile-First)
   ============================================= */

@media (max-width: 768px) {
    /* Navigation */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 0;
    }

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

    .nav-item {
        width: 100%;
    }

    .nav-item .nav-link {
        padding: 1rem;
        display: block;
    }

    .nav-item .nav-link::after {
        display: none;
    }

    .nav-item .nav-link.active {
        background: rgba(99, 102, 241, 0.1);
        color: var(--primary-color);
    }

    /* Hero Section */
    .hero {
        padding: 4rem 20px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        gap: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Project Cards */
    .project-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1rem;
    }

    .project-image {
        height: 200px;
    }

    .project-title {
        font-size: 1.5rem;
    }

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

    .skill-item {
        padding: 1.5rem;
    }

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

    /* Resume Teaser */
    .resume-actions {
        gap: 1rem;
    }

    .resume-teaser .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }
}

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

    .project-card {
        padding: 1rem;
    }

    .section-container {
        padding: 0 15px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .resume-actions {
        flex-direction: column;
    }
}

/* =============================================
   ANIMATIONS
   ============================================= */

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

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

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

.hero-image {
    animation: slideInRight 0.8s ease-out;
}

/* =============================================
   PAGE HEADER
   ============================================= */

.page-header {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.05), rgba(156, 163, 175, 0.05));
    padding: 4rem 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.page-header .section-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0;
    color: var(--text-dark);
}

.page-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0;
}

.page-header .btn {
    margin-top: 1rem;
}

/* =============================================
   PROJECTS PAGE
   ============================================= */

.filter-section {
    padding: 3rem 20px;
    border-bottom: 1px solid var(--border-color);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-dark);
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
}

.projects-archive {
    padding: 5rem 20px;
    background: var(--light-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card-archive {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

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

.project-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-tier {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.project-card-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.project-card-info h3 {
    font-size: 1.375rem;
    color: var(--text-dark);
}

.project-card-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.view-project-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    transition: var(--transition);
    margin-top: auto;
}

.view-project-btn:hover {
    gap: 1rem;
    color: var(--secondary-color);
}

/* =============================================
   PROJECTS TIMELINE LAYOUT
   ============================================= */

.projects-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.timeline-year-section {
    position: relative;
}

.timeline-year-header {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-left: 2rem;
    border-left: 4px solid var(--primary-color);
}

.timeline-items {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 2rem;
}

/* Add vertical line connecting dots */
.timeline-items::before {
    content: '';
    position: absolute;
    left: 0.375rem;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    z-index: 0;
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 1.5rem;
    z-index: 1;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
}

.timeline-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(107, 114, 128, 0.1);
    transition: all var(--transition);
}

.timeline-item:hover .timeline-dot {
    background: var(--primary-color);
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(107, 114, 128, 0.2);
}

.timeline-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    width: 100%;
}

.timeline-item .project-card-archive {
    flex: 1;
}

/* =============================================
   MOBILE RESPONSIVE QUERIES
   ============================================= */

@media (max-width: 768px) {
    /* Stack the marker and the card vertically */
    .timeline-item {
        flex-direction: column;
        gap: 0.75rem; /* Reduces the gap between the date and the card */
    }

    /* Lay the dot and the date side-by-side horizontally */
    .timeline-marker {
        flex-direction: row;
        align-items: center;
        min-width: auto; /* Removes the 100px width constraint */
    }

    /* Align the date text to the left */
    .timeline-date {
        text-align: left;
        width: auto;
        font-size: 1rem; /* Slightly larger for mobile readability */
    }
}

/* =============================================
   CTA SECTION
   ============================================= */

.cta-section {
    padding: 5rem 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* =============================================
   RESUME PAGE
   ============================================= */

.resume-section {
    padding: 4rem 20px;
    background: white;
}

.resume-desktop {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
}

.resume-mobile {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.resume-mobile-content {
    background: white;
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.resume-icon {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.resume-mobile-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.resume-mobile-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.btn-large {
    width: 100%;
    max-width: 300px;
}

.resume-summary {
    text-align: left;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.resume-summary h3 {
    font-size: 1.375rem;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.resume-summary ul {
    list-style-position: inside;
    color: var(--text-light);
    line-height: 2;
}

.resume-summary li {
    margin-bottom: 0.75rem;
}

.download-section {
    padding: 4rem 20px;
    background: white;
    text-align: center;
}

.download-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.download-section p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* =============================================
   PROJECT DETAIL PAGE
   ============================================= */

.project-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 4rem 20px;
    background: var(--light-bg);
    align-items: center;
}

.project-header-content {
    padding: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.back-link:hover {
    gap: 1rem;
    transform: translateX(-5px);
}

.project-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.5rem;
}

.project-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.project-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.meta-item i {
    font-size: 1.125rem;
    color: var(--primary-color);
}

.project-header-image {
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.project-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content {
    padding: 4rem 20px;
    background: white;
}

.project-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.project-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.project-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-section h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.project-section h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.project-section p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.0625rem;
}

.project-list {
    list-style-position: inside;
    color: var(--text-light);
    line-height: 2;
    padding-left: 1rem;
}

.project-list li {
    margin-bottom: 0.5rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.result-item {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.05), rgba(156, 163, 175, 0.05));
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.result-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.result-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.tech-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.tech-item {
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 0.75rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tech-item:hover {
    border-color: var(--primary-color);
    background: rgba(107, 114, 128, 0.05);
}

.tech-item i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.tech-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.tech-item p {
    color: var(--text-lighter);
    font-size: 0.9rem;
}

/* Sidebar */
.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.info-item {
    margin-bottom: 1rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p {
    color: var(--text-light);
    margin: 0;
}

.tech-badges-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(107, 114, 128, 0.2);
    color: var(--primary-color);
    border-radius: 0.375rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    margin-bottom: 0.75rem;
    width: 100%;
}

.project-button:last-child {
    margin-bottom: 0;
}

.project-button:hover {
    background: var(--primary-color);
    color: white;
}

.related-projects {
    list-style: none;
    padding: 0;
}

.related-projects li {
    margin-bottom: 0.75rem;
}

.related-projects a {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.related-projects a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.project-cta {
    padding: 5rem 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.project-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.project-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* =============================================
   RESPONSIVE: RESUME PAGE
   ============================================= */

@media (max-width: 768px) {
    .resume-desktop {
        display: none;
    }

    .resume-mobile {
        display: block;
    }

    .project-header {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 20px;
    }

    .project-header-image {
        height: 250px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 2rem 20px;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

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

    .timeline-items {
        padding-left: 1.5rem;
    }

    .timeline-items::before {
        left: 0.25rem;
    }

    .timeline-year-header {
        font-size: 1.5rem;
        padding-left: 1.5rem;
    }

    .timeline-marker {
        min-width: 80px;
    }

    .timeline-dot {
        width: 24px;
        height: 24px;
        border-width: 2px;
    }

    .filter-buttons {
        gap: 0.75rem;
    }

    .filter-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }

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

    .result-number {
        font-size: 2rem;
    }

    .project-section h2 {
        font-size: 1.5rem;
    }

    .tech-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .project-header {
        padding: 1.5rem 15px;
    }

    .project-header-image {
        height: 200px;
    }

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

    .timeline-items {
        padding-left: 1rem;
        gap: 1.5rem;
    }

    .timeline-items::before {
        left: 0.15rem;
    }

    .timeline-year-header {
        font-size: 1.25rem;
        padding-left: 1rem;
    }

    .timeline-marker {
        min-width: 70px;
    }

    .timeline-date {
        font-size: 0.75rem;
    }

    .timeline-dot {
        width: 20px;
        height: 20px;
        border-width: 2px;
    }

    .results-grid {
/* =============================================
   RESUME PAGE STYLES
   ============================================= */

.resume-content {
    max-width: 900px;
    margin: 0 auto;
}

.resume-block {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.resume-block:last-child {
    border-bottom: none;
}

.resume-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.resume-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 28px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.resume-summary-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--accent-color);
}

/* Competencies Grid */
.competencies-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.competency-category {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.competency-category-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.competency-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.competency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.competency-badge:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.competency-badge i {
    font-size: 1rem;
}

/* Experience Timeline */
.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experience-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 0.5rem;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.experience-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.experience-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.experience-role {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.experience-company {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

.experience-date {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    margin-left: auto;
}

.experience-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.experience-bullets li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.experience-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.25rem;
}

/* Education Section */
.education-item {
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 0.5rem;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.education-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.education-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.education-degree {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.education-institution {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

.education-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Certifications Gallery */
.certifications-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.certification-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

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

.certification-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 220px;
    background-color: var(--light-bg);
    flex-shrink: 0;
}

.certification-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    cursor: pointer;
}

.certification-item:hover .certification-image img {
    transform: scale(1.08);
}

.certification-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    padding: 0 1rem 1rem 1rem;
}

/* Lightbox Modal for Images */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 2001;
    transition: var(--transition);
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: var(--accent-color);
}

.lightbox-trigger {
    cursor: pointer;
}

/* =============================================
   RESPONSIVE RESUME STYLES
   ============================================= */

@media (max-width: 768px) {
    .page-header {
        min-height: auto;
        padding: 3rem 20px;
    }

    .page-header .section-container {
        gap: 1rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .resume-section-title {
        font-size: 1.25rem;
    }

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

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .experience-date {
        margin-left: 0;
    }

    .certifications-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .certification-image {
        height: 240px;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .page-header {
        min-height: auto;
        padding: 2rem 15px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header p {
        font-size: 0.9rem;
    }

    .page-header .btn {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

    .resume-section {
        padding: 2rem 15px;
    }

    .resume-section-title {
        font-size: 1.1rem;
    }

    .resume-summary-text {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .competency-badges {
        gap: 0.5rem;
    }

    .competency-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .experience-item {
        padding: 1rem;
    }

    .experience-role {
        font-size: 1rem;
    }

    .experience-company {
        font-size: 0.9rem;
    }

    .education-degree {
        font-size: 1rem;
    }

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

    .certification-image {
        height: 200px;
    }

    .certification-title {
        padding: 0 0.75rem 0.75rem 0.75rem;
        font-size: 0.9rem;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 25px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
}


