/*-----------------------------------
  BASE STYLES
---------------------------------*/

* {
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    color: #2c3e50;
    background-image: 
        linear-gradient(#ccc 1px, transparent 1px),
        linear-gradient(90deg, #ccc 1px, transparent 1px);
    background-color: #f9f2e2;
    background-size: 20px 20px;
    background-blend-mode: multiply;
    padding: 20px;
    line-height: 1.6;
}

/*-----------------------------------
  PAGE WRAPPERS
---------------------------------*/

.page-wrapper {
    max-width: 900px;  /* Changed from 700px */
    width: 95%;
    margin: 10px auto;
    border: 2px dashed #3498db;
    border-radius: 35px;
    padding: 10px;
    background-color: #f9f2e2;
}

.page-container {
    max-width: 880px;  /* Changed from 680px */
    width: 100%;
    margin: 0 auto;
    border: 2px solid #2980b9;
    border-radius: 30px;
    padding: 20px;
    background-color: #f9f2e2;
    position: relative;
    box-shadow: 0 0 0 8px #f9f2e2, 0 0 0 10px #3498db;
}

.page-container:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    border-width: 0 20px 20px 0;
    border-style: solid;
    border-color: #f5e9c9 #fff;
    box-shadow: -2px 2px 3px rgba(0,0,0,0.1);
    border-radius: 0 0 0 5px;
}

.notebook-clip {
    position: absolute;
    width: 40px;
    height: 10px;
    background: #a0a0a0;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

.clip-left { top: -5px; left: 80px; transform: rotate(2deg); }
.clip-right { top: -5px; right: 80px; transform: rotate(-2deg); }

.cream-bg {
    background-color: #f5e9c9;
}

/*-----------------------------------
  INTRODUCTION & HIGHLIGHT BOXES
---------------------------------*/

.introduction {
    background-color: #f5e9c9;
    border: 2px dotted #2980b9;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
}

.introduction p {
    border: none;
    background: none;
    padding: 0;
    margin-bottom: 15px;
}

.introduction p:last-child {
    margin-bottom: 0;
}

.highlight-box {
    background-color: #f9f2e2;
    border: 2px dashed #3498db;
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    font-style: italic;
}

/*-----------------------------------
  STICKY NAVIGATION SECTION
---------------------------------*/

.nav-section {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
    position: sticky;
    top: 0;
    background-color: #f9f2e2;
    padding: 15px 10px;
    z-index: 100;
    border: 2px dotted #2980b9;
    border-radius: 15px;
    flex-wrap: wrap;
}

.nav-button {
    background-color: #f9f2e2;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
    padding: 6px 12px;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    transition: all 0.3s ease;
    color: #2c3e50;
    text-decoration: none;
}

.nav-button:hover {
    background-color: #f5e9c9;
    transform: translateY(-2px);
    text-decoration: none;
}

.nav-button.active {
    background-color: #3498db;
    color: white;
    border-color: #2980b9;
}

/*-----------------------------------
  COLLAPSIBLE ACCORDION (JavaScript)
---------------------------------*/

.collapsible {
    background-color: #f9f2e2;
    cursor: pointer;
    padding: 12px 15px;
    width: 100%;
    border: 2px dotted #2980b9;
    border-radius: 10px;
    text-align: left;
    outline: none;
    font-size: 13px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
}

.collapsible:after {
    content: '▶';
    font-size: 10px;
    color: #3498db;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.collapsible.active:after {
    transform: rotate(90deg);
}

.collapsible:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.collapsible.active {
    background-color: rgba(52, 152, 219, 0.15);
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
}

.collapsible-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #f9f2e2;
    border: 2px dotted #2980b9;
    border-top: none;
    border-radius: 0 0 10px 10px;
    margin-bottom: 5px;
}

.collapsible-content.open {
    max-height: 2000px;
}

.collapsible-content > * {
    padding: 15px;
}

/*-----------------------------------
  VISUALIZATION ACCORDION (HTML details)
---------------------------------*/

.visualization-accordion {
    margin-bottom: 15px;
    border: 2px dotted #2980b9;
    border-radius: 15px;
    background-color: #f9f2e2;
    overflow: hidden;
}

.visualization-accordion summary {
    padding: 15px;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    font-weight: 600;
    background-color: #f5e9c9;
    border-bottom: 2px dotted #2980b9;
    list-style: none;
    position: relative;
    padding-left: 30px;
    border-radius: 13px 13px 0 0;
}

.visualization-accordion:not([open]) summary {
    border-bottom: none;
    border-radius: 13px;
}

.visualization-accordion summary::-webkit-details-marker {
    display: none;
}

.visualization-accordion summary:before {
    content: "▶";
    position: absolute;
    left: 12px;
    color: #3498db;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.visualization-accordion[open] summary:before {
    transform: rotate(90deg);
}

.visualization-accordion summary:hover {
    background-color: rgba(52, 152, 219, 0.2);
}

.visualization-accordion[open] summary {
    background-color: rgba(52, 152, 219, 0.15);
}

.viz-content {
    padding: 20px;
    background-color: #f9f2e2;
}

/*-----------------------------------
  PROMPT CONTAINERS
---------------------------------*/

.prompt-container {
    margin-bottom: 30px;
    background-color: #f5e9c9;
    padding: 15px;
    border: 2px dotted #2980b9;
    border-radius: 15px;
    overflow: hidden;
}

.prompt-title {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 2px dotted #3498db;
    padding-bottom: 10px;
    word-wrap: break-word;
}

.prompt-title small {
    font-weight: 400;
    color: #666;
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
}

.prompt-intro {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
    background-color: #f9f2e2;
    padding: 12px;
    border: 2px dashed #3498db;
    border-radius: 10px;
}

.prompt-questions {
    list-style-type: decimal;
    color: #2c3e50;
    background-color: #f9f2e2;
    border: 2px dotted #2980b9;
    border-radius: 10px;
    padding: 15px 15px 15px 35px;
    margin: 0;
}

.prompt-questions li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/*-----------------------------------
  FINDINGS SECTIONS
---------------------------------*/

.findings-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px dashed #3498db;
}

