

:root {
    --primary-color: #0074E0;      
    --secondary-color: #282828;    
    --accent-color: #0074E0;       
    --highlight-color: #cde5ff;    
    --text-color: #282828;         
    --section-spacing: 100px;
}

.institute-theme,
.a3d-theme,
.id4-theme,
.iguide-theme,
.iharp-theme,
.imageomics-theme {
    --primary-color: #0074E0;
    --secondary-color: #282828;
    --accent-color: #0074E0;
    --highlight-color: #cde5ff;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #ffffff;
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--text-color);
}

main {
    max-width: 1200px;
    margin: 0 auto;
}

.institute-header {
    position: relative;
    width: 100vw;
    margin: 0;
    overflow: hidden;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.header-image-container {
    position: relative;
    width: 100%;
    height: 35vh;
    overflow: hidden;
}

.header-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.85);
    padding: 20px 30px;
    border-radius: 10px;
    max-width: 900px;
    width: 80%;
    text-align: center;
}

.header-text-overlay h1 {
    margin: 0;
    font-size: 2.2em;
    font-weight: bold;
    color: var(--secondary-color);
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.2;
    word-break: break-word;
}

.institute-details-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.institute-details-container .institute-header {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.institute-info-box {
    flex: 1;
    min-width: 300px;
}

.institute-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.institute-logo-container img {
    width: 200px;
    height: auto;
    border-radius: 0;
    position: static;
    object-fit: contain;
}

.institute-logo-container p {
    font-style: italic;
    color: var(--text-color);
    margin-top: 10px;
    font-family: 'Source Sans Pro', sans-serif;
}

.institute-info {
    margin-bottom: 15px;
    font-size: 1em;
    line-height: 1.5;
    font-family: 'Source Sans Pro', sans-serif;
}

.institute-info strong {
    color: var(--text-color);
    font-family: 'Source Sans Pro', sans-serif;
}

.institute-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.institute-info a:hover {
    color: #0074E0;
    text-decoration: underline;
}

.award-link {
    color: #0074E0;
    font-weight: 500;
}

.email-link {
    color: #0074E0;
    font-weight: 500;
}

.button {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    color: white;
    background-color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: 'Source Sans Pro', sans-serif;
}

.button:hover {
    background-color: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.institute-content h2 {
    font-size: 1.8em;
    color: var(--secondary-color);
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.institute-content p {
    line-height: 1.6;
    color: var(--text-color);
    font-family: 'Source Sans Pro', sans-serif;
}

.about-section {
  margin: 30px auto;
  width: 80%;
  max-width: 900px;
}

.about-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px; 
}

.about-text {
  flex: 1.5; 
  min-width: 320px; 
}

.about-text p {
  line-height: 1.6;
  color: var(--text-color);
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1em;
  margin-top: 0; 
}

.about-image {
  flex: 1; 
  min-width: 300px;
  max-width: 350px; 
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    
    margin-bottom: 40px;
}

.video-container iframe {
    display: block;
    width: 560px;
    height: 315px;
    max-width: 100%;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .video-container iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

.mission-vision-container {
    max-width: 1200px;
    margin: 0 auto;
    
    margin-bottom: 0;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.mission-section, .vision-section {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 120px;
}

.vision-section { flex-direction: row-reverse; }

.hexagon {
    width: 220px;
    height: 190px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background: #3B8686;
    position: relative;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 20px;
}

.hexagon.large {
    width: 220px;
    height: 190px;
}

.hexagon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    clip-path: inherit;
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: inherit;
}

.hexagon:hover { transform: scale(1.05); }
.hexagon:hover img { filter: brightness(1.1); }

.columns {
    display: flex;
    align-items: center;
    gap: 0;
}

.columns .hex-col.left,
.columns .hex-col.right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.columns.lr .hex-col.left { margin-top: 0; }
.columns.lr .hex-col.right { gap: 10px; }
.columns.lr .hex-col.left { margin-right: -40px; }

.columns.rl { flex-direction: row; }
.columns.rl .hex-col.left { gap: 10px; }
.columns.rl .hex-col.right { margin-left: -40px; }
.columns.rl .hex-col.right { margin-top: 0; }

.mission-hexagons.columns.lr { transform: translateX(30px); }
.vision-hexagons.columns.rl { transform: translateX(-30px); }

.hexagon-row {
    display: flex;
    align-items: center;
}

.hexagon-row.single {
    margin-bottom: -50px;
    margin-left: 0;
}

.hexagon-row:not(.single) { gap: 0; }
.hexagon-row:not(.single) .hexagon { position: relative; }
.hexagon-row:not(.single) .hexagon:first-child { left: -10px; }
.hexagon-row:not(.single) .hexagon:last-child { left: 10px; }

.honeycomb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: -30px;
    margin: 0 auto;
    width: max-content;
    padding: 20px 0;
}

.honeycomb-row { display: flex; gap: 20px; }
.honeycomb-row:nth-child(even) { margin-left: calc(50% * 1/cos(30deg)); }

.content-section { flex: 1; max-width: 450px; }

.content-section h2 {
    font-size: 2.5em;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.content-section p {
    font-size: 1.1em;
    color: var(--text-color);
    line-height: 1.7;
    font-style: italic;
    font-family: 'Source Sans Pro', sans-serif;
}

.areas-of-work-container {
    
    margin-top: 0;
    padding-top: var(--section-spacing); 
    margin-bottom: var(--section-spacing);
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    overflow: hidden;
}

.areas-of-work-container h2 {
    margin-top: 0; 
    font-size: 2.3em;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.work-icons {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 45px;
    flex-wrap: wrap;
}

.work-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px;
    text-align: center;
}

.work-item img {
    width: 145px;
    height: 145px;
    object-fit: contain;
    margin-bottom: 10px;
}

.work-item p {
    font-size: 1.1em;
    font-weight: 400;
    color: #282828;
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
}

.key-contributors-container {
    background: linear-gradient(135deg, #218367 0%, #155442 100%);
    padding-top: 60px;
    padding-bottom: 60px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    box-sizing: border-box;
    margin-bottom: 0;
    overflow: hidden;
    display: flow-root;
}

.contributors-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.contributors-header h2 {
    font-size: 2.5em;
    color: #fff;
    margin: 0;
    font-family: 'IBM Plex Sans', sans-serif;
}

.view-all-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Source Sans Pro', sans-serif;
}

.view-all-link img { width: 14px; height: 14px; }
.view-all-link:hover { color: var(--highlight-color); }

.contributors-grid {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.contributor-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    width: 225px;
    transition: transform 0.3s ease;
}

.contributor-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.contributor-card.no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.contributor-card.no-photo .contributor-info {
    padding: 0 20px;
}

.contributor-info { padding: 15px; }

.contributor-info h3 {
    font-size: 1.2em;
    color: var(--secondary-color);
    margin: 0 0 5px 0;
    font-family: 'Source Sans Pro', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contributor-info p {
    font-size: 0.9em;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
    font-family: 'Source Sans Pro', sans-serif;
}

.publications-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin: 40px 0 20px;
    color: var(--secondary-color);
    font-family: 'Source Sans Pro', sans-serif;
}

@media (max-width: 1024px) {
    
    .mission-section, .vision-section {
        gap: 60px;
        margin-bottom: 60px;
    }
    
    .content-section { max-width: 100%; }

    
    .hexagon { width: 160px; height: 138px; }
    .hexagon.large { width: 160px; height: 138px; }

    
    .mission-hexagons.columns.lr { transform: translateX(0); }
    .vision-hexagons.columns.rl { transform: translateX(0); }

    
    .hexagon-row:not(.single) .hexagon:first-child { left: 0; }
    .hexagon-row:not(.single) .hexagon:last-child { left: 0; }

    
    .work-icons { gap: 30px; }

    
    .about-content-wrapper {
        gap: 1.5rem;
    }

    .about-image img {
        border-radius: 6px;
    }
}

@media (max-width: 768px) {
    
    body, html { overflow-x: hidden; }
    main { padding: 0 15px; }

    
    .institute-details-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin: 30px 0;
    }

    .institute-logo-container {
        align-items: center;
        text-align: center;
        margin-bottom: 0;
    }

    .institute-logo-container img { width: 150px; }

    .institute-info-box {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .header-text-overlay {
        width: 85%;
        padding: 15px 20px;
        font-size: 0.95em;
    }

    .header-text-overlay h1 {
        font-size: 1.3em;
        line-height: 1.3;
    }

    
    .mission-vision-container {
        margin: 0 auto;
        
        margin-bottom: 40px; 
        padding: 0 15px;
        overflow: hidden;
    }

    .mission-section, .vision-section {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 28px;
        text-align: center;
        align-items: center;
    }

    .vision-section { flex-direction: column; }

    .content-section { max-width: 100%; width: 100%; }

    .content-section h2 { font-size: 1.6em; text-align: center; }
    .content-section p { font-size: 1em; text-align: center; }

    
    .hexagon { width: 140px; height: 120px; }
    .hexagon.large { width: 140px; height: 120px; }

    
    .mission-hexagons.columns.lr { transform: none; }
    .vision-hexagons.columns.rl { transform: none; }

    .columns.lr .hex-col.left { margin-right: 0; }
    .columns.rl .hex-col.right { margin-left: 0; }

    
    .hexagon-row.single { margin-bottom: 0; margin-left: 0; }

    .hexagon-row:not(.single) {
        gap: 10px;
        justify-content: center;
    }

    .hexagon-row:not(.single) .hexagon:first-child,
    .hexagon-row:not(.single) .hexagon:last-child {
        left: 0;
        position: relative;
    }

    .columns { justify-content: center; flex-direction: row; }

    
    .areas-of-work-container {
        
        margin-top: 0;
        padding-top: 60px;   
        margin-bottom: 60px;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden;
    }

    .areas-of-work-container h2 {
        margin-top: 0;
        font-size: 1.6em;
        text-align: center;
    }

    .work-icons { gap: 20px; }
    .work-item { width: 150px; }
    .work-item img { width: 120px; height: 120px; }
    .work-item p { font-size: 0.95em; }

    
    .about-section {
        margin: 30px auto;
        width: 90%;
    }

    .about-content-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        justify-content: center;
    }

    .about-text {
        min-width: 100%;
    }

    .about-text p {
        font-size: 0.95em;
        text-align: center;
    }

    .about-image {
        min-width: 100%;
        max-width: 100%;
    }

    .about-image img {
        border-radius: 6px;
    }

    
    .key-contributors-container { padding-top: 40px; padding-bottom: 40px; }

    .contributors-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .contributors-header h2 { font-size: 1.8em; margin-bottom: 0; }
    .view-all-link { white-space: normal; justify-content: center; }

    .contributors-grid { gap: 12px; padding: 0 15px; }

    .contributor-card { width: 160px; }
    .contributor-card img { height: 200px; }

    .contributor-info h3 { font-size: 1em; }
    .contributor-info p { font-size: 0.85em; }

    
    .video-container { padding: 20px 15px; }
    .video-container iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }

    
    .institute-content h2 { font-size: 1.4em; text-align: center; }
    .institute-content p { font-size: 0.95em; }

    .publications-title { font-size: 1.5em; }

    .button { padding: 10px 25px; font-size: 14px; }
}

@media (max-width: 480px) {
    
    main { padding: 0 12px; }

    
    .header-image-container { height: 40vh; }

    .header-text-overlay {
        width: 90%;
        padding: 12px 15px;
    }

    .header-text-overlay h1 {
        font-size: 1.1em;
        line-height: 1.2;
    }

    .institute-details-container { gap: 20px; margin: 20px 0; }
    .institute-logo-container img { width: 130px; }
    .institute-info { font-size: 0.9em; }

    
    .mission-vision-container {
        margin: 0 auto;
        margin-bottom: 35px;
        padding: 0 12px;
        overflow: hidden;
    }

    .mission-section, .vision-section { gap: 14px; margin-bottom: 24px; }

    .content-section h2 { font-size: 1.3em; margin-bottom: 15px; }
    .content-section p { font-size: 0.9em; line-height: 1.5; }

    
    .hexagon { width: 120px; height: 102px; }
    .hexagon.large { width: 120px; height: 102px; }

    
    .about-section {
        margin: 20px auto;
        width: 95%;
    }
    
    .about-content-wrapper {
        gap: 1rem;
        align-items: center;
        justify-content: center;
    }

    .about-text p {
        font-size: 0.9em;
        line-height: 1.5;
    }

    .about-image img {
        border-radius: 4px;
    }

    
    .areas-of-work-container {
        
        margin-top: 0;
        padding-top: 50px;
        margin-bottom: 50px;
        padding-left: 12px;
        padding-right: 12px;
        overflow: hidden;
    }

    .areas-of-work-container h2 {
        margin-top: 0;
        font-size: 1.3em;
        margin-bottom: 20px;
    }

    .work-icons { gap: 15px; }
    .work-item { width: 130px; }
    .work-item img { width: 100px; height: 100px; margin-bottom: 8px; }
    .work-item p { font-size: 0.9em; }

    
    .key-contributors-container { padding-top: 32px; padding-bottom: 32px; }

    .contributors-header { padding: 0 12px; gap: 10px; }
    .contributors-header h2 { font-size: 1.4em; }

    .contributors-grid { gap: 8px; padding: 0 12px; }

    .contributor-card { width: 130px; }
    .contributor-card img { height: 160px; }

    .contributor-info { padding: 10px; }
    .contributor-info h3 { font-size: 0.9em; margin-bottom: 3px; }
    .contributor-info p { font-size: 0.8em; }

    
    .institute-content h2 { font-size: 1.2em; }
    .institute-content p { font-size: 0.9em; }

    .publications-title { font-size: 1.2em; margin: 30px 0 15px; }

    .button { padding: 8px 20px; font-size: 13px; }
}

.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.lightbox-overlay.active {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 90px 20px 20px; 
    box-sizing: border-box;
}

.lightbox-modal {
    position: relative;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: visible;
    animation: slideUp 0.3s ease;
    transform: scale(0.9);
    transform-origin: center center;
}

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

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: #0074E0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 30;
}

