:root {
    --primary-color: #2E5C55;
    /* Deep Emerald Green */
    --secondary-color: #4A6FA5;
    /* Slate Blue */
    --accent-color: #D4AF37;
    /* Muted Gold */
    --bg-color: #FAFAF9;
    /* Off-white/Cream */
    --card-bg: rgba(255, 255, 255, 0.7);
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --border-color: rgba(0, 0, 0, 0.05);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section {
    padding: 5rem 0;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(250, 250, 249, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links a {
    margin-left: 2rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    display: inline-block;
    border: 1px solid var(--primary-color);
}

.btn-primary.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background-color: #234641;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    display: inline-block;
    border: 1px solid var(--primary-color);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: rgba(46, 92, 85, 0.05);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(46, 92, 85, 0.15);
    z-index: -1;
}

.bio-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 1.5rem 0 2rem;
    max-width: 500px;
}

/* Hero Visual & Profile Photo */
.img-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-photo {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    /* Rectangular profile photo with rounded corners */
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 5px solid rgba(255, 255, 255, 0.5);
}

.abstract-shape {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at center, rgba(46, 92, 85, 0.15) 0%, rgba(250, 250, 249, 0) 70%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Glass Card Style */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.education-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.edu-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Experience / Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #E5E7EB;
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2.5rem;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 24px;
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px var(--primary-color);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.job-header h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
}

.date {
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.03);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.job-details li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
    color: var(--text-secondary);
}

.job-details li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 
   ========================================
   PROJECT WALKTHROUGH STYLES (NEW) 
   ========================================
*/
.project-walkthrough-container {
    position: relative;
    width: 100%;
}

.walkthrough-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-right: 1rem;
}

.nav-btn {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

.nav-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.progress-indicators {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #E5E7EB;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

.walkthrough-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 1rem 0 3rem;
    /* Bottom padding for hover effects */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.walkthrough-scroll::-webkit-scrollbar {
    display: none;
}

.walkthrough-card {
    flex: 0 0 100%;
    max-width: 500px;
    /* Or 400px for multiple view */
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    min-height: 350px;
    position: relative;
    border-left: 4px solid var(--primary-color);
}

@media (min-width: 768px) {
    .walkthrough-card {
        flex: 0 0 45%;
        /* Show partial next info */
        max-width: none;
        scroll-snap-align: start;
    }
}

.step-badge {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-header h3 {
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.card-text {
    flex-grow: 1;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.card-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.card-list i {
    color: var(--primary-color);
    width: 18px;
    height: 18px;
}

.card-icon {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    color: rgba(46, 92, 85, 0.1);
}

.tech-stack-display {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-stack-display span {
    background: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid #E5E7EB;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(230, 240, 238, 0.9));
    border-color: var(--accent-color);
}

.outcome-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

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

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

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


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

.skill-category h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(46, 92, 85, 0.1);
    padding-bottom: 0.5rem;
    display: inline-block;
}

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

.tags span {
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    color: var(--text-secondary);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Footer */
footer {
    background-color: #1F2937;
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

footer h2 {
    color: white;
    margin-bottom: 1rem;
}

footer p {
    color: #9CA3AF;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    transition: var(--transition);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-200 {
    animation-delay: 0.2s;
}

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

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 6rem;
    }

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

    .nav-links {
        display: none;
        /* Add JS hamburger menu logic for real implementation */
    }

    .cta-group {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn-secondary {
        margin-left: 0;
    }
}