.findings-title {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: #3498db;
}

.findings-attribute {
    background-color: #f9f2e2;
    padding: 12px;
    margin-bottom: 10px;
    border: 2px dotted #2980b9;
    border-radius: 10px;
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.findings-attribute-title {
    color: #3498db;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    text-decoration: underline;
    text-decoration-style: dotted;
}

.findings-text {
    background-color: #f9f2e2;
    padding: 15px;
    border: 2px dashed #3498db;
    border-radius: 10px;
    margin-bottom: 15px;
    font-style: italic;
    color: #555;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.highlight {
    background-color: rgba(52, 152, 219, 0.2);
    padding: 0 4px;
    border-radius: 3px;
}

.ai-name {
    color: #3498db;
    font-weight: 600;
}

.ai-analysis {
    color: #3498db;
    font-style: italic;
}

/*-----------------------------------
  CONSIDERATIONS SECTION
---------------------------------*/

.considerations {
    background-color: #f5e9c9;
    padding: 15px;
    border: 2px dotted #2980b9;
    border-radius: 15px;
    margin-top: 30px;
}

.considerations-title {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
    border-bottom: 2px dotted #3498db;
    padding-bottom: 10px;
}

.considerations-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
}

.considerations-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
    background-color: #f9f2e2;
    border: 2px dotted #2980b9;
    border-radius: 10px;
    padding: 10px 10px 10px 25px;
}

.considerations-list li:before {
    content: "›";
    position: absolute;
    left: 10px;
    color: #3498db;
    font-size: 1.2em;
    font-weight: bold;
}

.considerations-text {
    margin-top: 20px;
    font-style: italic;
    color: #555;
    background-color: #f9f2e2;
    padding: 15px;
    border: 2px dashed #3498db;
    border-radius: 10px;
    line-height: 1.8;
}

/*-----------------------------------
  PROCESS IMAGES IN ACCORDION
---------------------------------*/

