
/* If you do not have Inter locally, you can use Google Fonts: */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@200;300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Portfolio Theme Styles - Single Page Design */

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

html {
    scroll-behavior: smooth;
}

/* Disable smooth scroll on mobile to prevent snapping issues */
@media (max-width: 768px) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: serif;
    line-height: 1.6;
    width:100vw;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
#loading{
    position: absolute;
    top:50%;
    left:calc(50% - 25px);
    width:50px;
    font-family: 'Roboto Mono';
    font-size: 0.8rem;;
    font-weight:300;
}
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px 0 40px;
}
#threeContainer{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(100vw, 100vh);
    height: min(100vw, 100vh);
    /* background-color: rgb(201, 201, 131); */
}
/* Header Styles - Desktop Sidebar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    z-index: 1000;
    padding-top:20px;
    
    transition: transform 0.3s ease;
}

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

.navbar .container {
    height: 100%;
    padding: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.navbar-brand {
    margin-bottom: 1rem;
    font-family: 'Inter';
    font-weight: 600;
    font-size: 1.6rem;
    color:white;
}

.navbar-brand a {
    font-size: 1.6rem;
    
    text-decoration: none;
    color: #ffffff;
    display: block;
    text-align: left;
}

.navbar-nav {
    
    font-family: 'Inter';
    font-weight: 400;
    /* display: flex;
    flex-direction: column; */
    line-height:2.2rem;
    gap: 1.5rem;
    align-items: left;
    visibility: hidden;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    
    width:100%;
    /* font-weight: 500; */
    /* transition: all 0.3s ease; */
    float:left;
    /* padding: 1rem 1.5rem; */
    /* border-radius: 8px; */
    margin:0;
    padding:0;
    text-align: left;
    font-size: 1.6rem;
}

/* Desktop: Align menu items to the left */
@media (min-width: 1025px) {
    .nav-link {
        text-align: left;
    }
}

.nav-link:hover,
.nav-link.active {
    color: #0000FF;
    
    /* transform: translateX(5px); */
}

.nav-link::before {
    /* content: '';
    position: absolute;
    width: 3px;
    height: 0;
    top: 50%;
    left: 0;
    background-color: #0000FF;
    transition: height 0.3s ease;
    transform: translateY(-50%); */
}

.nav-link:hover::before,
.nav-link.active::before {
    height: 60%;
}

.navbar-toggle {
    display: none;
 
    position:absolute;
    right:20px;
    top:30px;
    width:30px;
    height:30px;
    cursor: pointer;
    flex-direction: column;
    cursor: pointer;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    
    margin: 3px 0;
    transition: 0.3s;
}

/* Main content offset for desktop sidebar */
.main-content {
    margin-left: 250px;
    
}

/* Section Styles */
section {
    padding: 20px 20px 20px 0;
    min-height: auto;
   
}

.projects-section {
    min-height: auto;
    padding: 20px 20px 20px 0;
    
}

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

/* Hero Section */
.hero-section {
    background-color: #0000FF;
    color: white;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-left: -250px !important;
    width: calc(100% + 250px);
    position: relative;
    padding: 20px 0;
}

.hero-outline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* border: 2px solid white;
    box-sizing: border-box; */
    pointer-events: none;
    z-index: 1;
}

.hero-title {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding-right:30px;
    font-size: 1.2rem;
    font-weight: 300;
    width:300px;
    margin-bottom: 0;
    line-height: 1.2;
    z-index: 10;
    color: #ffffff;
    font-family: 'Roboto Mono';
    font-size: 0.8rem;
    text-align: left;
    visibility: hidden;

}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #0000FF;
    color: white;
    border-color: #0000FF;
}

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

.btn-outline {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background-color: white;
    color: #0000FF;
    transform: translateY(-2px);
}

/* Portfolio Section */
.portfolio-section {
    background-color: #ffffff;
    min-height: auto;
    padding: 20px 20px 20px 0;
    color: #0000FF;
    
}

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

.portfolio-item {
    
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: fit-content;
    margin-bottom:2rem;
}

/* Width classes for different project sizes */
.portfolio-item-single {
    grid-column: span 2; /* Takes full width (both columns) */
}

.portfolio-item-double {
    grid-column: span 1; /* Takes half width (one column) */
}

