/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1.5rem;
    color: #2d2d2d;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.section {
    padding: 8rem 0;
    min-height: auto;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.nav-brand {
    flex: 1;
}

.nav-brand a {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #1a1a1a;
}

.nav-brand .greeting {
    font-weight: 300;
}

/* Burger Menu Button */
.burger-menu {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.burger-line {
    width: 25px;
    height: 2px;
    background-color: #1a1a1a;
    margin: 3px 0;
    transition: 0.3s;
}

/* Navigation Links - Hidden by default, shown as overlay when active */
.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 3rem;
    font-size: 1.2rem;
    transition: right 0.3s ease;
    z-index: 1000;
}

.nav-links.active {
    right: 0;
}

/* Burger menu animation */
.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links a {
    font-size: 1rem;
    font-weight: 400;
    color: #2d2d2d;
    position: relative;
}

.nav-links a:hover {
    color: #1a1a1a;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #1a1a1a;
    transition: width 0.3s ease;
}

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

.nav-links a.active {
    color: #1a1a1a;
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 12rem 0 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('attached_assets/44_1753254076988.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -0.02em;
    font-weight: 400;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    line-height: 1.6;
}

.hero-subtitle {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: #6a6a6a;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: #4a4a4a;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}



/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    color: #1a1a1a;
}

.section-title-left {
    text-align: left;
    margin-bottom: 4rem;
    color: #1a1a1a;
    font-size: clamp(2rem, 4vw, 3rem);
}

.page-title {
    text-align: center;
    margin-bottom: 4rem;
    color: #1a1a1a;
    font-size: clamp(2rem, 4vw, 3rem);
}

/* Projects Section */
.projects {
    background-color: #fafafa;
    padding-top: 10rem;
}

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

.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.project-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    /* Create placeholder background */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    background-size: 400% 400%;
    animation: shimmer 1.5s ease-in-out infinite;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    /* Enable hardware acceleration for smoother performance */
    transform: translateZ(0);
    will-change: transform;
}

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

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.project-description {
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    align-items: center;
}

.tag {
    font-size: 0.875rem;
    color: #6a6a6a;
    background-color: #f0f0f0;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    white-space: nowrap;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

/* About page styles */
.about-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    text-align: left;
}

.about-hero {
    text-align: left;
}

.about-text p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    text-align: left;
}

