html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: "Poppins", sans-serif;
}

a {
    text-decoration: none;
}

#viewer-container {
    position: relative;
    width: 100%;
    height: 100vh;
    /* full screen */
    height: 100dvh;
}

#viewer {
    width: 100%;
    height: 100%;
}

.nav-btn {
    position: absolute;
    top: 60%;
}

.nav-btn img {
    width: 100%;
    height: auto;
}

.left {
    left: 15px;
}

.right {
    right: 15px;
}

/* Tooltip Container */
.premium-tooltip {
    width: 300px;
    background: transparent;
    box-shadow: none;
    max-width: 300px;
}

.premium-tooltip .psv-tooltip-content {
    padding: 0;
}

/* Card */
.tooltip-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

/* Image */
.tooltip-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Body */
.tooltip-body {
    padding: 14px;
}

.tooltip-body h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #365298;
}

.tooltip-body p {
    font-size: 13px;
    color: #000000;
    margin-bottom: 10px;
}

/* Button */
.view-gallery-btn {
    width: -webkit-fill-available;
    border: none;
    background: linear-gradient(135deg, #ff7a18, #ff3d00);
    color: white;
    padding: 8px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}

.view-gallery-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 61, 0, 0.4);
}

/* Hover Effect */
.tooltip-card:hover {
    transform: translateY(-6px);
}

/* Arrow */
.psv-tooltip--top .psv-tooltip-arrow {
    border-top-color: white;
}

.psv-tooltip-content {
    text-shadow: none;
}

/* Header Styles Start */
.adminButton {
    height: 50px;
    width: 50px;
    background-color: rgba(67, 83, 143, .8);
    border-radius: 50%;
    display: block;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
}

.adminButton i {
    font-size: 22px;
}

.adminButtons {
    position: absolute;
    width: 100%;
    top: 95%;
    text-align: center;
}

.adminButtons a {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    margin: 8px auto 0;
    line-height: 1.15;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    position: relative;
}

.adminButtons a:hover {
    transform: scale(1.05);
}

.adminButtons a:nth-child(1) {
    background-color: #ff5722;
    transition: opacity .2s ease-in-out .3s, transform .15s ease-in-out;
}

.adminButtons a:nth-child(2) {
    /* background-color: #03a9f4; */
    transition: opacity .2s ease-in-out .25s, transform .15s ease-in-out;
}

.adminButtons a:nth-child(3) {
    background-color: #f44336;
    transition: opacity .2s ease-in-out .2s, transform .15s ease-in-out;
}

.adminButtons a:nth-child(4) {
    background-color: #4CAF50;
    transition: opacity .2s ease-in-out .15s, transform .15s ease-in-out;
}

.adminButtons a:nth-child(5) {
    background-color: #bc6421;
    transition: opacity .2s ease-in-out .15s, transform .15s ease-in-out;
}

.adminButtons a:nth-child(6) {
    background-color: #3121bc;
    transition: opacity .2s ease-in-out .15s, transform .15s ease-in-out;
}

.adminActions a i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.adminToggle {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    border-radius: 50%;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: transparent;
    border: none;
    outline: none;
    z-index: 2;
}

.adminToggle:checked~.adminButtons a {
    opacity: 1;
    visibility: visible;
}