.portfolio-image {
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.portfolio-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Image Carousel Styles */
.image-carousel {
    position: relative;
    width: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
}

/* Carousel slide styles moved to mobile section below */

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 100%;
    object-fit: contain;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
    z-index: 10;
}

.carousel-prev,
.carousel-next {
    /* background: rgba(0, 0, 0, 0.7); */
    background-color: transparent;
    border: none;
    color: white;
    font-size: 0;
    cursor: pointer;
    padding: 0;
    
    /* backdrop-filter: blur(5px); */
    pointer-events: auto;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.carousel-prev {
    background-image: url('../images/left.png');
}

.carousel-next {
    background-image: url('../images/right.png');
}


.carousel-prev:hover,
.carousel-next:hover {
    /* background: rgba(255, 255, 255, 0.2); */
}

.carousel-indicators {
    display: flex;
    gap: 6px;
    align-items: center;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    /* background: rgba(255, 255, 255, 0.5); */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background: white;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* External indicators between image and divider */
.carousel-indicators-external {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 0;
    margin-bottom: 0;
}

.carousel-indicators-external .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicators-external .indicator.active {
    background: #0000FF;
}

.carousel-indicators-external .indicator:hover {
    background: rgba(0, 0, 255, 0.6);
}

/* Mobile Image Visibility Rules - Sliding Carousel Approach */
.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 100%;
    object-fit: contain;
}

/* Hide images that haven't been lazily loaded yet */
.carousel-slide img[data-src] {
    opacity: 0.3;
    filter: blur(5px);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.carousel-slide img[data-loaded="true"] {
    opacity: 1;
    filter: none;
}

/* Video Play Button Overlay */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.video-play-overlay:hover {
    opacity: 0.9;
}

/* Mobile Play Button Overlay for first mobile image */
.mobile-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.mobile-play-overlay:hover {
    opacity: 0.9;
}

/* Inline Video Container for Mobile Slides */
.inline-video-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.inline-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    /* Scale to fill container while maintaining aspect ratio */
    object-fit: cover;
    /* Alternative approach using min dimensions to ensure full coverage */
    min-width: 100%;
    min-height: 100%;
}

/* For better aspect ratio handling, we can also use a wrapper */
.inline-video-container::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.close-video-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.close-video-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.play-button {
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Video Modal Styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.video-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}hen y

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 30px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    z-index: 1001;
}

.video-modal-close:hover {
    opacity: 0.7;
}ou cl

.video-modal iframe {
    width: 80vw;
    height: 45vw;
    max-width: 800px;
    max-height: 450px;
}

@media (max-width: 768px) {
    .video-modal iframe {
        width: 90vw;
        height: 50.625vw;
    }
}

/* Video Slide Styles */
.carousel-slide.video-slide {
    position: relative;
}

.carousel-slide.video-slide .video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide.video-slide .video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide.video-slide .video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-slide.video-slide .video-iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.carousel-slide.video-slide .video-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile image filtering is now handled at the template level - no CSS rules needed */

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

.portfolio-divider {
    display: grid;
    grid-template-columns: calc(50% - 1.5rem) calc(50% - 1.5rem);
    grid-gap: 3rem;
    margin-bottom: 1rem;
}

.divider-column {
   
}

.divider-column.right-column {
    
}


.divider-column.right-column p {
    break-inside: avoid;
}

/* Hide mobile type/medium section on desktop */
.mobile-type-medium {
    display: none;
}

.divider-column.right-column a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.divider-column.right-column a:hover {
    text-decoration: none;
    color: inherit;
}
#right-group{
    float:left;
    width:100%;
    
    column-count: 2;
    column-gap: 1rem;
    padding-top: 0.5rem;
    font-size: 0.8rem;
    font-family: "Roboto Mono";
    overflow-wrap: break-word;
        word-break: break-word; /* Fallback for older browsers */
        hyphens: auto;
}
.title {
    font-family: 'Inter';
    font-weight: 600;
    color: #0000FF;
    font-size: 1.5rem;
    line-height:1.8rem;
    /* margin-bottom: 0.5rem; */
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: break-word; /* Fallback for older browsers */
}
.smalltitle{
    display: none;
}