.process-images {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    justify-content: center;
}

.process-images figure {
    flex: 1;
    margin: 0;
    text-align: center;
    max-width: 250px;
}

.process-images img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 2px dotted #2980b9;
    padding: 8px;
    background-color: #f5e9c9;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-images img:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.process-images figcaption {
    font-size: 11px;
    font-style: italic;
    margin-top: 8px;
    border: none !important;
    background: none !important;
    padding: 5px;
    color: #666;
}

/*-----------------------------------
  VISUALIZATION BUTTONS
---------------------------------*/

.viz-link-box {
    margin-top: 20px;
    text-align: center;
}

.viz-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
}

.viz-link:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    color: white;
    text-decoration: none;
}

.viz-link-icon {
    font-size: 18px;
    font-weight: bold;
}

.viz-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
    max-width: 100%;
    word-wrap: break-word;
}

.viz-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    color: white;
    text-decoration: none;
}

.viz-button.secondary {
    background-color: #9b59b6;
    box-shadow: 0 3px 10px rgba(155, 89, 182, 0.3);
}

.viz-button.secondary:hover {
    background-color: #8e44ad;
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.4);
}

.viz-button.tertiary {
    background-color: #e74c3c;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

.viz-button.tertiary:hover {
    background-color: #c0392b;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.viz-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.viz-button-text {
    text-align: left;
    min-width: 0;
}

.viz-button-title {
    display: block;
}

.viz-button-subtitle {
    display: block;
    font-size: 11px;
    opacity: 0.85;
    font-weight: 400;
    margin-top: 2px;
}

.viz-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.viz-button:hover .viz-arrow {
    transform: translateX(3px);
}

/*-----------------------------------
  MEDIA CONTAINERS
---------------------------------*/

.media-container {
    border: 2px dotted #2980b9;
    padding: 10px;
    margin: 15px 0;
    background-color: #f9f2e2;
    border-radius: 15px;
    overflow: hidden;
}

.media-container h4 {
    text-align: center;
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
    font-size: 1em;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: #3498db;
}

.media-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.media-item {
    flex: 1 1 100%;
    min-width: 0;
    background-color: #f5e9c9;
    padding: 10px;
    border: 2px dotted #2980b9;
    border-radius: 10px;
}

.media-item video,
.media-item audio {
    width: 100%;
    max-width: 100%;
    display: block;
    border-radius: 5px;
}

.audio-caption {
    color: #555;
    margin-bottom: 10px;
    text-align: center;
    font-style: italic;
    font-size: 12px;
}

/*-----------------------------------
  IMAGE CONTAINERS 
---------------------------------*/

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    margin: 20px auto;
}

.image-container img {
    max-width: 80%;
    width: 100%;
    border: 2px dotted #2980b9;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    padding: 10px;
    background-color: #f5e9c9;
    transition: transform 0.3s ease;
}

.image-container a {
    display: flex;
    justify-content: center;
    width: 100%;
}

.image-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.image-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    background-color: #f9f2e2;
    border: 2px dotted #2980b9;
    border-radius: 10px;
    padding: 20px;
     outline: 2px dotted #2980b9;
    outline-offset: 4px;
}

.image-box img {
    max-width: 45%;
    width: 100%;
    border: 2px dotted #2980b9;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    padding: 10px;
    background: #f5e9c9;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 15px;
}

.image-link {
    display: block;
    text-decoration: none;
}

.findings-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border: 2px dotted #2980b9;
    padding: 5px;
    background-color: #f5e9c9;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px auto;
    cursor: zoom-in;
}

.findings-image:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.findings-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.visualization-link {
    margin: 10px 0;
}

/*-----------------------------------
  PROJECTS GRID
---------------------------------*/

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px auto;
    max-width: 600px;
}

.projects-grid .image-container {
    margin: 0;
    gap: 5px;
}

.projects-grid .image-container img {
    max-width: 100%;
    width: 160px;
    height: 160px;
    object-fit: cover;
    padding: 5px;
}