.lightbox-close:hover {
    background-color: rgba(26, 35, 126, 1);
    transform: scale(1.1);
}

.lightbox-carousel-wrapper {
    position: relative;
    width: 100%;
    height: var(--carousel-height, 450px);
    min-height: 320px;
    max-height: 520px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: stretch;
}

.lightbox-carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.lightbox-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-carousel-slide.active { opacity: 1; }

.lightbox-slide-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-slide-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.lightbox-carousel-slide.active .lightbox-slide-image img { animation: slideIn 0.3s ease; }

@keyframes slideIn {
    from { transform: scale(1.05); }
    to { transform: scale(1); }
}

.lightbox-slide-image:hover img { transform: scale(1.05); }

.lightbox-slide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.15) 0%, rgba(155, 99, 206, 0.1) 100%);
    z-index: 5;
    pointer-events: none;
}

.lightbox-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #0074E0;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 20;
}

.lightbox-carousel-btn:hover {
    background: rgba(26, 35, 126, 1);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev-btn { left: -70px; }
.lightbox-next-btn { right: -70px; }

.lightbox-caption-section {
    padding: 30px 40px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: 0 0 20px 20px;
    position: relative;
}

.lightbox-caption-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(130deg, #0074E0 0%, #218367 100%);
}

.lightbox-caption {
    font-size: 1.6em;
    font-weight: bold;
    color: #0074E0;
    margin: 0 0 12px 0;
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.2;
}

.lightbox-caption a {
    color: #0074E0;
    text-decoration: none;
    font-weight: 700;
}

.lightbox-caption a:hover,
.lightbox-caption a:focus-visible {
    text-decoration: underline;
}

.lightbox-credit {
    font-size: 1em;
    color: var(--text-color);
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
}

.lightbox-link {
    display: inline;
    margin-left: 6px;
    color: #0074E0;
    font-weight: 700;
    text-decoration: underline;
}

.lightbox-link:hover,
.lightbox-link:focus-visible {
    text-decoration-thickness: 2px;
}

.lightbox-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px 0;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
}