/* Horizontal title alignment for projects */
.portfolio-item .title {
    /* padding: 1.5rem 1.5rem 0 1.5rem; */
    vertical-align: top;
    margin-bottom: 1rem;
}

.portfolio-content {
    /* padding: 1.5rem; */
    flex-grow: 1;
    column-count: 2;
    column-gap: 3rem;
    text-align: justify;
    font-family: 'Inter';
    font-weight: 400;
}

/* Hide mobileText on desktop - only show on mobile */
.mobileText {
    display: none;
    line-height: 1.5rem;
}

/* Single column for half-width projects */
.portfolio-item-double .portfolio-content {
    column-count: 1;
}

.portfolio-content p {
    /* margin-bottom: 1rem; */
    
    line-height: 1.5;
}
.portfolio-content h2{
    font-size: 1rem;
    font-weight:600;
    margin-top:1rem;
    margin-bottom:0.5rem;
}

.portfolio-content h3,
.portfolio-content h4,
.portfolio-content h5,
.portfolio-content h6 {
    
    margin-top: 1rem;
    
    color: #0000ffb8;
    font-size: 0.8rem;
    line-height: 1.2rem;
    font-weight: 400;
}
.portfolio-content h1{
    color: #0000ffb8;
    margin-top:0px;
    font-size: 0.8rem;
    font-weight:400;
    float:inline;
}
.portfolio-content h3 {
    margin-bottom: 0.5rem;
    color: #0000FF;
    font-size: 0.8rem;
    line-height: 1.2rem;
    font-weight: 400;
}

.portfolio-content h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
    cursor: pointer;
}

.portfolio-content h3 a:hover {
    color: #0000FF;
}

.portfolio-tags {
    margin-top: 1rem;
    padding-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    column-span: all;
}
.award{
    float:left;
    
    height:50px;
    margin-right:10px;
    margin-top:10px;
    display: flex;
    align-items: center;
    max-width:140px;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1rem;
}