.projects-grid figcaption {
    font-size: 10px;
    padding: 5px;
    border: none;
    background: none;
    text-align: center;
    line-height: 1.3;
}

/*-----------------------------------
  COLLABORATOR BOX
---------------------------------*/

.collaborator-box {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin: 20px 0;
    padding: 15px;
    background-color: #f5e9c9;
    border: 2px dotted #2980b9;
    border-radius: 15px;
}

.collaborator-box .image-container {
    margin: 0;
    flex-shrink: 0;
}

.collaborator-box .image-container img {
    max-width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.collaborator-info {
    flex: 1;
}

.collaborator-info p {
    border: none;
    background: none;
    padding: 5px 0;
    margin: 0;
    text-align: left;
}

.collaborator-info .subtitle {
    margin-bottom: 5px;
}

/*-----------------------------------
  REFERENCES SECTION
---------------------------------*/

.findings-references {
    font-size: 12px;
}

.findings-references ol {
    padding-left: 20px;
    background-color: #f9f2e2;
    border: 2px dotted #2980b9;
    border-radius: 10px;
    padding: 15px 15px 15px 35px;
    margin: 0;
}

.findings-references li {
    margin-bottom: 8px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.findings-references a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all;
}

.findings-references a:hover {
    text-decoration: underline;
    color: #2980b9;
}

/*-----------------------------------
  TYPOGRAPHY & CONTENT ELEMENTS
---------------------------------*/

h1, h2, h3, nav {
    border: 2px dotted #2980b9;
    border-radius: 20px;
    background-color: #f9f2e2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: #2c3e50;
}

h1 { 
    font-size: 1.8em;
    padding: 12px;
}

h2 { 
    font-size: 1.4em;
    padding: 8px;
    margin-top: 30px;
}

h3 { 
    font-size: 1.2em;
    padding: 6px;
}

p, figcaption {
    font-family: 'Courier New', Courier, monospace;
    text-align: justify;
    font-size: 14px;
    color: #2c3e50;
    background-color: #f9f2e2;
    border: 2px dotted #2980b9;
    border-radius: 10px;
    padding: 7px;
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.6;
    margin-bottom: 15px;
}

#background p {
    text-align: justify;
    padding: 20px;
}

ul, ol {
    color: #2c3e50;
    border: 2px dotted #2980b9;
    border-radius: 20px;
    background-color: #f9f2e2;
    text-align: left;
    list-style-position: inside;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 12px 12px 40px;
}

.subtitle {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: #3498db;
}

/*-----------------------------------
  CONTENT BOXES
---------------------------------*/

.content-box {
    background-color: #f5e9c9;
    border: 2px dotted #2980b9;
    border-radius: 15px;
    padding: 15px;
    margin: 20px 0;
}

.content-dot-box {
    background-color: transparent;
    border: 2px dotted #2980b9;
    border-radius: 15px;
    padding: 10px;
    margin: 20px 0;
    position: relative; 
}

.content-box.with-marker {
    position: relative;
    padding-left: 25px;
}

.content-box.with-marker:before {
    content: "";
    position: absolute;
    top: 15px;
    left: -8px;
    width: 16px;
    height: 16px;
    background: #f9f2e2;
    border: 2px solid #3498db;
    border-radius: 50%;
}

.highlighted-section {
    background-color: #f5e9c9;
    border: 2px dashed #3498db;
    border-radius: 15px;
    padding: 15px;
    margin: 25px 0;
    position: relative;
}

.highlighted-section:before {
    content: "";
    position: absolute;
    top: 20px;
    left: -10px;
    width: 20px;
    height: 20px;
    background-color: #3498db;
    border: 2px solid #2980b9;
    border-radius: 50%;
    z-index: 5;
}

.highlighted-section:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background-color: #3498db;
    border-left: 2px dashed #3498db;
}

.section-marker {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 30px;
    height: 30px;
    background-color: #f9f2e2;
    border: 2px solid #2980b9;
    border-radius: 50%;
    z-index: 5;
}