.header-main {
    position: absolute;
    top: 0;
    z-index: 99;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.header-main .logo-box img {
    width: 150px;
    height: auto;
}

.adminActions {
    position: relative;
}

/* Header Styles End */
.psv-download-button {
    display: none;
}

.custom-marker {
    text-align: center;
    transform: translateY(-10px);
}

.custom-marker h2.marker-title {
    font-size: 15px;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 2px 2px 1px #000;
    margin-bottom: 15px;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Pin wrapper */
.pin-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

/* Base pin image */
.pin-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Inner circular image */
.pin-inner {
    position: absolute;
    top: 16%;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
}

.pin-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover effect */

.psv-tooltip--top-center .psv-tooltip-arrow {
    border-top-color: rgb(255 255 255);
}

.psv-tooltip--bottom-center .psv-tooltip-arrow {
    border-bottom-color: rgb(255 255 255);
}

.video-thumb {
    position: relative;
}

.video-thumb video,
.video-thumb img {
    width: 100%;
    border-radius: 10px;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 20px;
    padding: 10px 14px;
    border-radius: 50%;
    pointer-events: none;
}

.gallery-grid {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
}

.gallery-item img,
.gallery-item iframe,
.gallery-item video {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.gallery-item {
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.project-modal {
    background: linear-gradient(145deg, #111, #1c1c1c);
    border-radius: 16px;
    color: #fff;
    padding: 10px;
}

.project-modal .modal-title {
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 1px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
    height: auto;
    width: 40%;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

.project-overlay a.card-link-wrapper {
    color: inherit;
    font-size: inherit;
}

.project-overlay h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.project-overlay p {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.project-overlay a.explore-btn {
    border-radius: 20px;
    padding: 4px 12px;
}

.psv-navbar {
    display: none;
}

.custom-marker-1 {
    display: flex;
    align-items: center;
    gap: 6px;
}

.custom-marker-1 .circle {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: #ffffff86;
    border: 2px solid #fff;
}

.custom-marker-1 .marker-title {
    font-size: 14px;
    color: #ffffff;
    text-shadow: 2px 2px 1px #000;
    font-weight: 600;
    margin-bottom: 0;
}

.premium-tooltip {
    pointer-events: auto;
}

.premium-tooltip * {
    pointer-events: auto;
}

/* INTRO SCREEN */
#intro-loader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #0f172a, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* CONTENT */
.intro-content {
    text-align: center;
    color: #fff;
    animation: fadeUp 1s ease;
}

.project-title {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-tagline {
    font-size: 15px;
    opacity: 0.6;
    margin-bottom: 25px;
}

/* PROGRESS */
.progress-wrapper {
    width: 240px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: auto;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #fa9f07, #fa9f07);
}

.progress-text {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.8;
}

/* FADE OUT */
#intro-loader.hide {
    animation: fadeOut 1s ease forwards;
}

/* VIEWER INITIAL STATE */
#viewer {
    filter: blur(20px);
    transform: scale(1.1);
    transition: all 1.5s ease;
}

/* CLEAR + ZOOM-IN EFFECT */
#viewer.loaded {
    filter: blur(0px);
    transform: scale(1);
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.project-main-title {
    text-align: center;
}

.project-main-title h2 {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-shadow: 2px 2px 1px #000;
    margin-bottom: 0;
    margin-top: 5px;
}

.marker-item {
    cursor: pointer;
    border: none;
    padding: 10px;
    border-radius: 10px;
    transition: 0.3s;
}

.marker-item:hover {
    background: #f5f5f5;
}

.marker-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.marker-item:not(:has(.marker-thumb)) {
    padding-left: 10px;
}

.marker-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.marker-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.marker-info {
    flex: 1;
}

.marker-name {
    font-weight: 500;
    font-size: 14px;
    color: #ffffff;
}

.project-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-wrap .project-content h2 {
    margin-bottom: 20px;
}

.project-wrap .project-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}

.project-wrap .project-content ul li {
    margin-bottom: 10px;
}

.project-content ul li a {
    color: #fff;
}

.marker-thumb-sm {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.marker-item {
    cursor: pointer;
    transition: 0.2s;
}

.marker-item:hover {
    background: #f5f5f5;
    color: #000;
    border-radius: 10px;
}

#markersCanvas .offcanvas-title {
    margin-bottom: 10px;
    color: #fca000;
}

#markersCanvas .offcanvas-header {
    justify-content: end;
}

.panorama-slides-btns {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid #d6d6d6;
    padding-bottom: 20px;
}

.panorama-slides-btns button {
    flex: 1;
    padding: 12px 18px;
    border-radius: 12px;
    background: #fff;
    border: none;
    color: #000;
    font-weight: 500;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.panorama-slides-btns button:hover {
    background: #fe9807;
    color: #ffffff;
    transform: translateY(-2px);
}

.panorama-slides-btns button:active {
    transform: scale(0.97);
}

.panorama-slides-btns i {
    transition: transform 0.3s ease;
}

.btn-previous:hover i {
    transform: translateX(-4px);
}

.btn-next:hover i {
    transform: translateX(4px);
}

.psv-loader-container {
    display: none !important;
}

.logo-box {
    z-index: 9;
}

#slideTitleOverlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.footer-logo {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.footer-logo img {
    width: 125px;
    height: auto;
}

.project-wrap .project-content ul li a {
    display: flex;
    gap: 8px;
}

.project-wrap .project-content ul li:hover a {
    color: #000;
}

.project-content {
    height: 290px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 55%;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: #fca000 #1a1a1a;
    scroll-behavior: smooth;
}

.project-content::-webkit-scrollbar {
    width: 10px;
}

.project-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    margin: 8px 0;
}

.project-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4af37, #8b6b2d);
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: 0.3s ease;
}

.project-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f5d67a, #b8892e);
    background-clip: content-box;
}

.project-content::-webkit-scrollbar-corner {
    background: transparent;
}

#viewer-container .nav-btn.icon-button {
    background-color: #2f2f2f;
}