.award .laurel {
    height: 100%;
    width: auto;
    
    object-fit: contain;
    flex-shrink: 0;
    max-height: 100%;
    
}
.tag {
    background-color: #0000FF;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* About Section */
.about-section {
    background-color: #0000ff;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    color: white;
    margin-left: -250px !important;
    width: calc(100% + 250px);
    position: relative;
    padding: 25px 40px 40px 0;
    font-family: 'Inter';
    font-weight: 500;
}

.about-content {
    max-width: none;
    width: 100%;
    margin: 0;
    column-count: 2;
    column-gap: 4rem;
    column-fill: balance;
    height: calc(100vh - 200px);
    font-size: var(--about-font-size, 1rem);
    line-height: 1.4;
    overflow: hidden;
    text-align: left;
    
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    
    box-sizing: border-box;
    break-inside: avoid;
}

.about-content p:first-of-type {
    column-span: all;
    margin-bottom: 2rem;
    text-align: left;
    font-weight: bold;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.about-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.about-content p {
    margin-bottom: 1rem;
}

.about-content p:nth-of-type(n+3) {
    font-weight: 300;
}

.about-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Exhibitions Section */
.exhibitions-section {
    background-color: #0000FF;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    color: white;
    margin-left: -250px !important;
    width: calc(100% + 250px);
    position: relative;
    padding: 15px 0;
    font-family: 'Inter';
    font-weight: 500;
    padding-bottom: 80px;
}

.exhibitions-list {
    column-width: 400px;
    column-gap: 3rem;
    column-fill: balance;
    padding-top: 20px;

    padding-right: 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .exhibitions-list {
        column-width: auto;
        column-count: 2;
    }
}
@media (max-width: 480px) {
    .exhibitions-list {
        column-width: auto;
        column-count: 2;
    }
}

.exhibitions-content {
    margin: 0 auto;
    font-size: rem;
    line-height: 1.8;
}

.exhibition-item {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1.3rem;
    padding: 0;
}

.exhibition-content {
    width: 100%;
}

.exhibition-line1 {
    font-size: 1rem;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.exhibition-year {
    font-weight: 400;
    color: white;
    font-family: 'Roboto Mono';
    font-weight: 500;
}

.exhibition-title {
    font-weight: 500;
    color: white;
}

.exhibition-line2 {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    /* font-style: italic; */
    line-height: 1.4;
}

.venue {
    display: inline-block;
    margin-top: 0.5rem;
    color: #666;
    /* font-style: italic; */
}

/* Publications Section */
.publications-section {
    background-color: #0000FF;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    color: white;
    margin-left: -250px !important;
    width: calc(100% + 250px);
    position: relative;
    padding: 10px 0;
    font-family: 'Inter';
    font-weight: 300;
    padding-bottom: 80px;
}

.publications-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.articles-section{
    margin-top:20px;
}
.articles-section,
.talks-section {
    width: 100%;
}

.publications-list,
.articles-list,
.talks-list {
    column-width: 400px;
    column-gap: 3rem;
    column-fill: balance;
    padding-top: 20px;
    padding-right: 20px;
    width: 100%;
}

.publication-item {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1.3rem;
    padding: 0;
}

.column-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    column-span: all; /* Span all columns in CSS columns layout */
}

.column-title:nth-of-type(2) {
    margin-top: 3rem; /* Add space above the "Talks" title */
}

@media (max-width: 768px) {
    .publications-list {
        column-count: 2;
        column-width: auto;
    }
}

.publications-content {
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
}

.publication-item {
    padding: 0;
    
}

.publications-column .publication-item {
    margin-bottom: 1.5rem;
}

.publication-content {
    width: 100%;
}

.publication-line1 {
    font-size: 1rem;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    
}

.publication-year {
    font-weight: 400;
    color: white;
    font-family: 'Roboto Mono';
    
}

.publication-title {
    font-weight: 500;
    color: white;
}

/* Talks column specific styling */
.presentations-section .publication-year {
    font-weight: 400;
}

.presentations-section .publication-title {
    font-weight: 500;
}

.presentations-section .publication-location {
    font-weight: 300;
}

.publication-line2 {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    /* font-style: italic; */
    line-height: 1.4;
    margin-bottom: 0.2rem;
}

.publication-link {
    display: inline-block;
    color: white;
    /* text-decoration: underline; */
    font-weight: 300;
    /* margin-bottom: 0.5rem; */
    transition: color 0.3s ease;
    text-decoration-line: none;
}

.publication-link:hover {
    color: #CCE5FF;
}

.publication-isbn {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-family: 'Roboto Mono';
}

.journal {
    display: inline-block;
    margin-top: 0.5rem;
    color: #666;
    font-style: italic;
}

.doi-link {
    display: inline-block;
    margin-top: 0.5rem;
    margin-left: 1rem;
    color: #0000FF;
    text-decoration: none;
    font-size: 0.9rem;
}

.doi-link:hover {
    /* text-decoration: underline; */
}

/* Press Section */
.press-section {
    background-color: #0000FF;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    color: white;
    margin-left: -250px !important;
    width: calc(100% + 250px);
    position: relative;
    padding: 10px 0;
    font-family: 'Inter';
}

.press-list {
    column-width: 200px;
    column-gap: 3rem;
    column-fill: balance;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 80px;
    width: 100%;
    overflow: hidden;
}

.press-item {
    break-inside: avoid;
    page-break-inside: avoid;
    /* margin-bottom: 1.5rem; */
    padding: 0;
}

.press-content {
    width: 100%;
    overflow: hidden;
}

.press-line1 {
    font-size: 1rem;
    color: white;
    /* margin-bottom: 0.5rem; */
    line-height: 1.4;
}

.press-year {
    font-weight: 400;
    color: white;
}

.press-publication {
    font-weight: 400;
    color: white;
}

.press-project {
    font-weight: 400;
    color: #cccccc;
    font-style: italic;
}

.press-project-group {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    position: relative;
}

.press-project-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 1px;
    background-color: #ffffff;
}

.press-project-title {
    max-width:200px;
    font-weight: 600;
    font-size: 1.2rem;
    color: white;
    width: auto;
    display: inline-block;
    margin-bottom: 1rem;
    padding-bottom: 0.1rem;
}

.press-line2 {
    font-size: 1rem;
    margin-top: -0.1rem;
    margin-bottom: 0.2rem;
}

.press-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.press-link:hover {
    color: #CCE5FF;
}

.press-arrow {
    opacity: 0;
    transition: opacity 0.2s;
    text-decoration: none;
    display: inline;
    color: inherit;
    vertical-align: middle;
}

.publication-link:hover .press-arrow,
.press-link:hover .press-arrow {
    opacity: 1;
}

@media (max-width: 768px) {
    .press-list {
        column-width: auto;
        column-count: 2;
        font-size: 0.8rem;
    }
}

/* Contact Section */
.contact-section {
    background-color: #0000FF;
    min-height: 101vh;
    display: flex;
    align-items: center;
    color: white;
    margin-left: -250px !important;
    width: calc(100% + 250px);
    position: relative;
    padding: 20px 0,0,0;
}
.mono{
    font-family: 'Roboto Mono';
    font-weight:300;
    font-size: 0.9rem;
}
.mono a{
    color:white;
    text-decoration:none;   
}
.margin{
    
    margin-bottom:7px;
}
.address{
    
    font-weight:300;
}
.contact-outline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* border: 2px solid white; */
    /* box-sizing: border-box; */
    pointer-events: none;
    z-index: 1;
}