/*-----------------------------------
  VIDEO EMBEDDING 
---------------------------------*/

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 20px auto;
    border: 2px dotted #2980b9;
    border-radius: 10px;
    background-color: #f5e9c9;
}

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

/*-----------------------------------
  LINKS & INTERACTIVE ELEMENTS 
---------------------------------*/

a {
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 8px 15px;		 
    border-radius: 10px;
    text-decoration: none;
}

.btn:hover {
    background-color: #2980b9;
    transform: translate(-2px, -2px);
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
    text-decoration: none;
    color: white;
}

.info-link {
    background-color: #f5e9c9;
    border: 2px dotted #ccc;
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
    border-radius: 10px;
    padding: 8px 15px;	
}

a[href="#top"] {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 8px 15px;
    border-radius: 10px;
    margin-top: 10px;
    text-decoration: none;
}

a[href="#top"]:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
    text-decoration: none;
}

/*-----------------------------------
  NAVIGATION
---------------------------------*/

nav {
    margin: 20px auto;
    padding: 15px;
    overflow: hidden;
    position: relative;
}

nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    list-style-type: none;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    width: 100%;
}

nav a {
    padding: 4px 8px;
    background-color: #f9f2e2;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
    display: inline-block;
    font-size: 11px;
    white-space: nowrap;
}

nav a:hover {
    background-color: #f5e9c9;
    text-decoration: none;
}

/*-----------------------------------
  PAGE NAVIGATION
---------------------------------*/

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

.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

/*-----------------------------------
  SPECIAL SECTIONS
---------------------------------*/

#contact {
    background-color: #f5e9c9;
    border: 2px dotted #ccc;
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}

header, main, section, footer {
    max-width: 100%;
    margin: 0 auto;
}

section {
    margin-bottom: 20px;
}

/*-----------------------------------
  DECORATIVE ELEMENTS 
---------------------------------*/

.dotted-divider {
    border: none;
    border-top: 2px dashed #3498db;
    height: 0px;
    width: 250px;
    margin: 30px auto;
}

.divider {
    border: none;
    border-top: 2px dashed #3498db;
    width: 250px;
    margin: 30px auto;
    position: relative;
}

.divider:before, .divider:after {
    content: "•";
    color: #3498db;
    position: absolute;
    font-size: 20px;
    top: -12px;
}

.divider:before { left: -5px; }
.divider:after { right: -5px; }

.section-separator {
    border: none;
    border-top: 2px dashed #3498db;
    width: 60%;
    margin: 30px auto;
    position: relative;
}

.section-separator:before,
.section-separator:after {
    content: "•";
    color: #3498db;
    position: absolute;
    font-size: 20px;
    top: -12px;
}

.section-separator:before { left: -5px; }
.section-separator:after { right: -5px; }

/*-----------------------------------
  LIGHTBOX
---------------------------------*/

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 20px;
}

.lightbox:target {
    display: flex;
}

.lightbox a {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
    border-radius: 5px;
    object-fit: contain;
    border: 4px solid white;
}

