/* CSS Custom Properties - Design System Colors */
:root {
    /* Primary Colors */
    --primary-blue: #151e3d;
    --primary-blue-hover: #1a2a5a;
    
    /* Text Colors */
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    
    /* Border Colors */
    --border-color: #e5e7eb;
    
    /* Status Colors */
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

body {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

/* Prevent background scroll when a modal is open */
.modal-open {
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   LAYOUT COMPONENTS
   ========================================================================== */

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

/* ==========================================================================
   IN-PAGE LINKS
   ========================================================================== */

a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500; /* Medium weight for emphasis */
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-blue-hover);
}

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

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

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: "Kode Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 1.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.logo-text:hover {
    color: var(--primary-blue-hover);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 2rem;
}

.nav-action-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
}

.nav-action-btn:hover {
    color: var(--primary-blue);
    background: rgba(21, 30, 61, 0.05);
}

.nav-action-btn svg {
    width: 20px;
    height: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

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

.hero-section {
    display: flex;
    align-items: center;
    padding-top: 130px;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-greeting {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    animation: fadeIn 0.6s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    animation: fadeIn 0.6s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    animation: fadeIn 0.6s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeIn 0.6s ease-out 0.4s both;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    animation: fadeIn 0.6s ease-out 0.2s both;
}

/* Removed duplicate hero-swiper CSS - now using !important overrides below */

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

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

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

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

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

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* ==========================================================================
   PAGE HERO
   ========================================================================== */

.page-hero {
    padding: 5.5rem 0 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    color: var(--text-primary);
    position: relative;
}

.page-hero .hero-content {
    grid-template-columns: 1fr;
    text-align: left;
}

.page-hero .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Page Tabs */
.tabs-bar {
    background: transparent;
    padding: 0;
    margin: 0;
    position: relative;
}

.tabs-container {
    display: flex;
    gap: 0;
}

.tab-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    border-radius: 0;
}

.tab-btn:hover {
    color: var(--primary-blue);
}

.tab-btn.active {
    color: var(--primary-blue);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-blue);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.about-content-section {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

/* Photo Gallery */
.about-photos {
    space-y: 2rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.photo-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: scale(1.05);
}

.photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

/* Highlight Links */
.highlight-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.highlight-link:hover {
    color: var(--primary-blue-hover);
    text-decoration: underline;
}

.about-story {
    space-y: 2rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

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

.story-content {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.story-content p {
    margin-bottom: 1.5rem;
}

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

/* ==========================================================================
   CREDENTIALS SECTION
   ========================================================================== */

.credentials-section {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.credentials-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.credentials-container::before,
.credentials-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 10;
    pointer-events: none;
}

.credentials-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 20%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
}

.credentials-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 20%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
}

.credentials-marquee {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: scroll 40s linear infinite;
    width: max-content;
    will-change: transform;
}

.credentials-marquee:hover {
    animation-play-state: paused;
}

.credential-item {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    flex-shrink: 0;
}

.credential-item:hover {
    transform: scale(1.1);
}

.credential-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

/* Specific sizing for different logo types */
.credential-item[title="Microsoft"] .credential-logo {
    width: 120px;
    height: 40px;
}

.credential-item[title="Intel"] .credential-logo {
    width: 80px;
    height: 60px;
}

.credential-item[title="Wolfram Research"] .credential-logo {
    width: 100px;
    height: 60px;
}

.credential-item[title="Humana"] .credential-logo {
    width: 90px;
    height: 50px;
}

.credential-item[title="Indiana University"] .credential-logo {
    width: 70px;
    height: 70px;
}

.credential-item[title="Purdue University"] .credential-logo {
    width: 60px;
    height: 60px;
}

.credential-item[title="Clemson"] .credential-logo {
    width: 100px;
    height: 50px;
}

.credential-item[title="Election Systems and Software"] .credential-logo {
    width: 80px;
    height: 60px;
}

.credential-item[title="GE Oil & Gas"] .credential-logo {
    width: 90px;
    height: 50px;
}

.credential-item:hover .credential-logo {
    filter: grayscale(0%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 40px));
    }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
    padding: 6rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-description p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

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

.about-stats-section {
    space-y: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    text-decoration: none;
    color: var(--primary-blue);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-blue-hover);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 1.2rem;
}