#viewer-container .nav-btn.icon-button i {
    color: #fca000;
    font-size: 30px;
}

#markersCanvas {
    background-color: #2f2f2f;
    scrollbar-width: thin;
    scrollbar-color: #fca000 #2f2f2f;
    scroll-behavior: smooth;
}

#markersCanvas .btn-close {
    filter: invert(1);
    opacity: inherit;
}

#markersCanvas .list-group-item {
    background-color: inherit;
    color: #fff;
}

#markersCanvas .list-group-item:hover,
#markersCanvas .list-group-item:hover .marker-name {
    color: #fca000;
    transition: all .3s ease;
}

#markersCanvas::-webkit-scrollbar {
    width: 10px;
}

#markersCanvas::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    margin: 8px 0;
}

#markersCanvas::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4af37, #8b6b2d);
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: 0.3s ease;
}

#markersCanvas::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f5d67a, #b8892e);
    background-clip: content-box;
}

#markersCanvas::-webkit-scrollbar-corner {
    background: transparent;
}

.next-wrapper {
    position: absolute;
    left: 0;
    top: 60%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-wrapper {
    position: absolute;
    right: 0;
    top: 60%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    background: #222;
    color: #f7a400;
    font-size: 24px;
    position: relative;
    z-index: 9;
    cursor: pointer;
}

.half-circle-text {
    position: absolute;
    width: 160px;
    height: 160px;
}

.half-circle-text text {
    fill: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}


.marker-toggle-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.slide-overlay-content button {
    border: none;
    background: #fff;
    color: #000;
    padding: 4px 12px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.slide-overlay-content button i {
    transition: 0.3s ease;
}

.slide-overlay-content button.btn-previous:hover,
.slide-overlay-content button.btn-next:hover {
    background: #f7a400;

}

.slide-overlay-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.next-wrapper-small-devices,
.home-wrapper-small-devices {
    display: none;
}

.next-wrapper-large-devices,
.home-wrapper-large-devices {
    position: relative;
    top: inherit;
    left: inherit;
    transform: none;
}

#slideTitleOverlay .next-wrapper-large-devices .nav-btn,
#slideTitleOverlay .home-wrapper-large-devices .nav-btn {
    width: auto;
    height: auto;
    background-color: #f9a10d;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: 0.3s ease;
}

#slideTitleOverlay .next-wrapper-large-devices .nav-btn:hover,
#slideTitleOverlay .home-wrapper-large-devices .nav-btn:hover {
    background-color: #fff;
}

#slideTitleOverlay .next-wrapper-large-devices .nav-btn i,
#slideTitleOverlay .home-wrapper-large-devices .nav-btn i {
    color: #000000;
    font-size: 14px;
}

.cus-order-1 {
    order: 1;
}

.cus-order-2 {
    order: 5;
}