.lightbox a::before {
    content: '×';
    position: absolute;
    top: -45px;
    right: 0;
    color: white;
    font-size: 36px;
    font-weight: bold;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.lightbox a:hover::before {
    background-color: rgba(255, 255, 255, 0.3);
}

/*-----------------------------------
  FOOTER
---------------------------------*/

footer {
    position: relative;
    padding-top: 20px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

footer p:last-child {
    border: none;
    background: none;
}

/*-----------------------------------
  TABLET RESPONSIVENESS 
---------------------------------*/

@media (min-width: 600px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .media-item {
        flex: 1 1 calc(50% - 5px);
    }
    
    .findings-image:hover {
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
        padding: 10px;
        background-size: 18px 18px;
    }
    
    .page-wrapper, .page-container {
        padding: 10px;
        width: 95%;
        max-width: 100%;
        border-radius: 20px;
    }
    
    .page-container {
        box-shadow: none;
        border: 2px dashed #3498db;
    }
    
    h1 {
        font-size: 1.5em;
        padding: 10px;
    }
    
    h2 {
        font-size: 1.3em;
        padding: 8px;
    }
    
    p, figcaption {
        padding: 8px;
        font-size: 13px;
        max-width: 100%;
    }
            
    .image-box {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 10px;
    }
    
    .image-box img {
        max-width: 80%;
    }
    
    .image-container {
        max-width: 100%;
    }
    
    .image-container img {
        max-width: 90%;
    }        
    
    .video-container {
        padding-bottom: 56.25%;
        margin: 15px auto;
    }
    
    ul, ol {
        padding: 10px 10px 10px 30px;
        max-width: 100%;
    }
    
    nav {
        padding: 10px 5px;
    }
    
    nav ul {
        gap: 8px;
    }
    
    nav a {
        font-size: 12px;
        padding: 5px 8px;
        display: block;
        text-align: center;
    }
    
    .dotted-divider, .divider {
        width: 80%;
    }
    
    .section-separator {
        width: 80%;
    }
    
    /* Projects grid tablet */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .projects-grid .image-container img {
        width: 140px;
        height: 140px;
    }
    
    /* Collaborator box tablet */
    .collaborator-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .collaborator-info p {
        text-align: center;
    }
    
    .nav-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Process images tablet */
    .process-images {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .process-images figure {
        max-width: 80%;
    }
    
    .visualization-accordion summary {
        font-size: 13px;
        padding: 12px 12px 12px 28px;
    }
    
    .viz-content {
        padding: 15px;
    }
    
    .viz-link {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    /* New styles responsive */
    .nav-section {
        padding: 10px;
        gap: 5px;
    }
    
    .nav-button {
        font-size: 10px;
        padding: 5px 8px;
    }
    
    .prompt-container {
        padding: 12px;
    }
    
    .prompt-title {
        font-size: 1em;
    }
    
    .collapsible {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .viz-button {
        padding: 10px 15px;
        font-size: 12px;
    }
}

/*-----------------------------------
  MOBILE RESPONSIVENESS 
---------------------------------*/

@media (max-width: 480px) {
    body {
        font-size: 13px;
        padding: 5px;
        background-size: 15px 15px;
    }

    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    
    .page-wrapper, .page-container {
        padding: 8px;
        border-width: 1px;
    }
    
    h1 {
        font-size: 1.3em;
    }
    
    h2 {
        font-size: 1.2em;
    }
    
    .image-box img {
        max-width: 95%;
    }
    
    .image-container img {
        max-width: 95%;
    }
    
    p, figcaption {
        font-size: 12px;
    }
    
    .video-container {
        margin: 10px auto;
        border-width: 1px;
    }
    
    /* Projects grid mobile */
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid .image-container img {
        width: 180px;
        height: 180px;
    }
    
    .projects-grid figcaption {
        font-size: 11px;
    }
    
    /* Accordion mobile */
    .visualization-accordion summary {
        font-size: 12px;
        padding: 10px 10px 10px 25px;
    }
    
    .viz-content {
        padding: 10px;
    }
    
    .process-images figure {
        max-width: 95%;
    }
    
    .viz-link {
        padding: 10px 15px;
        font-size: 12px;
        width: 100%;
        justify-content: center;
    }
    
    /* New styles mobile */
    .nav-section {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 8px;
    }
    
    .nav-button {
        text-align: center;
    }
    
    .prompt-container {
        padding: 10px;
    }
    
    .prompt-title {
        font-size: 0.95em;
    }
    
    .collapsible {
        font-size: 11px;
        padding: 8px 10px;
    }
    
    .collapsible-content > * {
        padding: 10px;
    }
    
    .viz-button {
        width: 100%;
        justify-content: center;
        padding: 10px;
    }
    
    .viz-arrow {
        display: none;
    }
    
    .considerations {
        padding: 10px;
    }
    
    .considerations-list li {
        padding: 8px 8px 8px 22px;
    }
    
    .media-container {
        padding: 8px;
    }
    
    .findings-image {
        padding: 3px;
    }
}