.lightbox-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(26, 35, 126, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-indicator.active {
    background: #0074E0;
    transform: scale(1.3);
}

.lightbox-indicator:hover {
    background: rgba(26, 35, 126, 0.6);
    transform: scale(1.1);
}

.hexagon-img { cursor: pointer; transition: opacity 0.3s ease; }
.hexagon-img:hover { opacity: 0.85; }

@media (max-width: 1024px) {
    .lightbox-modal { max-width: 90%; }
    .lightbox-prev-btn { left: 10px; }
    .lightbox-next-btn { right: 10px; }
}

@media (max-width: 768px) {
    .lightbox-modal { max-height: 85vh; width: 95%; }
    .lightbox-carousel-wrapper {
        height: var(--carousel-height, 350px);
        min-height: 260px;
        max-height: 420px;
    }
    .lightbox-carousel-btn { width: 45px; height: 45px; font-size: 20px; }
    .lightbox-prev-btn { left: 8px; }
    .lightbox-next-btn { right: 8px; }
    .lightbox-caption-section { padding: 25px 30px; }
    .lightbox-caption { font-size: 1.4em; margin-bottom: 10px; }
    .lightbox-credit { font-size: 0.95em; }

    .lightbox-indicators {
        position: absolute;
        bottom: 6px;
        left: 50%;
        transform: translateX(-50%);
        padding: 0;
        margin: 0;
        z-index: 10;
    }
}

@media (max-width: 480px) {
    .lightbox-modal { max-height: 80vh; width: 98%; border-radius: 15px; }
    .lightbox-carousel-wrapper {
        height: var(--carousel-height, 250px);
        min-height: 220px;
        max-height: 340px;
    }
    .lightbox-carousel-btn { width: 40px; height: 40px; font-size: 18px; }
    .lightbox-prev-btn { left: 5px; }
    .lightbox-next-btn { right: 5px; }
    .lightbox-caption-section { padding: 20px 20px; }
    .lightbox-caption { font-size: 1.2em; }
    .lightbox-credit { font-size: 0.9em; }
    .lightbox-close { width: 36px; height: 36px; font-size: 24px; }
    .lightbox-indicator { width: 8px; height: 8px; }

    .lightbox-indicators {
        bottom: 4px;
    }
}

.lightbox-carousel-btn:focus,
.lightbox-indicator:focus {
    outline: 2px solid #0074E0;
    outline-offset: 2px;
}

.lightbox-modal {
    transform: scale(0.9);     
    transform-origin: center center; 
}

@media (max-width: 768px) {
    .lightbox-indicators {
        position: static;          
        margin-top: 10px;          
        transform: none;
        padding: 0;
    }

    
    .lightbox-caption-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .lightbox-indicators {
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    .lightbox-indicators {
        position: absolute;
        bottom: 6px;                
        left: 50%;
        transform: translateX(-50%);
        padding: 0;                 
        margin: 0;
        z-index: 10;
    }
}

@media (max-width: 480px) {
    .lightbox-indicators {
        bottom: 4px;                
    }
}

.lightbox-modal {
    width: min(1000px, 94vw);
    max-height: 90vh;
    margin: auto;
    align-self: center;
    height: auto;
    --carousel-height: clamp(320px, 55vh, 520px);
}

.lightbox-carousel-wrapper {
    height: var(--carousel-height);
}

.lightbox-carousel-btn {
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .lightbox-modal {
        --carousel-height: clamp(260px, 50vh, 420px);
    }
}

@media (max-width: 480px) {
    .lightbox-modal {
        --carousel-height: clamp(220px, 50vh, 340px);
    }
}

.social-connect {
    text-align: center;
    margin: 60px auto 80px;
}

.social-connect h2 {
    margin-bottom: 16px;
    color: var(--secondary-color);
    font-size: 2rem; 
    font-weight: bold;
    letter-spacing: 0.5px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.social-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: none;
    transition: none; 
}

.social-icon:hover img,
.social-icon:focus-visible img {
    filter: invert(29%) sepia(97%) saturate(3034%) hue-rotate(192deg) brightness(93%) contrast(92%);
}

.social-icon:hover,
.social-icon:focus-visible {
    transform: none;
    outline: none;
}

.social-icon img[alt*="Zenodo"] {
    width: 48px;
    height: 48px;
}

.about-section h1 {
    font-size: 2em;
    color: var(--secondary-color);
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-family: 'Source Sans Pro', sans-serif;
}

.mission-section .content-section h2,
.vision-section .content-section h2 {
    color: var(--secondary-color) !important;
}
