html {
    height: 100%;
}
.container {
    display: flex;
    gap: 16px;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    align-items: flex-start; /* Top-aligns flex children by default */
}
.sidebar {
    flex: 1.5;
    padding-right: 16px;
    box-sizing: border-box;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: flex 0.3s ease, padding 0.3s ease, min-width 0.3s ease;
    position: relative;
    z-index: 10;
    gap: 10px;
}
.sidebar p {
    font-size: 1.8rem;
}
.sidebar-content-wrapper p {
    font-size: 0.9rem;
    font-weight: normal;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.main-content {
    flex: 4.5;
    display: flex;
    flex-direction: column;
    align-self: stretch; /* Overrides container's alignment to fill height */
    position: relative;
}
.profile-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    display: block;
}
h1, h2, h3, h4, h5, h6 {
    text-align: left; font-family: Arial, Helvetica, sans-serif; font-weight: bold;
}
p {
    text-align: left; font-family: Arial, Helvetica, sans-serif; font-weight: bold; /* Corrected invalid 'font-style: bold' */
}
body {
    font-family: Helvetica, Arial, sans-serif;
    margin: 0;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-center-color, #f5f5f5);
    transition: background-color 1.5s ease;
}
h1, h2, h3, h4, h5, h6 {
    color: #333;
}
p {
    color: #393939;
    font-style: normal;
    font-weight: normal;
}
.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(10, 1fr);
    gap: 0;
    flex-grow: 1;
    min-height: 0;
}
.project-card {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    min-height: 0;
}
.project-card picture {
    display: block;
    width: 100%;
    height: 100%;
}
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    color: rgb(255, 255, 255);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    transition: background 0.3s ease;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: right;
    padding: 20px;
    box-sizing: border-box;
}
.project-card:hover .overlay {
    background: rgba(0, 0, 0, 0.5);
}

@media (max-width: 1024px) {
    .sidebar {
        height: 100%;
    }
    .profile-image {
        width: 300%;
        margin-left: -100%;
        transform: rotate(-90deg);
        margin-top: 120%;
        margin-bottom: calc(120% + 20px);
    }

    /* Project Page Mobile Styles - Scroll Markers */
    .project-page .sidebar {
        flex: 0 0 40px !important;
        min-width: 40px !important;
        padding-right: 0;
        align-items: center;
    }

    .sidebar-toggle {
        display: none;
    }

    .project-page .sidebar .sidebar-content-wrapper {
        display: block !important;
        width: 100%;
    }

    .project-page .sidebar-content-wrapper p {
        display: none;
    }

    .project-page .toc-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 20px;
    }

    .project-page .toc-list li {
        margin: 0;
    }

    .project-page .toc-list a {
        font-size: 0;
        display: block;
        width: 4px;
        height: 20px;
        border: 2px solid #333;
        border-radius: 10px;
        background-color: transparent;
        transition: background-color 0.3s;
        padding: 0;
    }

    .project-page .toc-list a.active {
        background-color: #333;
    }
}

.sidebar-text {
    margin-top: auto;
}
.email-link {
    display: block;
    color: #000000;
    text-decoration: none;
    font-size: 1.2rem;
    margin-top: 10px;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}
.sidebar.collapsed .sidebar-content {
    display: none;
}

.filter-section {
    margin-top: 20px;
}
.filter-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
    color: #000000;
}
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.filter-tag {
    background: none;
    border: 1px solid #ccc;
    border-radius: 15px;
    padding: 5px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}
.filter-tag:hover, .filter-tag.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* === Project Page Styles === */
body.project-page {
    margin: 0;
    height: 100%;
    overflow: hidden;
}

.back-button {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: transparent;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    width: fit-content;
}
.back-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #000;
}