/* Full-width section container alignment */
.hero-section .container,
.about-section .container,
.exhibitions-section .container,
.publications-section .container,
.press-section .container,
.contact-section .container {
    margin-left: 250px;
}

.about-section .container,
.exhibitions-section .container,
.publications-section .container,
.press-section .container {
    width: 100%;
    max-width: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.contact-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: white;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item strong {
    color: white;
    font-weight: 600;
}

.contact-item a {
    color: #0000FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #0056b3;
    /* text-decoration: underline; */
}

#naw {
    position: absolute;
    bottom: 0;
    left: 0;
    color: white;
    font-family: 'Inter';
    font-size: 1rem;
    line-height: 1.4;
    padding: 40px;
    z-index: 1000;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    padding: 0.5rem 1rem;
    background-color: #0000FF;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-links a:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0000FF;
}

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

/* Footer */
.site-footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}
#contactGlobe{
    left:0px;
    top:0px;
    position: absolute;
    width:100vw;
    height:100vh;
    /* padding-top:-150px; */
    }
/* Medium screens (tablets) */
@media (max-width: 1024px) and (min-width: 769px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* On tablets, all items take full width for better readability */
    .portfolio-item-single,
    .portfolio-item-double {
        grid-column: span 1;
    }

    .portfolio-content {
        margin-top: 1rem;   
        column-count: 1;
    }
    .mobile-type-medium {
        display: block;
        width: calc(100% );
        
        /* padding-right: 30px; */
        column-count: 2;
        column-gap: 1rem;
        font-size: 0.8rem;
        font-family: "Roboto Mono";
        margin-top: -5px;
        
    }
    .divider-link{

        display: none;
    }

}
/* Ensure Vimeo iframe controls are usable on mobile */
@media (max-width: 768px) {
    .inline-video-container iframe {
        pointer-events: auto !important;
        touch-action: auto !important;
        z-index: 10;
    }
    .inline-video-container {
        pointer-events: auto !important;
    }
}
/* Small screens (mobile) */
@media (max-width: 768px) {
    /* Revert to top navigation on mobile */
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 80px;
        /* background: rgba(255, 255, 255, 0.95); */
        border-right: none;
        /* border-bottom: 1px solid #eee; */
        padding: 0;
        /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
        z-index: 9999;
        transition: transform 0.3s ease;
    }
    .hero-title{
        display:none;
    }
    .site-header.header-hidden {
        transform: translateY(-100%);
    }
    
    .site-header.header-visible {
        transform: translateY(0);
    }

    .navbar {
        padding: 1rem 0;
        flex-direction: row;
        height: auto;
        
    }
    
    .navbar .container {
        max-width: 1200px;
        
        flex-direction: row;
        justify-content: space-between;
        align-items: left;
        height: auto;
    }
    .body{
        position: absolute;
        margin:0;
        padding:0;
        width:100vw;
        overflow-x: hidden;
        /* background-color: tomato; */
    }
    .main-content{
       
    }
    .portfolio-section{
        width:100vw;
        
        padding:0;
        margin:0;
    }
    .container{
        width:100%;
        padding:0;
        
    }
    .portfolio-content {
        margin-top: 1rem;
        width:calc( 100% - 1rem);
        padding-left:30px;
        padding-right:30px;
        /* background-color: violet; */
    }
    .portfolio-divider {
        width:calc( 100% - 1rem);
        padding-left:30px;
        padding-right:30px;
        margin-bottom:0;
        /* background-color: tomato; */
    }
    
    /* Mobile divider adjustments - hide type/medium content in right column, show only year */
    .divider-link {
        display: none;
    }
    
    /* Show year content in right column on mobile */
    .divider-column.right-column .year-content {
        display: block;
        
    }
    
    /* Add mobile type/medium section below divider */
    .mobile-type-medium {
        display: block;
        width: calc(100% );
        
        /* padding-right: 30px; */
        column-count: 2;
        column-gap: 1rem;
        font-size: 0.8rem;
        font-family: "Roboto Mono";
        margin-top: -5px;
        margin-bottom: 1rem;
        
        clear: both;
    }
    
    .mobile-type-medium p {
        break-inside: avoid;
    }
    .mobile-type-medium a{
        text-decoration: none;
        color: inherit;
        cursor: pointer;
    }
    .carousel-indicators-external{
       padding-left:30px;
       padding-right:30px; 
    }
    .navbar-brand {
        margin-bottom: 0;
        padding-left:30px;
        padding-bottom: 0;
        border-bottom: none;
    }

    .navbar-brand a {
        text-align: left;
        font-size: 2rem;
    }

    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0rem;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 36px;
        
       visibility: visible;
    }

    .navbar-nav.mobile-open {
        display: flex;
        box-shadow: 0 30px 30px rgba(0, 0, 0, 0.2);
    }

    .nav-link {
        text-align: left;
        font-size: 2rem;
        height:10px;
        /* margin-left:5px; */
        margin-bottom:0.5rem;
        
        transform: none;
    }

    .nav-link::before {
        display: none;
    }

    .nav-link:hover {
        transform: none;
        
    }

    .navbar-toggle {
        display: flex;
    }

    /* Remove sidebar margin on mobile */
    .main-content {
        margin-left: 0;
        margin-top: 80px;
    }

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

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

    .section-title {
        font-size: 2rem;
    }
    .portfolio-section{
        /* background-color: red; */
        padding:0;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-item{
        /* background-color: green; */
    }
    /* On mobile, all items take full width regardless of their desktop width setting */
    .portfolio-item-single,
    .portfolio-item-doubleen {
        grid-column: span 1;
    }

    .portfolio-content {
        column-count: 1;
    }

    /* Hide fullText div on mobile */
    .fullText {
        display: none;
    }
    
    /* Show mobileText on mobile */
    .mobileText {
        display: block;
    }
    .readmore{
        margin-top:1rem;
        margin-bottom:1rem;
        font-weight:600;
        cursor: pointer;
        user-select: none;
        transition: opacity 0.2s ease;
    }
    
    .readmore:hover {
        opacity: 0.7;
    }
    
    /* When expanded, show fullText and hide mobileText on mobile */
    .portfolio-content.expanded .mobileText {
        display: none;
    }
    
    .portfolio-content.expanded .fullText {
        display: block;
    }
    /* Mobile carousel swipe functionality */
    .carousel-container {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        
        z-index: 1000;
    }

    .carousel-container::-webkit-scrollbar {
        display: none;
    }

    .carousel-track {
        display: flex;
        transition: none;
        width: auto;
    }

    .carousel-slide {
        flex: 0 0 100%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        width: 100%;
    }

    /* Hide carousel controls on mobile but keep indicators */
    .carousel-controls {
        display: none !important;
    }
    
    .carousel-indicators-external {
        display: flex !important;
    }
    .about-content{
        width:100vw;
        height:auto;
        padding-left:30px;
        padding-right:30px;
        font-size: 1rem;;
       
       
    }
    .about-content p{
        font-size: 1.5rem;;
    }
    .exhibition-content{
       
        height:auto;
        padding-left:30px;
        padding-right:30px;
    }
    .exhibition-item,
    .publication-item {
        grid-template-columns: 80px 1fr;
       
    }

    .exhibition-item,
    .publication-item {
        padding: 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .social-links {
        flex-wrap: wrap;
    }

    section {
        padding: 20px 20px 20px 0;
        min-height: auto;
    }

    .hero-section {
        min-height: 100vh;
        margin-left: 0 !important;
        width: 100% !important;
        margin-top: -80px !important;
    }
    
    .contact-section {
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    .about-section {
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    .about-content {
        column-count: 1;
        column-gap: 0;
       
    }
    
    .exhibitions-section {
        margin-left: 0 !important;
        width: 100% !important;
    }
    .exhibition-line1{
        font-size: 0.9rem
    }
    .exhibition-line2{
        font-size: 0.9rem
    }
    .publications-section {
        margin-left: 0 !important;
        width: 100% !important;
        padding-left:30px;
        padding-right:30px;
    }
    .publication-line1{
        font-size: 0.9rem
    }
    .publication-line2{
        font-size: 0.9rem
    }
    .press-line1{
        font-size: 0.9rem;
    }
    .press-project-title{
        font-size: 0.9rem;
    }
    .press-section {
        margin-left: 0 !important;
        width: 100% !important;
        padding-left:30px;
        padding-right:30px;
    }
    #naw{
        padding:20px;
    }
    /* Reset container margins for mobile */
    .hero-section .container,
    .about-section .container,
    .exhibitions-section .container,
    .publications-section .container,
    .press-section .container,
    .contact-section .container {
        margin-left: 0;
    }
}
@media (max-width: 600px) {
    #right-group{
        column-count: 2;
        /* background-color: green; */
        /* padding-right: 30px; */
        
    }
    .portfolio-divider{
        grid-template-columns: auto;
    }
    .divider-column{
        width:100%;
        float:left;
        /* background-color: turquoise; */
    }
    .right-column{
        float:left;
        width: calc(100vw - 40px);
    }
    .left-column{
        width:100%;
        display:none;
        
    }
    .smalltitle{
        display: block;
        width:calc( 100% - 1rem);
        padding-left:30px;
       
        font-family: 'Inter';
        font-weight: 600;
        color: #0000FF;
        font-size: 1.5rem;
    }
    #naw{
        font-size: 0.8rem;;
    }
    .mono{
        font-size: 0.8rem;;
    }
    
}
@media (max-width: 480px) {
    .container {
        padding: 0;
    }
    .smalltitle{
        padding-left: 20px;
    }
    .navbar-brand {
        padding-left:20px;
    }
    .navbar-nav{
        padding-left:20px;
        padding-right:20px;
        padding-bottom:60px;
    }
    .portfolio-content {
        /* width:calc( 100% - 1rem); */
        margin-top:0;
        padding-left:20px;
        padding-right:5px;

        text-align: left;
        /* background-color: tomato; */
    }
    .portfolio-divider {
        width:calc( 100% - 1rem);
        padding-left:20px;
        padding-right:20px;
    }
    .type-medium-content{
        font-size: 0.7rem;
    }
    .year-content{
        font-size: 0.7rem;
        overflow-wrap: break-word;
        word-break: break-word; /* Fallback for older browsers */

    }
    .mobile-type-medium{
        font-size: 0.7rem;
    }
    .carousel-indicators-external{
       padding-left:20px;
        padding-right:20px; 
    }
    .hero-buttons {
        flex-direction: column;
        align-items: left;
    }
    .about-content{
        padding-left:20px;
        padding-right:20px;
    }
    .exhibition-content{
        padding-left:20px;
        padding-right:20px;
    }
    .publications-section{
        padding-left:20px;
        padding-right:20px;
    }
    .press-section{
        padding-left:20px;
        padding-right:20px;      
    }
    .btn {
        width: 200px;
    }
    .exhibitions-list{
        column-gap:0px;
        padding-right:0;
    }
    #exhibitions-list{
        column-gap:0px;
        padding-right:0;
    }
    .exhibition-item,
    .publication-item {
        grid-template-columns: 1fr;
        text-align: left;
        padding: 0;
    }
}

.landscape-image-wrapper {
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.portrait-centered {
    max-height: 100%;
    max-width: 50%;
    height: auto;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
    object-fit: contain;
    box-shadow: none;
}

.publication-link .press-arrow {
    text-decoration: none !important;
}