.contact-form {
    space-y: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================================================
   FUN SECTION (formerly Creative)
   ========================================================================== */

.creative-section {
    margin-bottom: 6rem;
}

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

.creative-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.creative-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.creative-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.creative-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.creative-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.creative-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.creative-link:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.creative-icon {
    font-size: 1rem;
}

.creative-preview h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.creative-list {
    list-style: none;
    padding: 0;
}

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

.creative-list a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.creative-list a:hover {
    color: var(--primary-blue-hover);
    text-decoration: underline;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-header .section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-top: 0.5rem;
}

.testimonials-cta {
    text-align: center;
    margin-top: 3rem;
}

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

.testimonial-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-quote {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ==========================================================================
   TIMELINE
   ========================================================================== */

.timeline-content {
    padding: 4rem 0;
}

.timeline-grid {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: -3rem;
    width: 2px;
    background: var(--border-color);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-date {
    width: 100px;
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
    padding-left: 2rem;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   SKILLS & EDUCATION
   ========================================================================== */

.skills-section {
    margin-bottom: 6rem;
}

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

.skill-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
}

.skill-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.skill-list {
    list-style: none;
    padding: 0;
}

.skill-list li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
}

.education-section {
    space-y: 2rem;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.education-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
}

.education-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.education-degree {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.education-year {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.education-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */

.gallery-section {
    padding: 6rem 0;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.875rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item-content {
    padding: 1.5rem;
}

.gallery-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.gallery-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.gallery-item .category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   PROJECT GALLERY
   ========================================================================== */

.project-gallery-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.project-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.project-subtitle {
    font-size: 0.875rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Swiper Navigation */
.project-gallery-swiper .swiper-button-next,
.project-gallery-swiper .swiper-button-prev {
    color: var(--primary-blue);
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-gallery-swiper .swiper-button-next:hover,
.project-gallery-swiper .swiper-button-prev:hover {
    background: var(--primary-blue);
    color: white;
}

.project-gallery-swiper .swiper-pagination {
    bottom: -30px;
}

.project-gallery-swiper .swiper-pagination-bullet {
    background: var(--border-color);
    opacity: 0.7;
}

.project-gallery-swiper .swiper-pagination-bullet-active {
    background: var(--primary-blue);
    opacity: 1;
}

/* ==========================================================================
   PROJECT TEMPLATE
   ========================================================================== */

.project-header {
    padding: 6rem 0 3rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-hover) 100%);
    color: white;
}

.project-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.project-breadcrumb {
    margin-bottom: 2rem;
}

.project-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-breadcrumb a:hover {
    color: white;
}

.project-title-large {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project-subtitle-large {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.meta-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-slideshow {
    padding: 4rem 0;
}

.project-swiper {
    max-width: 1200px;
    margin: 0 auto;
}

.project-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 500px;
    padding: 2rem;
}

.slide-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.slide-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.slide-list {
    list-style: none;
    padding: 0;
}

.slide-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.slide-list li::before {
    content: "•";
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.slide-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

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

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    line-height: 1.4;
}

.slide-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-image img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Swiper Navigation for Project Template */
.project-swiper .swiper-button-next,
.project-swiper .swiper-button-prev {
    color: var(--primary-blue);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-swiper .swiper-button-next:hover,
.project-swiper .swiper-button-prev:hover {
    background: var(--primary-blue);
    color: white;
}

.project-swiper .swiper-pagination {
    bottom: 20px;
}

.project-swiper .swiper-pagination-bullet {
    background: var(--border-color);
    opacity: 0.7;
}

.project-swiper .swiper-pagination-bullet-active {
    background: var(--primary-blue);
    opacity: 1;
}

/* ==========================================================================
   CHAT INTERFACE
   ========================================================================== */

.chat-interface {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 24rem;
    height: 32rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.chat-interface.active {
    display: flex;
}

.chat-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.chat-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.25rem;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    margin-bottom: 1rem;
}

.message.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.message.assistant .message-content {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.message.user .message-content {
    background: var(--primary-blue);
    color: white;
}

.chat-input {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.chat-input button {
    padding: 0.75rem 1rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
}

/* ==========================================================================
   COMMAND CONSOLE (Code-like Navigator)
   ========================================================================== */

.code-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

.code-modal-overlay.active { display: flex; }

.code-modal {
    width: min(900px, calc(100vw - 2rem));
    background: #0b1020;
    color: #e5e7eb;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    overflow: hidden;
    font-family: "Kode Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.code-title { font-weight: 600; color: #c7d2fe; letter-spacing: 0.02em; font-size: 0.95rem; }

.code-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
}

.code-body { padding: 16px; }

.code-input-row {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 12px 14px 12px 74px;
}

.code-prefix {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #60a5fa;
    font-weight: 600;
}

.code-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #e5e7eb;
    font-size: 1rem;
}

.code-suggestions {
    margin-top: 10px;
    list-style: none;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    background: rgba(3, 7, 18, 0.9);
    max-height: 240px;
    overflow: auto;
}

.code-suggestion {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    color: #cbd5e1;
    cursor: pointer;
}

.code-suggestion:hover,
.code-suggestion.active {
    background: rgba(30, 64, 175, 0.35);
}

.code-suggestion .sig { color: #93c5fd; }
.code-suggestion .desc { color: #94a3b8; font-size: 0.85rem; }

.code-result {
    margin-top: 12px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #e5e7eb;
}

.code-hint {
    margin-top: 10px;
    color: #94a3b8;
    font-size: 0.85rem;
}

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

.footer {
    background: var(--text-primary);
    color: white;
    padding: 2rem 0;
}

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

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.social-link-logo {
    border-radius: 4px;
}

/* ==========================================================================
   COMING SOON BANNER
   ========================================================================== */

.coming-soon-banner {
    background: #3b82f6;
    color: white;
    padding: 12px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.banner-icon {
    flex-shrink: 0;
}

.banner-text {
    font-size: 14px;
    font-weight: 500;
}

/* Add bottom padding to body to account for sticky footer - only for coming-soon pages */
.has-coming-soon {
    padding-bottom: 45px;
}

/* ==========================================================================
   SOCIAL LINKS (Coming Soon Page)
   ========================================================================== */

.social-links {
    display: flex;
    gap: 16px;
}

.coming-soon-banner .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
}

.coming-soon-banner .social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #374151;
    transform: translateY(-2px);
}


/* ==========================================================================
   LATEST WORK SECTION
   ========================================================================== */

.latest-work-section {
    padding: 60px;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.latest-work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.work-item {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    min-height: 200px;
    min-width: fit-content;
}

.work-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.work-thumbnail {
    flex-shrink: 0;
    width: 120px;
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: normal;
}

.work-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.work-type {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.work-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.work-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.work-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        min-height: auto;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;

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

    /* Hero swiper responsive sizing handled by main CSS */
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .credentials-container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        display: none;
    }

    /* Mobile menu styles moved back to script.js for better compatibility */
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .credentials-grid {
        gap: 1.5rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .category-filter {
        justify-content: center;
    }
    
    .project-slide {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .slide-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-title-large {
        font-size: 2rem;
    }
    
    .project-meta {
        justify-content: center;
    }
    
    .chat-interface {
        width: calc(100vw - 2rem);
        right: 1rem;
        left: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .credentials-container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
} 

/* ==========================================================================
   HERO GALLERY - Simple, user-friendly image gallery
   ========================================================================== */

.hero-gallery {
    width: 100%;
    max-width: 28rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-gallery-main {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-hover) 100%);
}

.hero-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    display: block;
    transition: all 0.3s ease;
}

.hero-gallery-thumbnails {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.gallery-thumbnail {
    width: 60px;
    height: 60px;
    aspect-ratio: 1/1;
    border-radius: 0.5rem;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-thumbnail:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.gallery-thumbnail.active {
    opacity: 1;
    border-color: var(--primary-blue);
} 