.sma-project {
    background-image: url('Assets/SMA/BG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.man-project {
    background-image: url('Assets/MAN/BG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.eh-project {
    background-image: url('Assets/EH/BG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.ss-project {
    background-image: url('Assets/SS/BG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.oms-project {
    background-image: url('Assets/OMS/BG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.tsw-project {
    background-image: url('Assets/TSW/BG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.tw-project {
    background-image: url('Assets/TW/BG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.stms-project {
    background-image: url('Assets/STMS/BG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.ada-project {
    background-image: url('Assets/ADA/BG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.dk-project {
    background-image: url('Assets/DK/BG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-content {
    overflow-y: auto;
    padding: 40px;
    height: 100%;
    box-sizing: border-box;
    position: relative;
}

/* Standardised Typography for Project Pages */
.project-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: bold;
}

.project-content h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: bold;
}

.project-content h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: bold;
}

.project-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 12px;
    font-weight: normal;
}

.project-content .label-text {
    font-size: 0.5rem;
    font-style: italic;
    color: #666;
    margin-bottom: 8px;
    display: block;
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin-bottom: 20px;
    align-self: flex-end;
    color: #333;
}

.sidebar-toggle img {
    width: 24px;
    height: 24px;
    display: block;
}

.sidebar.collapsed {
    flex: 0 0 50px;
    min-width: 50px;
    padding-right: 10px;
    overflow: visible;
}

.sidebar.collapsed .sidebar-content-wrapper {
    display: block;
}

.sidebar.collapsed .sidebar-content-wrapper p {
    display: none;
}

.toc-list {
    font-size: 1.0rem;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.toc-list li {
    margin-bottom: 10px;
}

.toc-list a {
    display: block;
    padding: 4px 0;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.toc-list a:hover {
    color: #000;
}

.toc-list a.active {
    font-weight: bold;
    color: #000;
}

.sidebar.collapsed .toc-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.sidebar.collapsed .toc-list li {
    margin: 0;
}

.sidebar.collapsed .toc-list a {
    font-size: 0;
    display: block;
    width: 4px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 10px;
    background-color: transparent;
    padding: 0;
}

.back-button .icon {
    margin-right: 10px;
    font-size: 1.2rem;
    line-height: 1;
}

.back-button .icon img {
    width: 18px;
    height: 18px;
    display: block;
}

.sidebar.collapsed .back-button {
    padding: 10px;
    width: 40px;
    justify-content: center;
    box-sizing: border-box;
}

.sidebar.collapsed .back-button .icon {
    margin-right: 0;
}

.sidebar.collapsed .back-button .text {
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 0 5px 5px 0;
    white-space: nowrap;
    display: none;
}

.sidebar.collapsed .back-button:hover .text {
    display: block;
}

.sidebar.collapsed .toc-list a.active {
    background-color: #333;
}

.header-image-container {
    position: relative;
    width: 100%;
    height: 500px; /* Adjust height as needed */
    margin-bottom: 40px;
    overflow: hidden;
}

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

.header-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.header-button:hover {
    background-color: #555;
}

@media (max-width: 1024px) {
    .back-button .text {
        display: none;
    }
    .back-button {
        padding: 10px;
    }
    .back-button .icon {
        margin-right: 0;
    }

    .content-row {
        flex-direction: column;
    }
    
    .content-row .text-column,
    .content-row .image-column {
        flex: 1 1 100%;
    }

    .container {
        padding: 10px;
    }

    .project-content {
        padding: 20px;
    }
}

.content-row {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
    align-items: center;
}

.content-row .text-column, .content-row .image-column {
    flex: 1;
}

/* Stakeholder Map Hotspots */
.stakeholder-map-container {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

.stakeholder-map-container img {
    width: 100%;
    height: auto;
    display: block;
}

.hotspot {
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid #333;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: background 0.3s, transform 0.3s;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #333;
    font-size: 1rem;
}

.hotspot:hover, .hotspot:focus {
    background: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.hotspot-popup {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    display: none;
    z-index: 30;
    width: 250px;
    max-width: 80vw;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.connector-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 25; /* Below popup (30) but above image */
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.grid-4-col img {
    width: 100%;
    height: auto;
    display: block;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.grid-3-col img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.grid-item {
    border: 1px solid #A5A5A5;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 20px;
    height: 100%;
    overflow: hidden;
}

.grid-item p {
    padding: 0 20px 0 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.grid-item p:nth-of-type(2),
.grid-item p:nth-of-type(3) {
    text-align: left;
}

.grid-item div {
    width: 100%;
}

@media (max-width: 768px) {
    .grid-4-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .grid-3-col {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .tags-container {
        flex-direction: column;
    }
}

.hotspot-popup.active {
    display: block;
}

.hotspot-popup h3 {
    margin-top: 0;
    font-size: 1rem;
    margin-bottom: 8px;
    text-align: left;
}

.hotspot-popup p {
    font-size: 0.9rem;
    margin: 0;
    text-align: left;
    color: #666;
}

.visit-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: auto;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}
.visit-button:hover {
    background-color: #555;
}

.methodology-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.methodology-table th, .methodology-table td {
    border: 1px solid #A5A5A5;
    padding: 12px;
    text-align: left;
}

.methodology-table th {
    background-color: rgba(0, 0, 0, 0.05);
    font-weight: bold;
    font-size: 1.5rem;
}

.citation {
    text-align: right;
    font-weight: bold;
}

/* Content Catalogue Tags */
.tags-container {
    display: flex;
    align-content:inherit ;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.content-tag {
    background-color: white;
    border: 1px solid #A5A5A5;
    border-radius: 20px;
    padding: 10px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: auto;
    box-sizing: border-box;
}

.content-tag:hover {
    background-color: #f0f0f0;
    border-color: #333;
    cursor: pointer;
}

.content-tag img {
    height: 24px;
    width: 24px;
}

.tag-value {
    width: auto;
    height: 20px;
    border-radius: 15%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.5 rem;
    color: #393939;
}

.content-tag p {
    margin: 0;
}

/* 3D Cube Scroll Animation Styles */
.header-section {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    pointer-events: none;
}

.home-title {
    position: static;
    transform: none;
    margin: 0 0 15px 0;
    pointer-events: auto;
    text-align: center;
    color: #333;
}

.filter-buttons {
    display: flex; /* Aligns buttons in a row */
    gap: 8px; /* Space between buttons */
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.4); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px; /* Pill shape for the container */
    padding: 8px; /* Padding around the buttons */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Subtle shadow */
}

.filter-btn {
    background: none;
    border: none;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    color: #2d2d2d;
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth transition for all properties */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 16px; /* More padding for a larger click area */
    border-radius: 30px; /* Rounded corners for the button itself */
}

.filter-btn:hover {
    color: #333;
    background-color: rgba(255, 255, 255, 0.5); /* Subtle highlight on hover */
}

.filter-btn.active {
    color: #fff; /* White text for active button */
    font-weight: bold;
    background-color: #333; /* Dark background for active button */
}

.home-scroll-container {
    height: 100%;
    overflow-y: auto;
    position: relative;
    scrollbar-width: none;
}
.home-scroll-container::-webkit-scrollbar {
    display: none;
}

.scroll-track {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.sticky-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform 1s cubic-bezier(0.6, -0.28, 0.735, 0.045), opacity 0.8s linear;
    z-index: 2;
}

.cube-container {
    width: 300px;
    height: 300px;
    perspective: 1000px;
}

.cube {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    transform-origin: center center;
}

.face {
    position: absolute;
    width: 300px;
    height: 300px;
    left: 0;
    top: 0;
    background: #D5D5D5;
    display: flex;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden;
    border: 2px solid #D5D5D5;
    box-sizing: border-box;
}
.face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    backface-visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}
.face a {
    display: block;
    width: 100%;
    height: 100%;
}

.face img.active {
    opacity: 1;
}

/* Cube Face Transforms */
.face.front  { transform: rotateY(0deg) translateZ(150px); }
.face.right  { transform: rotateY(90deg) translateZ(150px); }
.face.back   { transform: rotateY(180deg) translateZ(150px); }
.face.left   { transform: rotateY(-90deg) translateZ(150px); }
.face.top    { transform: rotateX(90deg) translateZ(150px); }
.face.bottom { transform: rotateX(-90deg) translateZ(150px); }

.cube-shadow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%) translateY(220px) rotateX(90deg);
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 60%);
    filter: blur(15px);
    z-index: -1;
}

.scroll-text-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.5s linear;
}

.project-scroll-group {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
}

/* Page Transition Animation */
body.page-exit-animation .sticky-stage {
    transform: translateX(-100%) scale(0.3);
    opacity: 0;
}

body.page-exit-animation .scroll-text-track {
    opacity: 0;
}

.project-info-container {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    box-sizing: border-box;
    max-width: 90%;
    gap: 5px;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 20px 30px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    transition: opacity 0.1s ease-out;
}

.project-title-scroll {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    box-sizing: border-box;
    color: black;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: none;
    background: transparent;
    pointer-events: auto;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

.project-tags-scroll {
    text-align: center;
    pointer-events: auto;
    font-size: 1rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #666;
    font-size: 1rem;
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Home Page Specific Styles */
.home-page {
    background: none !important;
}

#bg-image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease-in-out;
    background-image: url('Assets/START- BG.png');
}

.project-description-scroll {
    font-size: 1.2rem;
    color: #666;
    max-width: 100%;
    text-align: left;
    font-family: Helvetica, Arial, sans-serif;
    pointer-events: auto;
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgb(17, 16, 16);
    color: #000000;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}
.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}
.prev-arrow { left: 5%; }
.next-arrow { right: 5%; }

/* Typing Animation */
#typing-animation, #software-typing-animation {
    min-height: 2.2rem; /* Prevents layout shift as text length changes */
    margin-top: 0;
    margin-bottom: 0;
}

#typing-animation::after, #software-typing-animation::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: #000000;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.lightbox-image {
    cursor: pointer;
}

/* Lightbox Image Indicator */
.lightbox-container {
    position: relative;
    display: inline-block;
    line-height: 0; /* remove bottom space from inline-block */
}

.lightbox-container::after {
    content: url('Assets/Icons/Zoom-in.png');
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-80%, -80%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 300;
    line-height: 60px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.lightbox-container:hover::after {
    opacity: 1; 
} 

/* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    height: 400px; /* Adjust height as needed */
    overflow: hidden;
    border-radius: 10px;
    background-color: none; /* Light background for letterboxing */
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the whole image fits */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-image.active {
    opacity: 1;
}

/* Slider Navigation Dots */
.slider-nav {
    text-align: center;
    margin-top: 10px;
}

.slider-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot:hover,
.slider-dot.active {
    background-color: #333;
}