.about-title {
    font-family: 'Roboto', sans-serif;
    font-size: 30px !important;
    font-weight: 700 !important;
    color: #1a1a1a;
    line-height: 1.2;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.about-title em {
    font-style: italic;
}

.core-values {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.values-title {
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6a6a6a;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-align: left;
}

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

.values-list li {
    font-family: 'Roboto', sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 0.5rem;
    text-align: left;
}

.about-photo {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

.about-photo-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    color: #6c757d;
    font-weight: 500;
}

@media (max-width: 768px) {
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-photo {
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
        object-position: top center;
        border-radius: 6px;
    }
    
    .about-photo-placeholder {
        height: 300px;
        aspect-ratio: 1;
    }
}

/* Project Category Styles */
.project-category {
    margin-bottom: 4rem;
}

.project-category .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: left;
}

.category-separator {
    height: 1px;
    background-color: #e0e0e0;
    margin: 4rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.view-project-btn {
    display: inline-block;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-decoration: none;
}

.view-project-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.project-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    color: #1a1a1a;
    font-weight: 500;
    margin-top: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #666;
    border-bottom-color: #1a1a1a;
}

/* About Section */
.about {
    padding-top: 10rem;
}

.about-hero {
    text-align: center;
    margin-bottom: 6rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-subtitle {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: #6a6a6a;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-weight: 700;
}

.about-intro {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: #4a4a4a;
    line-height: 1.6;
}

/* Accordion Styles */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    padding: 2rem 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.accordion-header:hover {
    color: #666;
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    font-weight: 300;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-bottom: 0;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding-bottom: 2rem;
}

.accordion-content p {
    color: #4a4a4a;
    line-height: 1.6;
    font-size: 1rem;
}

/* CV Section */
.cv {
    background-color: #fafafa;
    padding-top: 10rem;
}

.timeline {
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e0e0e0;
}

.timeline-item {
    position: relative;
    padding-left: 6rem;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #ffffff;
    border: 3px solid #1a1a1a;
    border-radius: 50%;
}

.timeline-date {
    font-size: 0.875rem;
    color: #6a6a6a;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.25rem;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.timeline-company {
    font-size: 1rem;
    color: #4a4a4a;
    margin-bottom: 1rem;
    font-weight: 400;
}

.timeline-description {
    color: #2d2d2d;
    line-height: 1.6;
}

.cv-download {
    text-align: center;
    margin-top: 4rem;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #ffffff;
    background-color: #1a1a1a;
    padding: 1rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.download-button:hover {
    background-color: #2d2d2d;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 4rem 0 2rem;
}

.footer-content {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-link {
    color: #cccccc;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #999999;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* Responsive Design */

/* Desktop: show desktop images, hide mobile images */
@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
    
    .desktop-only {
        display: block;
    }
}

/* Mobile: show mobile images, hide desktop images */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav {
        padding: 0.75rem 1rem;
    }
    
    /* Mobile-specific adjustments for burger menu */
    .nav-links {
        font-size: 1.5rem;
        gap: 4rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .hero {
        padding: 8rem 0 4rem;
        min-height: 80vh;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-content {
        padding: 1.5rem 1rem;
    }
    
    .project-description {
        text-align: left;
        margin-left: 0;
        padding-left: 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .timeline {
        margin-left: 1rem;
    }
    
    .timeline::before {
        left: 1rem;
    }
    
    .timeline-item {
        padding-left: 4rem;
    }
    
    .timeline-item::before {
        left: 0.25rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.875rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .project-content {
        padding: 1.5rem 1rem;
    }
    
    .timeline-item {
        padding-left: 3rem;
    }
}

/* Smooth transitions for scroll */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

/* Shimmer effect for image placeholders */
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hide shimmer when image is loaded */
.project-image.loaded {
    animation: none;
    background: transparent;
}

/* Print styles */
/* Project Page Styles */
.project-header {
    text-align: left;
    padding: 2rem 0 3rem;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 3rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #666;
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #1a1a1a;
}

.project-main-title {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.project-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.125rem;
    color: #666;
    font-weight: 400;
    margin-bottom: 2rem;
}

.project-description p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #4a4a4a;
    max-width: 800px;
}

.project-gallery {
    margin-bottom: 4rem;
}

.project-image-container {
    margin-bottom: 3rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-image-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.project-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Project page specific title styles - override the general .project-title */
.project-info .project-title,
.content-wrapper .project-title,
h1.project-title {
    font-size: 1.25rem !important;
    font-weight: 500 !important;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-family: 'Roboto', sans-serif;
}

.project-navigation {
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
    margin-top: 3rem;
}

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

.nav-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Responsive adjustments for project page */
@media (max-width: 768px) {
    .project-header {
        padding: 1.5rem 0 2rem;
        margin-bottom: 2rem;
    }
    
    .project-main-title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 0.75rem;
    }
    
    .project-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .project-description p {
        font-size: 1rem;
    }
    
    .project-image-container {
        margin-bottom: 2rem;
        border-radius: 6px;
    }
    
    .project-image-container img {
        border-radius: 6px;
    }
    
    .nav-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .nav-button {
        justify-content: center;
        padding: 1rem 1.5rem;
    }
}

/* Additional styles for Bahaso page */
.project-text-section {
    text-align: left;
    margin-bottom: 3rem;
}

.section-heading {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.project-text-section p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #4a4a4a;
    max-width: 800px;
}

.project-embed-section {
    margin-bottom: 3rem;
}

.video-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.embed-caption {
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

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

.illustration-item,
.marketing-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.illustration-item:hover,
.marketing-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.illustration-item img,
.marketing-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments for illustration grids */
@media (max-width: 768px) {
    .illustration-grid,
    .marketing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .section-heading {
        font-size: 1.25rem;
    }
    
    .project-text-section {
        margin-bottom: 2rem;
    }
    
    .project-embed-section {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .illustration-grid,
    .marketing-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Video Section Styles */
.video-section {
    margin-top: 3rem;
    max-width: 900px;
}

.video-item {
    margin-bottom: 0;
    padding-bottom: 0;
}

.video-item:last-child {
    border-bottom: none;
}

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

.video-header {
    margin-bottom: 1rem;
    text-align: left;
}

.video-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-align: left;
    line-height: 1.2;
}

.video-description {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #555555;
    margin-bottom: 0;
    text-align: left;
    line-height: 1.6;
    max-width: 700px;
}

.video-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    background: #f8f9fa;
    margin-bottom: 3rem;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Responsive video adjustments */
@media (max-width: 768px) {
    .video-section {
        margin-top: 2rem;
        max-width: 100%;
    }
    
    .video-item {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .video-embed {
        margin-bottom: 2.5rem;
    }
    
    .video-item:last-child .video-embed {
        margin-bottom: 0;
    }
    
    .video-header {
        margin-bottom: 0.75rem;
    }
    
    .video-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .video-description {
        font-size: 0.95rem;
    }
    
    .video-embed {
        border-radius: 8px;
    }
}

/* NFT Gallery Styles */
.nft-gallery {
    margin-bottom: 4rem;
}

.blockchain-section {
    margin-bottom: 4rem;
}

.blockchain-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.75rem;
}

.nft-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nft-item:hover .nft-placeholder {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: scale(1.02);
}

.placeholder-text {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #495057;
    text-align: center;
    margin-bottom: 0.5rem;
}

.nft-placeholder small {
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 300;
}

/* Special positioning for Dear Death artwork */
.nft-item.dear-death img {
    object-position: center top;
}

/* Custom hover overlay for NFT titles */
.nft-item {
    position: relative;
}

.nft-item::after {
    content: attr(title);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    padding: 1rem;
    box-sizing: border-box;
}

.nft-item:hover::after {
    opacity: 1;
}

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

.nft-item {
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

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

.nft-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.nft-item:hover img {
    transform: scale(1.02);
}

/* Responsive adjustments for NFT gallery */
@media (max-width: 768px) {
    .nft-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nft-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nft-item {
        border-radius: 6px;
    }
    
    .nft-item img {
        height: 280px;
    }
    
    .nft-placeholder {
        height: 280px;
    }
}

@media print {
    .header,
    .footer {
        display: none;
    }
    
    .section {
        break-inside: avoid;
        padding: 2rem 0;
    }
}

/* Tab-based Project Layout */
.back-navigation {
    margin-bottom: 2rem;
}

.back-navigation .back-link {
    color: #333;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.back-navigation .back-link:hover {
    color: #666;
}

.project-banner {
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

.tab-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid #e9ecef;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
}

.tab-button:hover {
    color: #333;
    background-color: #f8f9fa;
}

.tab-button.active {
    color: #333;
    border-bottom-color: #333;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

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

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

.project-info {
    text-align: left;
    margin-bottom: 3rem;
}

.project-title {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    color: #333;
    margin-bottom: 0.5rem;
}

.project-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.project-description {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    max-width: 600px;
    margin: 0;
}

.final-product-gallery,
.case-study-gallery {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Fixed Bottom Navigation */
.bottom-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e9ecef;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background-color: #f8f9fa;
    color: #000;
}

.nav-icon {
    font-size: 1.2rem;
    font-weight: 600;
}

.nav-label {
    font-size: 0.85rem;
}

/* Add bottom padding to main content to accommodate fixed navigation */
.main {
    padding-bottom: 100px;
}

/* Responsive adjustments for tab layout */
@media (max-width: 768px) {
    .tab-navigation {
        margin-bottom: 2rem;
    }
    
    .tab-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .project-banner {
        margin-bottom: 2rem;
        border-radius: 8px;
    }
    
    .banner-image {
        max-height: 250px;
    }
    
    .project-info {
        margin-bottom: 2rem;
    }
    
    .bottom-navigation {
        padding: 0.75rem 1rem;
    }
    
    .nav-item {
        padding: 0.5rem 0.75rem;
    }
    
    .nav-label {
        display: none;
    }
    
    .nav-icon {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .tab-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .project-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .final-product-gallery,
    .case-study-gallery {
        gap: 1.5rem;
    }
}

/* Section Divider Style */
.section-divider {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    margin: 3rem 0;
    border: none;
}
