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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #000000;
    background-color: #f5f5dc;
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    background: #f5f5dc;
    border-bottom: 1px solid #cccccc;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.nav-brand h1 {
    font-size: 2.2rem;
    font-weight: normal;
    color: #333333;
    margin: 0;
    letter-spacing: 1px;
}

.nav-brand-link {
    color: #333333;
    text-decoration: none;
}

.nav-brand-link:hover {
    text-decoration: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-contact {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    color: #333333;
    text-decoration: none;
    font-weight: normal;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    text-decoration: underline;
}


/* Main Content */
.main-content {
    margin-top: 80px;
    padding: 0;
}

/* Add space on top of main content sections */

/* Home Page */
.hero {
    padding: 6rem 0;
    max-width: 1000px;
    margin: 0 auto;
    background: #f5f5dc;
}

.hero .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
}

.hero-content {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.hero-contact-inline {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #333333;
    line-height: 1.8;
}

.hero-contact-inline span {
    display: block;
    margin-bottom: 0.5rem;
}

.hero-contact-inline span:last-child {
    margin-bottom: 0;
}

.hero-contact-inline a {
    color: #333333;
    text-decoration: underline;
}

.avatar-placeholder {
    flex-shrink: 0;
    padding-top: 0;
}

.hero-text {
    flex: 1;
    padding-top: 0;
}

.avatar-circle {
    display: inline-block;
}

.avatar-image {
    width: 200px;
    height: auto;
    display: block;
    margin-top: 0;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    margin-top: 0;
    color: #333333;
    text-align: left;
    line-height: 1.2;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.3rem;
    color: #000000;
    margin-bottom: 2rem;
    font-weight: normal;
    text-align: left;
    font-style: italic;
}

.description {
    font-size: 1.2rem;
    color: #000000;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-section {
    margin-top: 3rem;
    text-align: left;
}

.about-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
    text-align: center;
}

.about-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #000000;
    text-align: center;
}

.about-section p {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-label {
    font-weight: 500;
    color: #000000;
    min-width: 80px;
}

.social-item a {
    color: #000000;
    text-decoration: underline;
    font-weight: 500;
}


/* Projects Section */
.projects-section {
    padding: 6rem 0;
    max-width: 1000px;
    margin: 0 auto;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    background: #f5f5dc;
}

.projects-section h2 {
    font-size: 2.2rem;
    font-weight: normal;
    margin-bottom: 3rem;
    color: #000000;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #cccccc;
    padding: 0 40px 1rem 40px;
}

.projects-subtitle {
    font-size: 1.1rem;
    color: #000000;
    text-align: center;
    margin-bottom: 3rem;
}

.data-science-projects,
.art-projects {
    margin-bottom: 3rem;
}

.data-science-projects h3,
.art-projects h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
    text-align: center;
}

.art-description {
    text-align: center;
    color: #000000;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.instagram-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    justify-items: center;
}

.instagram-post {
    width: 100%;
    max-width: 400px;
}

.instagram-media {
    width: 100% !important;
    max-width: 400px !important;
}

.art-post {
    background: #ffffff;
    border: 1px solid #000000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}


.art-post-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    font-size: 3rem;
    color: white;
    opacity: 0.8;
}

.art-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.art-post-content {
    padding: 1.5rem;
}

.art-post-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
}

.art-post-content p {
    color: #000000;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.art-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #9ca3af;
}

.art-likes {
    color: #ef4444;
    font-weight: 500;
}

.art-date {
    color: #000000;
}

.instagram-link {
    text-align: center;
    margin-top: 1rem;
}

.instagram-link a {
    color: #000000;
    text-decoration: underline;
    font-weight: 500;
    font-size: 1rem;
}



/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: #6366f1;
    color: white;
}


/* Page Headers */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
}

/* About Page */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #1f2937;
}

.about-content p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.skills {
    margin-top: 2rem;
}

.skill-category {
    margin-bottom: 2rem;
}

.skill-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #374151;
}

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

.skill-tag {
    background: #6366f1;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Projects Page */
.projects-section {
    margin-bottom: 4rem;
}

.projects-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1f2937;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 0 40px;
}

