/* ========================================
   CSS Reset & Base Styles - "Google Future" Theme
   ======================================== */
:root {
    /* Brand Colors (Google) */
    --blue: #4285F4;
    --red: #EA4335;
    --yellow: #FBBC05;
    --green: #34A853;

    /* Modern Palette */
    --text-primary: #202124; /* Google Black */
    --text-secondary: #5F6368; /* Google Gray */
    --text-tertiary: #9AA0A6;
    --bg-page: #FFFFFF;
    --bg-surface: #F8F9FA;
    --bg-surface-alt: #E8EAED;
    --border: #DADCE0;

    /* Accents */
    --accent-gradient: linear-gradient(135deg, #4285F4, #34A853);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Spacing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

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

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

body {
    font-family: 'Google Sans', 'Noto Sans JP', 'Inter', sans-serif; /* Prioritize Google Sans like feel */
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500; /* Lighter weight for modern feel */
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 400;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1A73E8;
}

.text-gradient {
    background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Layout & Container
   ======================================== */
.container {
    max-width: 1280px; /* Wider container */
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

section {
    padding: 8rem 0; /* More breathing room */
    position: relative;
}

/* ========================================
   Navigation (Glassmorphism)
   ======================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--border);
}

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

.logo h1 {
    font-size: 1.25rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.02em;
}

/* Spark Logo */
.logo h1::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M12 2L14.5 9.5L12 12L9.5 9.5Z'/%3E%3Cpath fill='%23EA4335' d='M22 12L14.5 14.5L12 12L14.5 9.5Z'/%3E%3Cpath fill='%2334A853' d='M12 22L9.5 14.5L12 12L14.5 14.5Z'/%3E%3Cpath fill='%23FBBC05' d='M2 12L9.5 9.5L12 12L9.5 14.5Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0;
    box-shadow: none;
    margin-right: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    background-color: var(--bg-surface-alt);
}

.nav-links a.active {
    color: var(--blue);
    background-color: #E8F0FE;
}

/* Mobile Burger */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.burger div {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 6px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: #FFFFFF;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.hero-content {
    animation: fadeUp 0.8s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 400; /* Elegant thin */
    line-height: 1.15;
    margin-bottom: 2rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.hero-title strong {
    font-weight: 700;
    background: linear-gradient(90deg, #4285F4, #34A853, #FBBC05, #EA4335);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* Hero Image area - Abstract composition */
.hero-image {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1.2s ease-out;
}

.image-placeholder svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.08));
    transform: scale(1.1);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 2.5rem;
    height: 52px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px; /* Material Design style */
    transition: all 0.2s ease;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--blue);
    color: white;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.btn-primary:hover {
    background: #3367D6;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: var(--blue);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: #F8FBFF;
    border-color: var(--blue);
    color: #1A73E8;
}

/* ========================================
   Bento Grid Layout (About & Skills)
   ======================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    grid-auto-rows: minmax(160px, auto);
}

.bento-item {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: none; /* No border for cleaner look */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    background: #FFF;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    z-index: 1;
}

/* Specific spans */
.col-span-12 { grid-column: span 12; }
.col-span-8 { grid-column: span 8; }
.col-span-6 { grid-column: span 6; }
.col-span-4 { grid-column: span 4; }
.col-span-3 { grid-column: span 3; }

.row-span-2 { grid-row: span 2; }

/* Bento Content Styling */
.bento-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.bento-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Experience Timeline Styles */
.experience-timeline {
    border-left: 2px solid var(--border);
    margin-left: 0.5rem;
    padding-left: 2rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-dot {
    position: absolute;
    left: -2.4rem;
    top: 6px;
    width: 14px;
    height: 14px;
    background: white;
    border: 3px solid var(--blue);
    border-radius: 50%;
}

.timeline-content h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

/* Stats Styling within Bento */
.stat-value {
    font-size: 4.5rem;
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1;
    margin-top: auto;
    margin-bottom: 0.5rem;
    letter-spacing: -0.05em;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Skill Tags */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.skill-tag {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

/* ========================================
   Works Section - Featured Projects Refined
   ======================================== */
.section-header {
    margin-bottom: 6rem;
    text-align: left; /* Align left for modern feel */
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 400;
}

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

.work-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    border-color: transparent;
}

.work-card-header {
    padding: 2.5rem 2.5rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
}

.work-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
}

.work-icon-wrapper.blue { color: var(--blue); background: #E8F0FE; }
.work-icon-wrapper.red { color: var(--red); background: #FCE8E6; }
.work-icon-wrapper.yellow { color: var(--yellow); background: #FEF7E0; }
.work-icon-wrapper.green { color: var(--green); background: #E6F4EA; }

.work-header-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.role-badge {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.impact-score {
    text-align: right;
}

.score-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.score-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Card Body */
.work-card-body {
    padding: 0 2.5rem 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-summary {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Footer & Tech Stack */
.work-card-footer {
    padding: 1.5rem 2.5rem;
    border-top: 1px solid var(--border);
    background: #FAFAFA;
}

.tech-stack span {
    background: white;
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========================================
   Student Works Section (Preview)
   ======================================== */
.student-works-intro {
    background: #F8F9FA;
    border-top: none;
    padding: 8rem 0;
}

.preview-scroller {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 4px; /* Space for shadow */
    margin: 0 -2rem; /* Bleed out */
    padding-left: 2rem;
    padding-right: 2rem;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.preview-scroller::-webkit-scrollbar {
    display: none;
}

.preview-card {
    min-width: 300px;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: none;
    display: block;
    text-decoration: none;
    color: inherit;
}

.preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.preview-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.preview-card-info {
    padding: 1.5rem;
}

.preview-card-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.preview-card-info p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin: 0;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: #FFFFFF;
    padding: 10rem 0;
}

.contact-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.contact-info-centered h2 {
    font-size: 4rem;
    font-weight: 400;
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: initial;
}

.social-btn {
    border: 1px solid var(--border);
    box-shadow: none;
    padding: 1rem 2.5rem;
    border-radius: 100px;
}

.social-btn:hover {
    background: #F1F3F4;
    border-color: transparent;
    color: var(--text-primary);
    transform: none;
    box-shadow: none;
}

/* ========================================
   Student Works Page Specific
   ======================================== */
.student-works {
    background: var(--bg-page);
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.page-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
    animation: fadeUp 0.8s ease-out;
}

.page-header .section-title {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #1F2937, #4B5563);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.back-link:hover {
    color: var(--blue);
    transform: translateX(-4px);
    box-shadow: var(--shadow-md);
}

.student-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.student-work-item {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.student-work-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    border-color: transparent;
}

.student-work-link {
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--blue);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.student-work-link:hover {
    color: #1A73E8;
    gap: 0.75rem;
}

/* Detail Page Gallery */
.detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 4rem;
}

.detail-gallery img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    background: #f5f5f5;
}

.detail-gallery img:hover {
    box-shadow: var(--shadow-lg);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: var(--radius-md);
}

.spec-item h4 {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.spec-item p {
    margin: 0;
    font-weight: 500;
    color: var(--text-primary);
}

.project-text-content h3 {
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    padding-left: 1rem;
}

.project-text-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 24px;
    width: 4px;
    background: var(--blue);
    border-radius: 2px;
}

.project-text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.project-text-content ul {
    list-style: none;
    margin-bottom: 2rem;
}

.project-text-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.project-text-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--text-tertiary);
    border-radius: 50%;
}

.student-work-image {
    height: 240px;
    overflow: hidden;
    position: relative;
    background: var(--bg-surface-alt);
}

.student-work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.work-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.student-work-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.work-year {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.work-specs {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.work-specs span {
    background: var(--bg-surface-alt);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.student-work-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(66, 133, 244, 0.3);
}

.student-work-item:hover .student-work-image img {
    transform: scale(1.05);
}

/* Modal Styling Improvements */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 1000px;
    height: 90vh;
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    animation: modalSlideUp 0.3s ease-out;
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #f1f1f1;
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    height: 100%;
    overflow: hidden;
}

.modal-gallery {
    flex: 1.5;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-gallery img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-prev, .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.2s;
}

.gallery-prev:hover, .gallery-next:hover {
    background: rgba(255,255,255,0.4);
}

.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }

.gallery-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.modal-info {
    flex: 1;
    padding: 3rem 2.5rem;
    overflow-y: auto;
    background: white;
}

.modal-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--text-primary);
    font-weight: 700;
}

.modal-details {
    margin-top: 2rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.modal-details h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.modal-details h4:first-child {
    margin-top: 0;
}

.modal-details ul {
    list-style: disc;
    padding-left: 1.25rem;
    color: var(--text-secondary);
}

.modal-details li {
    margin-bottom: 0.25rem;
}

@media (max-width: 900px) {
    .modal-body {
        flex-direction: column;
        overflow-y: auto;
    }

    .modal-gallery {
        flex: none;
        height: 300px;
    }

    .modal-info {
        flex: none;
        padding: 2rem;
    }

    .modal-content {
        height: auto;
        max-height: 95vh;
        overflow: hidden;
    }
}

.student-works-summary {
    background: white;
    padding: 4rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    margin-top: 4rem;
    box-shadow: var(--shadow-md);
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.summary-item h4 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