.cus-order-3 {
    order: 2;
}

.cus-order-4 {
    order: 4;
}

.cus-order-5 {
    order: 3;
}

@media only screen and (min-width:320px) and (max-width:768px) {
    .header-main .logo-box img {
        width: 125px;
        height: auto;
    }

    .header-main {
        padding: 10px;
    }

    .psv-panel.psv--capture-event.psv-panel--open {
        z-index: 99;
    }

    .pin-inner {
        width: 20px;
        height: 20px;
        border: 2px solid #fff;
    }

    .pin-wrapper {
        position: relative;
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }

    .custom-marker h2.marker-title {
        font-size: 12px;
    }

    .premium-tooltip {
        width: 250px;
    }

    .adminButton {
        height: 35px;
        width: 35px;
    }

    .gallery-grid {
        column-count: 1;
        column-gap: 20px;
    }

    .project-wrap {
        display: block;
    }

    .project-card {
        width: 100%;
    }

    .project-content {
        margin-top: 15px;
        width: 100%;
    }

    .project-wrap .project-content ul {
        list-style: none;
        padding-left: 0;
        margin-bottom: 0;
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;
    }

    .project-main-title h2 {
        color: #fff;
        font-weight: 600;
        font-size: 9px;
        text-shadow: 2px 2px 1px #000;
    }

    .project-main-title {
        top: 95px;
    }

    .custom-marker-1 .marker-title {
        font-size: 12px;
    }

    .custom-marker-1 .circle {
        height: 15px;
        width: 15px;
    }

    .nav-btn {
        width: 30px;
        height: 30px;
        line-height: 0;
    }

    #viewer-container .nav-btn.icon-button i {
        color: #000;
        font-size: 15px;
        line-height: 1;
    }

    .half-circle-text {
        position: relative;
        width: inherit;
        height: inherit;
        display: none;
    }

    .footer-logo img {
        width: 100px;
        height: auto;
    }

    .footer-logo {
        bottom: 10px;
        right: 10px;
    }

    .slide-title-text {
        margin-top: 8px;
        font-size: 12px;
    }

    #slideTitleOverlay {
        background: none;
        backdrop-filter: none;
        padding: 0;
        bottom: 50px;
        width: 100%;
    }

    .adminButton i {
        font-size: 16px;
    }

    .slide-overlay-content button {
        padding: 4px 6px;
        font-size: 10px;
    }

    .project-title {
        font-size: 32px;
    }

    .next-wrapper-small-devices,
    .home-wrapper-small-devices {
        display: flex;
    }

    .slide-overlay-content {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .next-wrapper,
    .home-wrapper,
    .btn-previous,
    .btn-next {
        max-width: calc(50% - 8px);
        text-align: center;
    }

    .slide-title-text {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        margin-top: 5px;
    }

    .cus-order-1 {
        order: 1;
    }

    .cus-order-2 {
        order: 4;
    }

    .cus-order-3 {
        order: 2;
    }

    .cus-order-4 {
        order: 3;
    }

    .cus-order-5 {
        order: 5;
    }

    .adminButtons a,
    .marker-toggle-img
    {
        width: 35px;
        height: 35px;
    }
}

@media only screen and (min-width:769px) and (max-width:990px) {
    .project-wrap {
        display: block;
    }

    .project-card {
        width: 100%;
    }

    .project-content {
        margin-top: 15px;
    }

    .project-wrap .project-content ul {
        list-style: none;
        padding-left: 0;
        margin-bottom: 0;
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;
    }

    #slideTitleOverlay {
        bottom: 65px;
    }

    .nav-btn {
        width: 50px;
        height: 50px;
    }

    .half-circle-text {
        position: absolute;
        width: 130px;
        height: 130px;
    }

    #viewer-container .nav-btn.icon-button i {
        color: #000000;
        font-size: 14px;
    }

    .slide-overlay-content button {
        font-size: 12px;
    }

    .slide-title-text {
        font-size: 12px;
    }

    .footer-logo {
        bottom: 10px;
        right: 10px;
    }
}