.project-card {
    background: #ffffff;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.project-video {
    margin-bottom: 1.5rem;
    border-radius: 0;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1;
    height: 250px;
}

.project-video iframe {
    border-radius: 0;
    width: 100%;
    height: 100%;
}

.project-image {
    margin-bottom: 1.5rem;
    border-radius: 0;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1;
    height: 250px;
    background-color: #ffffff;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


.project-card h4 {
    font-size: 1.2rem;
    font-weight: normal;
    margin-bottom: 1rem;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card p {
    color: #000000;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
    text-align: left;
}

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

.project-tech span {
    background: #000000;
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-link {
    color: #000000;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Research Page */
.research-experiences-row {
    display: flex;
    gap: 2rem;
}

.research-experiences-row>.research-project-card {
    flex: 1;
}


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

.art-item {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
}


.art-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.art-item p {
    color: #6b7280;
    font-size: 0.9rem;
}

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

.contact-info h2,
.contact-form h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1rem;
    color: #6b7280;
    font-size: 1.1rem;
}

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

.social-link {
    background: #6366f1;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}


.contact-form {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
}

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

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

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 1rem 20px;
        gap: 1rem;
        text-align: center;
    }

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

    .nav-right {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .main-content {
        margin-top: 100px;
    }

    .container {
        padding: 0 20px;
    }

    .hero-content {
        flex-direction: row;
        text-align: left;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .avatar-placeholder {
        flex-shrink: 0;
        min-width: 80px;
    }

    .avatar-image {
        width: 80px;
        height: auto;
    }

    .hero-text h1 {
        font-size: 2rem;
        text-align: left;
    }

    .subtitle,
    .description {
        text-align: left;
        font-size: 0.9rem;
    }

    .hero-contact-inline {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

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

    .art-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

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

    .instagram-post {
        max-width: 100%;
    }

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

    .contact-content {
        padding: 0 20px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .hero,
    .art-section,
    .projects-section,
    .about-content {
        margin-top: 8rem !important;
    }

    .research-section,
    .coursework-section {
        margin-top: 15rem !important;
    }

    .nav-container {
        padding: 0.8rem 15px;
        text-align: center;
    }

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

    .nav-right {
        gap: 0.8rem;
    }

    .nav-menu {
        gap: 0.8rem;
        justify-content: center;
    }

    .nav-link {
        font-size: 1rem;
    }

    .main-content {
        margin-top: 100px;
    }

    .container {
        padding: 0 15px;
    }

    .coursework-columns {
        padding: 0 15px;
    }

    .contact-content {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .avatar-image {
        width: 60px;
    }

    .hero-content {
        gap: 1rem;
        flex-direction: row;
        align-items: flex-start;
    }

    .subtitle,
    .description {
        font-size: 0.85rem;
    }

    .hero-contact-inline {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }

    .coursework-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }

    .project-card,
    .contact-item {
        padding: 1.5rem;
    }
}

/* Art Section */
.art-section {
    padding: 6rem 0;
    background: #f5f5dc;
    max-width: 1000px;
    margin: 0 auto;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
}

.art-section h2 {
    font-size: 2.2rem;
    font-weight: normal;
    margin-bottom: 3rem;
    color: #000000;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #cccccc;
    padding: 0 40px 1rem 40px;
}

.art-subtitle {
    font-size: 1.2rem;
    color: #000000;
    text-align: left;
    margin-bottom: 4rem;
    font-style: italic;
    padding: 0 40px;
}

.art-content {
    padding: 0 40px;
}

.art-description {
    margin-bottom: 3rem;
    text-align: left;
}

.art-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 1.5rem;
}

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

.instagram-post {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .art-section h2 {
        font-size: 2rem;
        padding: 0 20px 1rem 20px;
    }

    .art-subtitle {
        padding: 0 20px;
    }

    .art-content {
        padding: 0 20px;
    }

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

    /* Responsive grid for art gallery */
    .simple-art-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        grid-auto-flow: row dense;
    }

    /* Adjust artwork sizes for mobile */
    .artwork-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .artwork-wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    .artwork-largewide {
        grid-column: span 2;
        grid-row: span 2;
    }

    .artwork-tall {
        grid-column: span 1;
        grid-row: span 2;
    }
}

@media (max-width: 480px) {
    .art-content {
        padding: 0 15px;
    }

    .art-section h2 {
        padding: 0 15px 1rem 15px;
    }

    .art-subtitle {
        padding: 0 15px;
    }

    /* Single column for mobile */
    .simple-art-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        grid-auto-flow: row dense;
        gap: 20px;
    }

    /* Reset all artwork sizes to single column on mobile */
    .artwork-large,
    .artwork-wide,
    .artwork-tall,
    .artwork-largewide {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Coursework Section */
.coursework-section {
    padding: 6rem 0;
    background: #ffffff;
    max-width: 1000px;
    margin: 0 auto;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
}

.coursework-section h2 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 3rem;
    color: #000000;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #cccccc;
    padding: 0 40px 1rem 40px;
}

.coursework-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 0 40px;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: #ffffff;
}

.contact-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
    text-align: center;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #000000;
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.contact-item {
    text-align: center;
    padding: 2rem;
    background: #f5f5dc;
    border-radius: 12px;
}

.contact-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.contact-item p {
    color: #000000;
    margin: 0;
}

.contact-item a {
    color: #000000;
    text-decoration: underline;
}

.coursework-column h3 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #000000;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: none;
    padding-bottom: 0;
}

.coursework-topic {
    margin-bottom: 2rem;
}

.coursework-topic h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #000000;
    padding-left: 0;
    border-left: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coursework-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.coursework-item {
    background: #f5f5dc;
    padding: 0.5rem 0;
    border-radius: 0;
    color: #000000;
    font-size: 1rem;
    line-height: 1.6;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0.5rem;
}

/* Research Section - Simplified */
.research-section {
    padding: 4rem 2rem;
    background: #f5f5dc;
    max-width: 1000px;
    margin: 0 auto;
}

.research-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.research-intro {
    margin-bottom: 3rem;
    text-align: center;
}

.research-experiences {
    margin-bottom: 3rem;
}

.research-experiences h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Research Experience Layout */
.research-project-card {
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    text-align: left;
}

/* Experience Logo */
.research-image {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.research-project-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Make publication images more obviously clickable */
.research-publications .research-project-image {
    cursor: pointer;
}

.research-publications .research-project-image:hover {
    opacity: 0.8;
}

/* Experience Content Container */
.research-content {
    flex: 1;
}

/* Experience Title */
.research-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Experience Stats (dates, position, location) */
.research-period {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 0.5rem;
}

.research-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Experience Description */
.research-content>p:last-of-type {
    margin-bottom: 1rem;
}

/* Research Repository Link */
.research-repo-link {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.research-repo-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #495057;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.research-repo-link a:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
    transform: translateY(-1px);
}

.research-repo-link a::before {
    content: "📁";
    font-size: 1rem;
}

/* Publications Section */
.research-publications {
    margin-top: 2rem;
}

/* Publication Title */
.research-publications h5 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    text-align: left;
}

/* Publication Layout (nested research-project-card) */
.research-publications .research-project-card {
    margin-bottom: 0rem;
    gap: 1rem;
}

/* Publication Image - Clickable */
.research-publications .research-image {
    width: 300px;
    height: 225px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.research-publications .research-image:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transform: scale(1.05);
}

/* Removed magnifying glass icon */

/* Publication Content */
.publication-content {
    flex: 1;
}

/* Publication Paper Title */
.publication-content h6 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

/* Publication Date */
.publication-content .research-period {
    font-size: 0.85rem;
    color: #666666;
    margin-bottom: 0.5rem;
}

/* Authors */
.publication-content p {
    line-height: 1.5;
    margin-bottom: 0;
}

.publication-content p strong {
    font-weight: 600;
}

/* Keep only basic research image styling */

/* Simple image container */
.research-image-placeholder {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Publication image placeholder - clickable styling */
.research-publications .research-image-placeholder {
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.research-publications .research-image-placeholder:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 95%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #ffffff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.close:hover,
.close:focus {
    color: #cccccc;
    text-decoration: none;
}

/* Removed complex publication styling */

.placeholder-content {
    text-align: center;
    color: #666666;
}

.placeholder-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.placeholder-text {
    font-size: 0.9rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Removed duplicate research styling */

.research-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.method-tag {
    background: #f5f5f5;
    color: #333333;
    padding: 0.3rem 0.8rem;
    border: 1px solid #cccccc;
    font-size: 0.8rem;
    font-weight: normal;
}

/* Removed complex research styling */

/* Responsive Design - Tablet */
@media (max-width: 768px) {
    .research-section {
        padding: 2rem 1rem;
    }

    /* Stack experience layout vertically */
    .research-project-card {
        flex-direction: column;
        text-align: center;
    }

    /* Experience Logo - Tablet */
    .research-image {
        width: 200px;
        height: 150px;
        margin: 0 auto 1rem auto;
    }

    /* Publication Image - Tablet */
    .research-publications .research-image {
        width: 250px;
        height: 190px;
        margin: 0 auto 1rem auto;
    }

    /* Removed tablet magnifying glass adjustments */
}

/* Responsive Design - Mobile */
@media (max-width: 480px) {
    .research-section {
        padding: 1rem;
    }

    /* Stack experience layout vertically with smaller gap */
    .research-project-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    /* Experience Logo - Mobile */
    .research-image {
        width: 150px;
        height: 120px;
        margin: 0 auto 1rem auto;
    }

    /* Publication Image - Mobile */
    .research-publications .research-image {
        width: 200px;
        height: 150px;
        margin: 0 auto 1rem auto;
    }

    /* Removed mobile magnifying glass adjustments */

    /* Experience Title - Mobile */
    .research-content h4 {
        font-size: 1.1rem;
    }

    /* Repository Link - Mobile */
    .research-repo-link a {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

.placeholder-icon {
    font-size: 2rem;
}

.placeholder-text {
    font-size: 0.8rem;
}

.research-project-card h4 {
    font-size: 1.1rem;
}


/* Simple Art Grid */
.simple-art-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    grid-auto-flow: row dense;
    gap: 30px;
    margin-top: 2rem;
}

/* Artwork item container */
.artwork-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

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

/* Custom artwork sizing classes */
.artwork-small {
    grid-column: span 1;
    grid-row: span 1;
}

.artwork-medium {
    grid-column: span 1;
    grid-row: span 1;
}

.artwork-large {
    grid-column: span 2;
    grid-row: span 2;
}

.artwork-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.artwork-tall {
    grid-column: span 1;
    grid-row: span 2;
}

.artwork-largewide {
    grid-column: span 3;
    grid-row: span 2;
}

.simple-art-grid img,
.simple-art-grid video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.artwork-item:hover img,
.artwork-item:hover video {
    opacity: 0.9;
}

.art-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.art-image-container {
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.art-placeholder {
    text-align: center;
    color: white;
    opacity: 0.9;
}

.art-placeholder.large {
    font-size: 1.2rem;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.placeholder-text {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.art-info {
    padding: 1.5rem;
}

.art-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333333;
}

.art-info p {
    color: #666666;
    font-size: 0.9rem;
    margin: 0;
}

/* Full-Screen Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
}

.modal-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image-container img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

.image-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 500px;
    text-align: left;
    color: white;
    background: rgba(0, 0, 0, 1);
    padding: 0px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

.image-caption:hover {
    opacity: 1;
}

/* Show caption when hovering over bottom left area or caption itself */
.modal-image-container .hover-zone {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 350px;
    height: 150px;
    z-index: 1999;
}

.hover-zone:hover~.image-caption,
.image-caption:hover {
    opacity: 1;
}

.image-caption.show-briefly {
    opacity: 1;
}

.image-caption h3 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

.image-caption p {
    margin: 0 0 3px 0;
    font-size: 0.9rem;
    opacity: 0.9;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.5rem;
    font-weight: 300;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.modal-artwork {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

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

.modal-image .art-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-image .placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-image .placeholder-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-details {
    text-align: left;
    padding: 1rem;
}

.modal-details h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333333;
}

.artwork-meta {
    margin-bottom: 1.5rem;
}

.artwork-meta p {
    margin-bottom: 0.5rem;
    color: #666666;
    font-size: 1rem;
}

.artwork-description {
    margin-bottom: 2rem;
}

.artwork-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333333;
    margin: 0;
}

.techniques h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333333;
}

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

.technique-tag {
    background: #f5f5f5;
    color: #333333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.close:hover,
.close:focus {
    color: #cccccc;
    transform: scale(1.1);
    text-decoration: none;
}

/* Responsive Design for Art Gallery */
@media (max-width: 768px) {
    .art-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .modal-content {
        width: 98%;
        padding: 15px;
    }

    .modal-image .art-placeholder {
        height: 250px;
    }

    .modal-image .placeholder-icon {
        font-size: 3rem;
    }

    .modal-details h2 {
        font-size: 1.5rem;
    }

    /* Mobile caption responsive width */
    .image-caption {
        width: calc(100vw / 20);
        bottom: 10px;
        left: 10px;
    }

    .modal-image-container .hover-zone {
        width: calc(100vw / 20 + 50px);
        height: 100px;
    }

    /* Mobile - center everything with 0 padding */
    .container {
        padding: 0;
        text-align: center;
    }

    .art-content {
        padding: 0;
        text-align: center;
    }

    /* Simplified research mobile layout */
    .research-section {
        padding: 1rem;
        text-align: center;
    }

    /* Removed complex research mobile styling */

    /* Coursework page - prevent content overflow */
    .coursework-section {
        padding: 0;
        text-align: center;
        width: 100%;
        overflow-x: hidden;
    }

    .coursework-columns {
        padding: 0;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .coursework-column {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        text-align: center;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .coursework-topic {
        width: 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .coursework-item {
        width: 100%;
        max-width: 100%;
        padding: 0.5rem 0;
        margin: 0;
        text-align: center;
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }
}

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

    .art-image-container {
        height: 200px;
    }

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

    .placeholder-text {
        font-size: 0.9rem;
    }

    .modal-content {
        padding: 10px;
    }

    .modal-image .art-placeholder {
        height: 200px;
    }

    .modal-image .placeholder-icon {
        font-size: 2.5rem;
    }

    .technique-tags {
        justify-content: center;
    }
}

/* Updated Art Gallery Grid - Simple 3x3 Layout */
.art-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.art-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1;
}

.art-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.art-image-container {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.art-placeholder {
    text-align: center;
    color: white;
    opacity: 0.9;
}

.placeholder-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.placeholder-text {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Remove the art-info section for cleaner look */
.art-info {
    display: none;
}

/* Responsive Design for 3x3 Grid */
@media (max-width: 768px) {
    .art-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .art-gallery {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .placeholder-icon {
        font-size: 2rem;
    }

    .placeholder-text {
        font-size: 0.8rem;
    }
}

/* Placeholder Images for Art Gallery */
.art-image-container {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.art-placeholder {
    text-align: center;
    color: #999999;
    opacity: 0.8;
}

.placeholder-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #cccccc;
}

.placeholder-text {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999999;
}

/* Different background colors for each artwork */
.art-item:nth-child(1) .art-image-container {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.art-item:nth-child(2) .art-image-container {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.art-item:nth-child(3) .art-image-container {
    background: linear-gradient(135deg, #45b7d1, #96c93d);
}

.art-item:nth-child(4) .art-image-container {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.art-item:nth-child(5) .art-image-container {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.art-item:nth-child(6) .art-image-container {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.art-item:nth-child(7) .art-image-container {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.art-item:nth-child(8) .art-image-container {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.art-item:nth-child(9) .art-image-container {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
}

/* Hover effects */
.art-item:hover .art-image-container {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.art-item:hover .placeholder-icon {
    color: #ffffff;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.art-item:hover .placeholder-text {
    color: #ffffff;
    transition: color 0.3s ease;
}

/* Art Tags */
.art-tags {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    z-index: 10;
}

.art-tag {
    background: rgba(255, 255, 255, 0.9);
    color: #333333;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.art-item:hover .art-tag {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* Ensure art-item has relative positioning for absolute tags */
.art-item {
    position: relative;
}