/* ================================================== */

/* Vistra */

/* created by On3step */

/* ================================================== */

/* @charset "utf-8"; */

/* ================================================== */

/* TABLE OF CONTENTS

   1. Vistra Font

   3. BASE

      3.1 Preloader

      3.2 Line Loader

      3.3 Global Styles

   4. GLOBAL SECTION SPACING (FIX TIGHT LAYOUT)

   5. HERO

      5.1 hero-section

      5.2 hero-img

   6. COMPONENTS

      6.1 logo

      6.2 badge-soft

   7. GLASSES

      7.1 icon-box

      7.2 stats-card

      7.3 floor-bg

      7.4 card

   8. BUTTONS

      8.1 btn-glass

      8.2 btn-light

      8.3 btn-Vistra

      8.4 btn-Vistra-light

   9. NAVBAR

      9.1 custom-navbar

      9.2 custom-nav .nav-link

      9.3 home-dd

      9.4 home-dd-menu

      9.5 nav-new-dd

      9.6 nav-new-menu

      9.7 burger-menu

      9.8 Mobile Styles

   10. TABS

      10.1 nav-pills .nav-link

      10.2 tab-panel

   11. FACILITIES AND CARD

      11.1 facilities-section

      11.2 facility-card

      11.3 feature-card

      11.4 testimonial-card

      11.5 experience-card

   12. GALLERY / SWIPER

      12.1 gallery-swiper

   13. GALLERY LIGHTBOX

      13.1 gallery-thumb

      13.2 gallery-lightbox

      13.3 lightbox-content

      13.4 lightbox-close

   14. CONTACT

      14.1 contact-section

      14.2 form-control

      14.3 custom-input

      14.4 date-picker-popup

      14.5 time-picker-popup

   15. FOOTER

      15.1 site-footer

      15.2 footer-title

      15.3 footer-text

      15.4 footer-social

      15.5 footer-divider

      15.6 footer-bottom

   16. TOTOP

      16.1 back-to-top

   17. About

      17.1 breadcrumb

   18. BOOTSTRAP OVERRIDES

      18.1 blog-card

      18.2 pagination

      18.3 blog-detail-thumb

      18.4 blog-content

      18.5 blog-sidebar

      18.6 blog-tags

      18.7 blog-share

      18.8 sidebar-widget

      18.9 blog-video

      18.10 author-box

      18.11 comment

      18.12 comment-form

   19. WHITE THEME

      19.1 body.white

/* ================================================== */

/* Vistra Font */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --accent: rgba(55, 121, 255, 0.85);

    --bg-main: #0b0f0e;

    --bg-soft: rgba(55, 121, 255, 0.045);

    --text-main: #fff;

    --text-muted: rgba(255, 255, 255, 0.778);

    --border-soft: rgba(255, 255, 255, 0.08);

    --shadow-glass: 0 12px 28px rgba(0, 0, 0, 0.55);

    --radius-sm: 14px;

    --radius-md: 18px;

    --radius-lg: 26px;
}

/* =====================================================

   BASE

   ===================================================== */

/* Preloader */

#preloader {
    position: fixed;

    inset: 0;

    background: var(--bg-main);

    z-index: 9999;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.9s ease;
}

.preloader-inner {
    text-align: center;
}

/* Line Loader */

.line-loader {
    width: 120px;

    height: 3px;

    background: rgba(255, 255, 255, 0.1);

    position: relative;

    overflow: hidden;

    border-radius: 3px;
}

.line-loader::before {
    content: '';

    position: absolute;

    left: -40%;

    top: 0;

    width: 40%;

    height: 100%;

    background: var(--accent);

    animation: lineMove 0.9s ease-in-out infinite;
}

@keyframes lineMove {
    0% {
        left: -40%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Hide preloader when loaded */

body.loaded #preloader {
    opacity: 0;

    visibility: hidden;

    transition: all 0.9s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;

    font-size: clamp(16px, 1vw, 18px);
}

html,
body {
    overflow-x: hidden;
}

body {
    font-size: 1rem;

    line-height: 1.7;

    margin: 0;

    font-family: Inter, system-ui, sans-serif;

    color: var(--text-main);

    background:
        radial-gradient(1200px 600px at 50% -200px, rgba(120, 152, 76, 0.08), transparent 60%),
        var(--bg-main);
}

h1 {
    font-size: clamp(2.3rem, 3.5vw, 3rem);
}

h2 {
    font-size: clamp(1.9rem, 2.8vw, 2.4rem);
}

h3 {
    font-size: clamp(1.5rem, 2vw, 1.9rem);
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

img {
    max-width: 100%;
    display: block;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 14px;

    font-weight: 600;

    letter-spacing: 0.2px;
}

p {
    margin: 0 0 18px;

    color: var(--text-muted);
}

/* =====================================================

   GLOBAL SECTION SPACING (FIX TIGHT LAYOUT)

   ===================================================== */

.section {
    padding: 110px 0;
}

#slider {
    padding: 70px 0;
}

.section-sm {
    padding: 80px 0;
}

.section-lg {
    padding: 140px 0;
}

.section-default {
    background: transparent;
}

.section-soft {
    background: linear-gradient(180deg, rgba(55, 121, 255, 0.06), rgba(55, 121, 255, 0.02));
}

.section-dark {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.15));
}

.section-highlight {
    background:
        radial-gradient(800px 400px at 50% -150px, rgba(55, 121, 255, 0.18), transparent 60%),
        rgba(55, 121, 255, 0.04);
}

.section-warm {
    background:
        radial-gradient(700px 350px at 30% -120px, rgba(120, 152, 76, 0.22), transparent 60%),
        rgba(255, 255, 255, 0.03);
}

.highlight-bg {
    color: #fff !important;

    position: relative;

    background-image: url('../images/hero-villa-bg.jpg');

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    overflow: hidden;
}

.highlight-bg::before {
    content: '';

    position: absolute;

    inset: 0;

    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));

    z-index: 0;
}

.highlight-bg > * {
    position: relative;

    z-index: 1;
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
}

/* =====================================================

   HERO

   ===================================================== */

.hero-section {
    position: relative;

    background: url('../images/hero-villa-bg1.jpg') center center / cover no-repeat;

    min-height: 700px;

    display: flex;

    align-items: center;
}

.hero-section::before {
    content: '';

    position: absolute;

    inset: 0;

    background: linear-gradient(135deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.45));
}

.hero-section::after {
    content: '';

    position: absolute;

    inset: 0;

    background: linear-gradient(135deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25));
}

.hero-section > .container {
    position: relative;

    z-index: 2;
}

.hero-img {
    overflow: hidden;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0);
}

.hero-section h1,
.hero-section p,
.hero-section .badge {
    color: #fff;
}

.hero-section .text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
}

.rounded-xl {
    border-radius: var(--radius-md);
}

/* =====================================================

   COMPONENTS

   ===================================================== */

.logo {
    position: relative;

    max-height: 30px;

    margin: 5px 0;

    z-index: 9999;
}

.logo.white {
    display: none;
}

.badge-soft {
    display: inline-block;

    padding: 6px 14px;

    font-size: 14px;

    font-weight: 500;

    color: #3779ff;

    background: rgba(55, 121, 255, 0.15);

    border: 1px solid rgba(55, 121, 255, 0.35);

    border-radius: 30px;
}

/* =====================================================

   GLASSES

   ===================================================== */

.icon-box,
.stats-card,
.floor-bg,
.card {
    background: var(--bg-soft);

    border: 1px solid var(--border-soft);

    box-shadow: var(--shadow-glass);

    backdrop-filter: blur(16px) saturate(120%);
}

.icon-box {
    padding: 24px;

    text-align: center;

    border-radius: var(--radius-sm);
}

.stats-card {
    font-size: 21px;

    font-weight: bold;

    padding: 26px 22px;

    text-align: center;

    border-radius: var(--radius-sm);
}

.stats-card small {
    font-size: 14px;

    font-weight: 300;
}

.stats-card i {
    font-size: 2rem;

    color: var(--accent);
}

.stats-card .detail {
    opacity: 0.843;
}

.floor-bg {
    padding: 64px;

    border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
    .floor-bg {
        padding: 30px 20px !important;

        width: 98%;
    }
}

/* =====================================================

   BUTTONS

   ===================================================== */

.btn-glass {
    padding: 12px 24px;

    font-weight: 500;

    color: var(--text-main);

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid var(--border-soft);

    border-radius: 999px;

    backdrop-filter: blur(12px);

    cursor: pointer;

    transition: 0.25s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn-light {
    color: #fff !important;

    background: rgba(55, 121, 255, 0.05);

    border: 1px solid rgba(55, 121, 255, 0.15) !important;
}

.btn-light:hover {
    background: rgba(55, 121, 255, 0.15);

    border-color: rgba(55, 121, 255, 0.35);
}

.btn-Vistra {
    color: #fff;

    font-size: 0.9rem;

    text-transform: uppercase;

    font-weight: 600;

    background-color: rgba(55, 121, 255, 0.85) !important;

    border-color: rgba(255, 255, 255, 0.15) !important;

    transition: all 0.3s ease;
}

.btn-Vistra:hover {
    background: rgba(55, 121, 255, 0.35) !important;

    border-color: rgba(55, 121, 255, 0.35) !important;

    backdrop-filter: blur(5px) saturate(150%);

    -webkit-backdrop-filter: blur(5px) saturate(150%);

    border: 1px solid rgba(255, 255, 255, 0.01);

    box-shadow:
        inset 0 0.05px 0 rgba(255, 255, 255, 0.1),
        0 3px 10px rgba(0, 0, 0, 0.25);

    transition: all 0.3s ease;
}

body.white .btn-Vistra:hover {
    color: #fff !important;

    background: rgba(55, 121, 255, 0.95) !important;

    border-color: rgba(55, 121, 255, 0.35) !important;

    box-shadow:
        inset 0 0.05px 0 rgba(255, 255, 255, 0.1),
        0 3px 10px rgba(0, 0, 0, 0.15);
}

.btn-Vistra-light {
    padding: 6px 14px;

    font-size: 13px;

    font-weight: 600;

    text-transform: uppercase;

    background: rgba(55, 121, 255, 0.05);

    border: 1px solid rgba(55, 121, 255, 0.15);

    border-radius: 999px;

    color: #fff;
}

.btn-Vistra-light:hover {
    background: rgba(55, 121, 255, 0.15);

    border-color: rgba(55, 121, 255, 0.35);
}

/* =====================================================

   NAVBAR

   ===================================================== */

.custom-navbar {
    background: rgba(11, 15, 14, 0.7) !important;

    backdrop-filter: blur(18px) saturate(120%);

    border-bottom: 1px solid var(--border-soft);

    padding: 10px 0;
}

.custom-nav .nav-link {
    font-weight: bold;

    font-size: 14px;

    color: var(--text-main) !important;

    padding: 0 30px !important;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    cursor: pointer;
}

.custom-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.7) !important;
}

.home-dd {
    position: relative;
}

.home-dd-menu {
    position: absolute;

    display: flex;

    flex-direction: column;

    top: 47px;

    left: -220px;

    width: 100vw;

    max-width: 1058px;

    margin: 0 auto;

    gap: 20px;

    padding: 30px;

    background: rgba(11, 15, 15, 0.88) !important;

    border: 1px solid rgba(255, 255, 255, 0.05) !important;

    border-top: 0px solid none;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);

    opacity: 0;

    visibility: hidden;

    transition: 0.25s ease;

    z-index: 99;
}

.home-dd:hover .home-dd-menu {
    opacity: 1;

    visibility: visible;
}

.home-dd-item {
    display: flex;

    flex-direction: column;

    text-align: center;

    text-decoration: none;

    color: #fff;

    font-size: 14px;

    width: 184px;

    flex-shrink: 0;
}

.home-dd-item img {
    width: 100%;

    height: 100px;

    object-fit: cover;

    margin-bottom: 0px;

    transition: 0.9s ease;
}

.home-dd-item:hover img {
    opacity: 0.6;

    transition: 0.9s ease;
}

.home-dd-item span {
    opacity: 0.9;

    padding: 4px 0;
}

.nav-new-dd {
    position: relative;
}

.home-dd-menu a {
    position: relative;

    top: 0px;

    margin: 10px;

    background: rgba(55, 121, 255, 0.85);

    padding: 0;

    border-radius: 4px;

    overflow: hidden;

    transition: all 0.6s ease;
}

.home-dd-menu a:hover {
    top: -5px;

    transition: all 0.6s ease;
}

.home-dd-menu a span.badge {
    position: absolute;

    top: 5px;

    right: 5px;

    padding: 2px 8px;

    background: rgba(55, 121, 255, 0.85);

    border: 1px solid rgba(55, 121, 255, 0.35);

    border-radius: 30px;
}

.nav-new-menu {
    position: absolute;

    top: 46px;

    left: 100%;

    transform: translateX(-50%);

    background: rgba(11, 15, 15, 0.88) !important;

    border: 1px solid rgba(255, 255, 255, 0.05) !important;

    border-top: 0px solid none;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);

    padding: 0;

    min-width: 200px;

    opacity: 0;

    visibility: hidden;

    transition: 0.25s ease;

    z-index: 99;
}

.nav-new-dd:hover .nav-new-menu {
    opacity: 1;

    visibility: visible;
}

.nav-new-item {
    display: block;

    padding: 10px 20px;

    font-size: 14px;

    font-weight: 400;

    color: #fff;

    text-decoration: none;

    white-space: nowrap;

    transition: 0.15s ease;
}

.nav-new-item:hover {
    color: rgba(255, 255, 255, 0.7);

    background: #2c3032 !important;

    transition: 0.15s ease;
}

.burger-menu {
    display: none;

    flex-direction: column;

    justify-content: space-between;

    width: 25px;

    height: 20px;

    cursor: pointer;

    z-index: 1001;
}

.burger-menu span {
    display: block;

    height: 3px;

    background-color: #fff;

    border-radius: 2px;

    transition: 0.3s;

    transform-origin: center;
}

.burger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.open span:nth-child(2) {
    opacity: 0;
}

.burger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================

   TABS

   ===================================================== */

.nav-pills .nav-link {
    font-size: 13px;

    padding: 6px 18px !important;

    color: var(--text-main);

    border: 1px solid var(--border-soft);

    letter-spacing: 1px;
}

.nav-pills .nav-link.active {
    background-color: var(--accent) !important;

    color: #fff !important;
}

.nav.nav-pills.gap-2.text-center {
    display: flex;

    justify-content: center;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel small.text-muted {
    font-size: 0.9rem;

    color: var(--accent) !important;
}

.tab-panel i {
    font-size: 21px;

    position: relative;

    top: -5px;
}

/* =====================================================

   FACILITIES AND CARD

   ===================================================== */

.facilities-section {
    padding-top: 110px;

    padding-bottom: 110px;
}

.facility-card {
    background: rgba(15, 18, 17, 0.85);

    border-radius: 14px;

    overflow: hidden;

    height: 100%;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.facility-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.facility-card .imgcard {
    overflow: hidden;

    border-radius: 0;
}

.facility-img {
    width: 100%;

    height: min(50vh, 370px);

    object-fit: cover;

    transition: transform 0.5s ease;
}

.facility-card:hover .facility-img {
    transform: scale(1.06);
}

.facility-body {
    padding: 26px 24px 28px;
}

.facility-body h6 {
    margin-bottom: 10px;

    font-weight: 600;

    color: #fff;
}

.facility-body p {
    margin: 0;

    font-size: 0.9rem;

    line-height: 1.6;

    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 768px) {
    .facility-img {
        height: 280px;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);

    border-radius: 16px;

    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);

    background: rgba(255, 255, 255, 0.06);
}

.testimonial-card {
    background: rgba(0, 0, 0, 0.53);

    border-radius: 16px;

    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);

    background: rgba(0, 0, 0, 0.7);
}

.experience-card {
    position: relative;

    background: rgba(255, 255, 255, 0.03);

    border-radius: 8px;

    overflow: hidden;

    padding: 0;

    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-4px);

    background: rgba(255, 255, 255, 0.06);
}

.experience-body {
    display: block;

    text-decoration: none;

    color: var(--bs-heading-color);

    padding: 30px 25px !important;

    cursor: pointer;
}

.experience-card img {
    width: 100%;

    height: min(35vh, 300px);

    object-fit: cover;
}

.experience-card span.badge {
    font-size: 15px;

    font-weight: 400;

    letter-spacing: 0.5px;

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;

    transform: translateY(0px);

    background: rgba(0, 0, 0, 0.65);

    z-index: 2;
}

.experience-card:hover span.badge {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}

/* =====================================================

   GALLERY / SWIPER

   ===================================================== */

.gallery-swiper {
    width: 100%;

    margin-top: 40px;
}

.gallery-swiper .swiper-slide {
    height: 60vh;

    max-height: 500px;

    overflow: hidden;

    border-radius: 8px;
}

.gallery-swiper img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}

/* =====================================================

   GALLERY LIGHTBOX

   ===================================================== */

.gallery-thumb {
    position: relative;

    cursor: pointer;
}

.gallery-thumb::after {
    content: '';

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.25);

    opacity: 0;

    transition: 0.25s ease;

    z-index: 1;
}

.gallery-thumb:hover::after {
    opacity: 1;
}

.gallery-lightbox {
    position: fixed;

    inset: 0;

    z-index: 2000;

    display: block;

    opacity: 0;

    pointer-events: none;

    transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;

    pointer-events: auto;
}

.lightbox-overlay {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.85);

    opacity: 0;

    transition: opacity 0.3s ease;
}

.gallery-lightbox.active .lightbox-overlay {
    opacity: 1;
}

.lightbox-content {
    position: relative;

    max-width: 90%;

    max-height: 90%;

    margin: auto;

    top: 50%;

    transform: translateY(-50%) scale(0.95);

    padding: 12px;

    opacity: 0;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.gallery-lightbox.active .lightbox-content {
    transform: translateY(-50%) scale(1);

    opacity: 1;
}

.lightbox-content img,
.lightbox-content iframe {
    width: auto;

    height: 80vh;

    margin: 0 auto;

    object-fit: contain;

    display: none;

    border-radius: 12px;
}

.lightbox-content iframe {
    width: 100%;

    height: 80vh;
}

.lightbox-close {
    position: absolute;

    top: -30px;

    right: -30px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid var(--border-soft);

    color: #fff;

    width: 38px;

    height: 38px;

    border-radius: 50%;

    cursor: pointer;

    transition: 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 575px) {
    .lightbox-close {
        right: 0px;
    }
}

/* =====================================================

   PLAY BUTTON

   ===================================================== */

.main-play-btn {
    position: relative;

    width: 100%;

    min-height: 280px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    cursor: pointer;
}

.main-play-btn.gallery-thumb::after {
    background: none !important;
}

.main-play-btn .title {
    display: block;

    margin-top: 10px;

    letter-spacing: 0.8px;

    opacity: 0.86;
}

.main-play-btn .play-btn {
    display: block;

    width: 80px;

    height: 80px;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.15);

    display: flex;

    align-items: center;

    justify-content: center;

    backdrop-filter: blur(2px) saturate(180%);

    border: 1px solid rgba(255, 255, 255, 0.15);

    transition: all 0.3s ease;
}

.main-play-btn .play-btn i {
    font-size: 34px;

    color: #fff;

    margin-left: 2px;
}

.main-play-btn:hover .play-btn {
    background: rgba(0, 0, 0, 0.35);

    transition: all 0.3s ease;
}

/* =====================================================

   CONTACT

   ===================================================== */

.contact-map {
    overflow: hidden;

    border-radius: 14px;
}

.contact-section {
    padding-top: 110px;

    padding-bottom: 110px;
}

.contact-section h2 {
    max-width: 520px;
}

.contact-section p {
    line-height: 1.7;
}

.form-control {
    font-size: 0.9rem;

    font-weight: 300;

    background: rgba(255, 255, 255, 0.05);

    color: #fff;

    border-radius: 8px;

    padding: 15px;

    border: 1px solid var(--border-soft);

    -webkit-appearance: none;

    outline: none;

    width: 100%;

    box-sizing: border-box;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.65);

    opacity: 1;
}

.form-control:focus {
    color: #fff;

    background: rgba(255, 255, 255, 0.08);

    border-color: var(--accent);

    box-shadow: none;
}

.custom-input {
    position: relative;
}

.custom-input input,
.custom-input textarea {
    font-size: 0.9rem;

    font-weight: 300;

    background: rgba(255, 255, 255, 0.05);

    color: #fff;

    border-radius: 8px;

    padding: 15px;

    border: 1px solid var(--border-soft);

    width: 100%;

    -webkit-appearance: none;

    box-sizing: border-box;
}

.custom-input input::placeholder,
.custom-input textarea::placeholder {
    color: transparent;
}

.custom-input .placeholder-text {
    position: absolute;

    left: 15px;

    top: 50%;

    transform: translateY(-50%);

    color: rgba(255, 255, 255, 0.65);

    pointer-events: none;

    font-size: 0.875rem;

    transition: 0.2s ease-in-out;
}

.custom-input .placeholder-text.time {
    left: 56px;
}

.custom-input input:focus + .placeholder-text,
.custom-input input:not(:placeholder-shown) + .placeholder-text,
.custom-input textarea:focus + .placeholder-text,
.custom-input textarea:not(:placeholder-shown) + .placeholder-text {
    opacity: 0;

    transform: translateY(-60%) scale(0.95);
}

.date-picker-popup,
.time-picker-popup {
    position: absolute;

    bottom: 120%;

    left: 0px;

    background: rgba(55, 121, 255, 0.05);

    border: 1px solid rgba(55, 121, 255, 0.15);

    backdrop-filter: blur(20px) saturate(150%);

    -webkit-backdrop-filter: blur(20px) saturate(150%);

    border-radius: 8px;

    color: #fff;

    padding: 10px;

    display: none;

    z-index: 1000;
}

.date-picker-popup table {
    font-size: 11px;

    width: 100%;

    border-collapse: collapse;

    text-align: center;
}

.date-picker-popup td {
    width: 14.28%;

    padding: 5px;

    cursor: pointer;

    border-radius: 4px;
}

.date-picker-popup td:hover {
    background: var(--accent);
}

.time-picker-popup div {
    font-size: 11px;

    cursor: pointer;

    padding: 5px;

    border-radius: 4px;
}

.time-picker-popup div:hover {
    background: var(--accent);
}

#time-popup {
    overflow: hidden;

    overflow-y: hidden;

    width: 150px;

    max-height: 200px;

    overflow-y: scroll;
}

#prev-month,
#next-month {
    background: rgba(255, 255, 255, 0) !important;

    border: 1px solid rgba(55, 121, 255, 0) !important;

    margin: 20px;

    width: 20px;

    height: 20px;

    line-height: 0px;

    padding: 0;
}

#prev-month span,
#next-month span {
    font-size: 24px;

    color: #fff !important;
}

#form-message {
    margin-top: 20px;

    color: rgba(55, 121, 255, 0.85);
}

.ratio-30x9 {
    --bs-aspect-ratio: calc(9 / 30 * 100%);
}

/* =====================================================

   FOOTER

   ===================================================== */

.site-footer {
    padding: 90px 0 40px;

    background: var(--bg-soft);

    box-shadow: var(--shadow-glass);

    backdrop-filter: blur(16px) saturate(120%);

    border-top: 1px solid var(--border-soft);
}

.footer-title {
    font-size: 0.9rem;

    font-weight: 600;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    margin-bottom: 0.75rem;
}

.footer-text {
    font-size: 0.9rem;

    color: rgba(255, 255, 255, 0.6);

    line-height: 1.6;
}

.footer-social {
    display: flex;

    gap: 14px;
}

.footer-social a {
    font-size: 1.1rem;

    color: rgba(255, 255, 255, 0.6);

    transition: 0.2s ease;
}

.footer-social a:hover {
    color: #fff;

    transform: translateY(-2px);
}

.footer-divider {
    margin: 2.5rem 0 1.5rem;

    border-color: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
    font-size: 0.75rem;

    color: rgba(255, 255, 255, 0.5);
}

/* =====================================================

   TOTOP

   ===================================================== */

.back-to-top {
    position: fixed;

    right: 20px;

    bottom: 20px;

    width: 44px;

    height: 44px;

    border-radius: 50%;

    border: none;

    background: var(--accent);

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transition: all 0.3s ease;

    z-index: 1050;

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);

    z-index: 1;
}

.back-to-top:before {
    content: '';

    position: absolute;

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background: rgba(55, 121, 255, 0.65);

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    animation: hotspotPulse 1.8s ease-out infinite;

    pointer-events: none;

    z-index: -1;
}

.back-to-top:hover::before {
    width: 0px;

    height: 0px;
}

/* pulse animation */

@keyframes hotspotPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.6);

        opacity: 0.8;
    }

    70% {
        transform: translate(-50%, -50%) scale(1.8);

        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.8);

        opacity: 0;
    }
}

.back-to-top i {
    font-size: 18px;
}

.back-to-top.show {
    opacity: 1;

    visibility: visible;
}

/* =====================================================

   About

   ===================================================== */

.breadcrumb,
.breadcrumb-item + .breadcrumb-item,
.breadcrumb-item + .breadcrumb-item::before {
    font-size: 15px;

    color: #fff;
}

.breadcrumb a {
    text-decoration: none;

    color: var(--accent);
}

/* =====================================================

   Faq

   ===================================================== */

.faq-item {
    margin-bottom: 1rem;

    border-radius: 8px;

    border: 1px solid #ddd;

    overflow: hidden;
}

.faq-question {
    width: 100%;

    text-align: left;

    padding: 1rem 1.5rem;

    color: #fff;

    background: rgba(255, 255, 255, 0.3);

    border: 1px solid var(--border-soft);

    box-shadow: none;

    backdrop-filter: blur(4px) saturate(200%);

    border: none;

    outline: none;

    cursor: pointer;

    font-weight: 500;

    font-size: 1rem;

    display: flex;

    justify-content: space-between;

    align-items: center;

    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.35);
}

.faq-answer {
    height: 0;

    overflow: hidden;

    transition:
        height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    padding: 0rem 1.5rem;

    background: rgba(255, 255, 255, 0.2);

    border: 1px solid var(--border-soft);

    box-shadow: none;

    backdrop-filter: blur(4px) saturate(200%);

    font-size: 0.95rem;
}

.faq-answer > *:first-child {
    margin-top: 1rem;
}

.faq-answer > *:last-child {
    margin-bottom: 1rem;
}

.faq-item.active .faq-answer {
    transition:
        height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question::after {
    content: '+';

    font-weight: bold;

    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    content: '-';
}

/* BOOTSTRAP OVERRIDES */

/* Blog Col */

.blog-card {
    background: rgba(55, 121, 255, 0.05);

    border: 1px solid rgba(55, 121, 255, 0.15);

    border-radius: 16px;

    overflow: hidden;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.blog-card .imgcard img {
    width: 100%;

    height: 220px;

    object-fit: cover;
}

.blog-body h5 {
    font-weight: 600;
}

/* Pagination */

.pagination {
    gap: 10px;
}

.pagination .page-item .page-link {
    background: rgba(55, 121, 255, 0.15);

    border: 1px solid rgba(55, 121, 255, 0.35);

    border-radius: 30px;

    padding: 10px 18px;

    font-size: 14px;

    font-weight: 500;

    color: #fff;

    transition: all 0.25s ease;
}

body.white .pagination .page-item .page-link {
    color: #0b3fe3;
}

.pagination .page-item .page-link:hover {
    background: rgba(55, 121, 255, 0.25);

    border-color: rgba(55, 121, 255, 0.55);

    color: #1f5fff;
}

.pagination .page-item.active .page-link {
    background: rgba(55, 121, 255, 0.35);

    border-color: rgba(55, 121, 255, 0.75);

    color: #0b3fe3;

    box-shadow: 0 6px 16px rgba(55, 121, 255, 0.25);
}

.pagination .page-item.disabled .page-link {
    background: rgba(55, 121, 255, 0.08);

    border-color: rgba(55, 121, 255, 0.15);

    color: rgba(55, 121, 255, 0.4);

    pointer-events: none;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    padding: 10px 22px;
}

/* Blog Detail */

.blog-detail-thumb {
    max-height: 450px;

    overflow: hidden;

    margin: 45px 0;
}

.blog-detail-thumb img {
    width: 100%;

    object-fit: cover;
}

.blog-content h5 {
    margin-top: 1.5rem;

    font-weight: 600;
}

.blog-sidebar {
    padding: 1.5rem;

    border-radius: 12px;
}

.recent-post img {
    object-fit: cover;
}

.blog-tags .badge-soft {
    font-size: 0.9rem;

    background: rgba(0, 0, 0, 0.05);

    border-color: rgba(255, 255, 255, 0.1);

    color: #fff;

    text-decoration: none;
}

.blog-share a {
    color: #555;
}

.blog-share a:hover {
    color: #000;
}

.sidebar-widget {
    padding: 2.25rem;

    border-radius: 8px;

    background:
        linear-gradient(135deg, rgba(55, 121, 255, 0.06), rgba(55, 121, 255, 0.01)),
        rgba(11, 15, 14, 0.7);

    backdrop-filter: blur(5px) saturate(150%);

    -webkit-backdrop-filter: blur(5px) saturate(150%);

    border: 1px solid rgba(255, 255, 255, 0.01);
}

body.white .sidebar-widget {
    background: rgba(55, 121, 255, 0.035);

    border-top: 1px solid var(--border-soft);
}

body.white .blog-content h5,
body.white .blog-tags .badge-soft,
body.white .sidebar-widget a {
    color: var(--text-muted);
}

.sidebar-widget + .sidebar-widget {
    margin-top: 1.25rem;
}

.sidebar-widget a {
    color: #fff;

    text-decoration: none;
}

.sidebar-widget a:hover {
    color: #f4f4f4;
}

.sidebar-widget .text-muted {
    font-size: 0.9rem;

    font-weight: 300;

    color: var(--accent) !important;
}

.blog-video iframe {
    border-radius: 12px;
}

.author-box {
    padding: 0 0 1rem;
}

.author-box a {
    color: rgba(255, 255, 255, 0.6);

    text-decoration: none;
}

body.white .author-box a {
    color: rgba(0, 0, 0, 0.8);
}

.author-box img {
    width: 80px;

    height: 80px;

    object-fit: cover;
}

.comment {
    padding: 40px 30px 40px;

    background: rgba(55, 121, 255, 0.025);

    border-radius: 8px;

    margin-left: 40px;
}

.comment img {
    width: 40px;

    height: 40px;

    object-fit: cover;
}

.comment p {
    color: #999;
}

.comment-form {
    padding: 30px;
}

.comment-form .form-control {
    border-radius: 10px;
}

.comment-form {
    background: rgba(55, 121, 255, 0.025);

    border-radius: 8px;
}

.blog-detail-meta {
    font-size: 0.85rem;

    letter-spacing: 0.02em;

    color: #6c757d;
}

.blog-detail-title {
    font-size: 2rem;

    font-weight: 700;

    line-height: 1.3;

    color: #1f2933;
}

.blog-detail-thumb img {
    width: 100%;

    height: auto;

    border-radius: 1rem;

    object-fit: cover;
}

.blog-content {
    font-size: 0.95rem;

    line-height: 1.8;

    color: #4b5563;

    padding: 0 15px;
}

.blog-content p {
    margin-bottom: 1.25rem;
}

.blog-content h5 {
    font-size: 1.05rem;

    font-weight: 600;

    margin-top: 2rem;

    margin-bottom: 0.75rem;

    color: #fff;
}

.blog-content blockquote {
    position: relative;

    padding: 1.25rem 1.5rem;

    margin: 2rem 0;

    background: rgba(255, 255, 255, 0.1);

    border-left: 4px solid #d1a45b;

    border-radius: 0.1rem;

    font-style: italic;

    color: #374151;
}

.blog-content blockquote p {
    margin: 0;

    font-size: 0.95rem;

    line-height: 1.7;
}

@media (max-width: 768px) {
    .blog-detail-title {
        font-size: 1.6rem;
    }

    .blog-content {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .blog-sidebar {
        padding: 0px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-success {
    color: var(--accent) !important;
}

/* =====================================================

   WHITE THEME

   ===================================================== */

body.white {
    --bg-main: #f9fafb;

    --bg-soft: rgba(55, 121, 255, 0.06);

    --text-main: #0f172a;

    --text-muted: rgba(15, 23, 42, 0.65);

    --border-soft: rgba(15, 23, 42, 0.08);

    --shadow-glass: 0 12px 28px rgba(15, 23, 42, 0.08);
}

/* Base body background override */

body.white {
    background:
        radial-gradient(1200px 600px at 50% -200px, rgba(55, 121, 255, 0.08), transparent 60%),
        var(--bg-main);

    color: var(--text-main);
}

body.white .line-loader {
    background: rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

body.white .line-loader::before {
    background: var(--accent);
}

/* Paragraphs */

body.white p {
    color: var(--text-muted);
}

/* Glass cards / panels */

body.white .icon-box,
body.white .stats-card,
body.white .floor-bg,
body.white .card,
body.white .feature-card,
body.white .experience-card {
    background: rgba(255, 255, 255, 0.2);

    border: 1px solid var(--border-soft);

    box-shadow: var(--shadow-glass);

    backdrop-filter: blur(4px) saturate(200%);
}

body.white .date-picker-popup,
body.white .time-picker-popup {
    color: var(--text-main);
}

body.white #prev-month span,
body.white #next-month span {
    color: var(--text-main) !important;
}

body.white .time-picker-popup div:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

/* Dropdown menus */

body.white .home-dd-menu,
body.white .nav-new-menu {
    background: rgba(11, 15, 15, 0.88) !important;

    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Navbar */

body.white .logo {
    display: none;
}

body.white .logo.white {
    display: block;
}

body.white .custom-navbar {
    /*background: rgba(220,230,250,.78) !important;*/

    background: #f4f4f4 !important;

    backdrop-filter: blur(0) saturate(0%);

    box-shadow: none !important;
}

body.white .custom-nav .nav-link {
    color: var(--bs-heading-color);
}

body.white .custom-navbar .btn-Vistra {
    color: #fff !important;
}

body.white .custom-nav .nav-link:hover {
    color: rgba(15, 23, 42, 0.65) !important;
}

body.white .home-dd-item,
body.white .nav-new-item {
    color: #ffffff !important;
}

body.white .nav-new-item:hover {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Cards */

body.white .testimonial-card {
    background: rgba(255, 255, 255, 0.95);
}

body.white .testimonial-card strong {
    color: var(--text-main);
}

body.white .stats-card {
    color: #fff !important;
}

body.white .stats-card.black {
    color: var(--text-main) !important;
}

body.white .stats-card.black {
    color: var(--text-main) !important;
}

body.white .facility-card {
    background: #ffffff;
}

body.white .facility-body h6 {
    color: var(--text-main);
}

body.white .facility-body p {
    color: var(--text-muted);
}

/* Buttons */

body.white .hero-section {
    color: #fff !important;
}

body.white .btn-glass {
    color: var(--text-main);

    background: rgba(0, 0, 0, 0.04);

    border: 1px solid var(--border-soft);
}

body.white .btn-glass:hover {
    background: rgba(0, 0, 0, 0.08);
}

body.white .btn-light,
body.white .btn-Vistra-light {
    color: #0b0f0e !important;
}

body.white .highlight-bg .btn-Vistra-light {
    color: #fff !important;
}

/* Forms */

body.white .form-control,
body.white .custom-input input,
body.white .custom-input textarea {
    background: rgba(0, 0, 0, 0.03);

    color: var(--text-main);

    border: 1px solid var(--border-soft);
}

body.white .form-control::placeholder,
body.white .custom-input .placeholder-text {
    color: rgba(11, 15, 14, 0.55);
}

/* Footer */

body.white .site-footer {
    background: rgba(55, 121, 255, 0.035);

    border-top: 1px solid var(--border-soft);
}

body.white .footer-divider {
    border-color: rgba(0, 0, 0, 0.15);
}

body.white .footer-text,
body.white .footer-bottom {
    color: rgba(11, 15, 14, 0.6);
}

body.white .footer-social a {
    color: rgba(11, 15, 14, 0.6);
}

body.white .footer-social a:hover {
    color: var(--text-main);
}

/* Sections */

body.white .section-soft {
    background: linear-gradient(180deg, rgba(55, 121, 255, 0.08), rgba(55, 121, 255, 0.03));
}

body.white .section-dark {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.02));
}

body.white .section-highlight {
    background:
        radial-gradient(800px 400px at 50% -150px, rgba(55, 121, 255, 0.18), transparent 60%),
        rgba(55, 121, 255, 0.06);
}

/* Breadcumb */

body.white .breadcrumb-item,
body.white .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-main);
}

body.white .breadcrumb-item a.text-muted {
    color: #3779ff !important;
}

body.white .faq-item.active .faq-answer p {
    color: #fff;
}

/* Mobile Styles */

@media (max-width: 992px) {
    body.white .custom-navbar {
        background: rgba(11, 15, 14, 0.85) !important;

        backdrop-filter: blur(100px) saturate(120%);
    }

    body.white .custom-nav .nav-link:hover {
        color: #fff !important;
    }

    body.white .logo {
        display: block;
    }

    body.white .logo.white {
        display: none;
    }

    body.white .nav-new-menu,
    body.white .home-dd-menu {
        border: none !important;
    }

    .navbar .container {
        max-width: unset;
    }

    .navbar .btn-Vistra {
        display: none;
    }

    .custom-nav {
        position: fixed;

        top: -100vh;

        left: 0;

        height: 100vh;

        width: 100%;

        background: rgba(11, 15, 14, 1);

        flex-direction: column;

        gap: 0;

        padding: 100px 20px;

        transition: 0.3s;

        z-index: 999;

        overflow-y: auto;
    }

    .home-dd-menu a {
        background: rgba(0, 0, 0, 0);
    }

    .custom-nav.active {
        top: 0;
    }

    .home-dd .home-dd-menu,
    .nav-new-dd .nav-new-menu {
        background: none !important;

        padding: 0;

        opacity: 1 !important;

        visibility: unset !important;

        box-shadow: 0 20px 40px rgba(0, 0, 0, 0);

        padding-left: 10px;

        border: none !important;
    }

    .home-dd .home-dd-menu img,
    .nav-new-dd .nav-new-menu img {
        display: none;
    }

    .home-dd-item {
        text-align: left;

        padding: 8px 0;
    }

    .burger-menu {
        display: flex;
    }

    .custom-nav .nav-item {
        margin-bottom: 15px;
    }

    .home-dd-menu,
    .nav-new-menu {
        position: relative;

        top: 0;

        left: 0;

        transform: none;

        display: none;

        background: rgba(55, 121, 255, 0.88);

        padding: 10px;

        border-radius: 6px;
    }

    .nav-item.show-dropdown .home-dd-menu,
    .nav-item.show-dropdown .nav-new-menu {
        display: block;
    }

    .custom-nav .nav-link {
        padding: 10px 0 !important;

        color: #fff !important;
    }

    .custom-nav .nav-link i {
        font-size: 21px;

        float: right;

        position: relative;

        top: -7px;
    }

    .footer-social {
        display: block !important;
    }

    .footer-social a {
        margin: 0 5px;
    }
}

@media (max-width: 575px) {
    .burger-menu {
        position: relative;

        right: 15px;
    }

    .ratio-30x9 {
        --bs-aspect-ratio: calc(9 / 10 * 100%) !important;
    }
}

/* All custom classes use the vrc360- prefix. */
html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.vrc360-tour,
.vrc360-tour * {
    box-sizing: border-box;
}

.vrc360-tour {
    --vrc360-panel-width: clamp(260px, 21.79vw, 320px);
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #26333b;
    color: #fff;
    font-family: Arial, sans-serif;
}

.vrc360-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.vrc360-return-cover {
    position: absolute;
    inset: 0;
    z-index: 4;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    pointer-events: none;
    transition: opacity 900ms ease-in-out;
}

.vrc360-return-cover.is-fading {
    opacity: 0;
}

/* Normal image sequence used by the Time Lapse menu item. */
.vrc360-timelapse {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    background: #101010;
}

.vrc360-timelapse[hidden] {
    display: none;
}

.vrc360-timelapse-track {
    position: absolute;
    inset: 0;
}

.vrc360-timelapse-frame {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
    transition: opacity 1.35s ease-in-out;
    will-change: transform;
}

/* Mobile + tablet: make the image itself wider than the viewport when
           necessary so it can be dragged left/right with a finger. */
@media (max-width: 1024px) {
    .vrc360-timelapse-frame {
        top: 0;
        left: 50%;
        right: auto;
        bottom: auto;
        width: auto;
        min-width: 100%;
        max-width: none;
        height: 100%;
        object-fit: cover;
        object-position: center;
        pointer-events: none;
        touch-action: none;
        cursor: grab;
    }

    .vrc360-timelapse-frame.is-active {
        pointer-events: auto;
    }

    .vrc360-timelapse-frame:active {
        cursor: grabbing;
    }
}

.vrc360-timelapse-frame.is-active {
    opacity: 1;
}

/* Scoped Pannellum layout for this equirectangular viewer. */
.vrc360-stage.pnlm-container {
    position: absolute;
    overflow: hidden;
    cursor: grab;
    outline: none;
}

.vrc360-stage.pnlm-container:active {
    cursor: grabbing;
}

.vrc360-stage .pnlm-render-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.vrc360-stage .pnlm-render-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.vrc360-stage .pnlm-ui {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.vrc360-stage .pnlm-dragfix {
    position: absolute;
    inset: 0;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.vrc360-stage .pnlm-controls-container,
.vrc360-stage .pnlm-load-box,
.vrc360-stage .pnlm-load-button,
.vrc360-stage .pnlm-panorama-info,
.vrc360-stage .pnlm-error-msg,
.vrc360-stage .pnlm-hot-spot-debug-indicator {
    display: none !important;
}

.vrc360-stage .pnlm-about-msg {
    display: none;
    position: absolute;
    z-index: 5;
    padding: 5px 8px;
    background: #fff;
    color: #111;
    font:
        12px Arial,
        sans-serif;
}

.vrc360-stage .pnlm-about-msg a {
    color: #111;
}

.vrc360-sidebar {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--vrc360-panel-width);
    z-index: 10;
    background: rgba(25, 30, 32, 0.83);
    transform: translateX(0);
    transition: transform 0.32s ease;
}

.vrc360-tour.vrc360-menu-closed .vrc360-sidebar {
    transform: translateX(-100%);
}

.vrc360-navigation {
    position: absolute;
    top: 50%;
    left: 40px;
    right: 40px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.31);
}

.vrc360-scene {
    appearance: none;
    display: block;
    width: 100%;
    min-height: 51px;
    margin: 0;
    padding: 10px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.31);
    border-radius: 0;
    text-align: left;
    background: transparent;
    color: #fff;
    /* font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif; */
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
    transition:
        font-size 0.25s ease,
        background 0.18s ease;
}

.vrc360-scene:hover {
    font-size: 23px;
    background: rgba(255, 255, 255, 0.09);
}

.vrc360-navigation[hidden] {
    display: none !important;
}

.vrc360-sub-back {
    appearance: none;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 51px;
    margin: 0;
    padding: 10px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.31);
    border-radius: 0;
    text-align: left;
    background: transparent;
    color: #fff;
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
    transition: background 0.18s ease;
}

.vrc360-sub-back:hover {
    background: rgba(255, 255, 255, 0.09);
}

.vrc360-sub-back:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.vrc360-sub-back-icon {
    display: flex;
    justify-content: center;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font:
        28px/22px Arial,
        sans-serif;
}

.vrc360-date-menu-title {
    display: block;
    width: 100%;
    padding: 12px 10px 10px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vrc360-scene:focus-visible,
.vrc360-retry:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.vrc360-toggle {
    appearance: none;
    position: absolute;
    left: var(--vrc360-panel-width);
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 12;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: #050505;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25);
    transition: left 0.32s ease;
}

/* Keep focus on the existing circle instead of adding an outer ring. */
.vrc360-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

.vrc360-toggle svg {
    width: 27px;
    height: 27px;
    transition: transform 0.32s ease;
}

.vrc360-tour.vrc360-menu-closed .vrc360-toggle {
    left: 25px;
}

.vrc360-tour.vrc360-menu-closed .vrc360-toggle svg {
    transform: rotate(180deg);
}

.vrc360-credit {
    position: absolute;
    bottom: max(18px, env(safe-area-inset-bottom));
    left: 22px;
    right: 18px;
    margin: 0;
    font:
        700 11px/1.5 Arial,
        sans-serif;
    color: #fff;
}

.vrc360-status {
    position: absolute;
    z-index: 8;
    top: 20px;
    left: calc(var(--vrc360-panel-width) + 35px);
    max-width: min(440px, calc(100% - var(--vrc360-panel-width) - 60px));
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    background: rgba(17, 26, 33, 0.91);
    color: #fff;
    font:
        14px/1.6 Arial,
        sans-serif;
    overflow-wrap: anywhere;
}

.vrc360-status[hidden] {
    display: none;
}

.vrc360-tour.vrc360-menu-closed .vrc360-status {
    left: 65px;
    max-width: calc(100% - 85px);
}

.vrc360-status p {
    margin: 0;
}

.vrc360-retry {
    display: block;
    margin: 9px 0 0;
    padding: 6px 12px;
    border: 1px solid #fff;
    border-radius: 3px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.vrc360-retry[hidden] {
    display: none;
}

@media (max-width: 767px) {
    .vrc360-tour {
        --vrc360-panel-width: 230px;
    }

    .vrc360-navigation {
        left: 25px;
        right: 25px;
    }

    .vrc360-scene {
        font-size: 18px;
        min-height: 51px;
        padding: 11px 7px;
    }

    .vrc360-toggle {
        width: 44px;
        height: 44px;
    }

    .vrc360-credit {
        left: 18px;
        font-size: 10px;
    }

    .vrc360-status,
    .vrc360-tour.vrc360-menu-closed .vrc360-status {
        top: 18px;
        left: 20px;
        max-width: calc(100% - 40px);
    }
}

@media (max-width: 359px) {
    .vrc360-tour {
        --vrc360-panel-width: 205px;
    }

    .vrc360-navigation {
        left: 20px;
        right: 20px;
    }
}

@media (max-height: 380px) {
    .vrc360-scene {
        min-height: 44px;
        padding: 7px;
    }

    .vrc360-credit {
        bottom: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vrc360-tour * {
        transition: none !important;
    }
}

/* Sidebar logo, bottom-right watermark and entry audio dialog. */
.vrc360-brand {
    position: absolute;
    top: max(32px, env(safe-area-inset-top));
    left: 30px;
    right: 30px;
    display: flex;
    justify-content: center;
}

.vrc360-brand-logo {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 90px;
    object-fit: contain;
}

.vrc360-watermark {
    position: absolute;
    z-index: 6;
    right: max(22px, env(safe-area-inset-right));
    top: max(20px, env(safe-area-inset-top));
    color: rgba(214, 171, 94, 0.52);
    font:
        700 clamp(18px, 2.9vw, 40px)/1.15 Arial,
        sans-serif;
    letter-spacing: -1px;
    pointer-events: none;
    user-select: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.vrc360-watermark sup {
    font-size: 0.45em;
    vertical-align: super;
    letter-spacing: 0;
    margin-left: 2px;
}

.vrc360-audio-dialog {
    box-sizing: border-box;
    width: min(420px, calc(100vw - 32px));
    max-width: calc(100vw - 40px);
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    overflow: visible;
    font-family: Arial, sans-serif;
    text-align: center;
}

.vrc360-audio-dialog::backdrop {
    background: rgba(6, 12, 17, 0.82);
}

.vrc360-audio-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    padding: 32px 30px 28px;
    border: 1px solid rgba(214, 171, 94, 0.68);
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
}

.vrc360-audio-card::before {
    position: absolute;
    inset: 10px;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    content: '';
    pointer-events: none;
}

.vrc360-audio-content {
    position: relative;
    z-index: 2;
}

.vrc360-audio-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0 22px;
    text-transform: uppercase;
}

.vrc360-audio-brand-name {
    color: rgba(255, 255, 255, 0.95);
    font:
        400 15px/1.2 Arial,
        sans-serif;
    letter-spacing: 5px;
}

.vrc360-audio-brand-project {
    margin-top: 3px;
    color: #d6ab5e;
    font:
        300 clamp(31px, 8vw, 42px)/0.95 Arial,
        sans-serif;
    letter-spacing: 4px;
}

.vrc360-audio-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 17px;
    border: 1px solid rgba(214, 171, 94, 0.8);
    border-radius: 50%;
    background: rgba(214, 171, 94, 0.1);
    color: #e0b86f;
    font-size: 25px;
    line-height: 1;
}

.vrc360-audio-title {
    margin: 0;
    padding: 0 0 20px;
    color: #fff;
    font:
        600 23px/1.25 Arial,
        sans-serif;
    letter-spacing: 0.2px;
}

.vrc360-audio-description {
    max-width: 290px;
    margin: 11px auto 0;
    color: rgba(255, 255, 255, 0.7);
    font:
        14px/1.6 Arial,
        sans-serif;
}

.vrc360-audio-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.vrc360-audio-choice {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    min-width: 50px;
    width: 50px;
    height: 50px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    background: #252525;
    background-clip: border-box;
    outline: none;
    outline-offset: 0;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    font:
        700 10px/1 Arial,
        sans-serif;
    letter-spacing: 1px;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.vrc360-audio-choice:hover {
    border-color: #d6ab5e;
    background: rgba(214, 171, 94, 0.18);
    color: #d6ab5e;
    transform: translateY(-2px);
}

.vrc360-audio-choice[data-vrc360-audio='off'] {
    border-color: rgba(255, 255, 255, 0.88);
    background: #252525;
    background-clip: border-box;
    box-shadow: none;
    color: #fff;
}

.vrc360-audio-choice[data-vrc360-audio='off']:hover {
    border-color: #d6ab5e;
    background: rgba(214, 171, 94, 0.12);
    color: #d6ab5e;
}

.vrc360-audio-choice[data-vrc360-audio='off'] .vrc360-audio-symbol {
    position: relative;
}

.vrc360-audio-choice[data-vrc360-audio='off'] .vrc360-audio-symbol::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: '';
    transform: translate(-50%, -50%) rotate(-45deg);
}

.vrc360-audio-symbol {
    display: block;
    font:
        400 31px/1 Georgia,
        serif;
    letter-spacing: 0;
}

.vrc360-audio-icon-label {
    font-size: 9px;
    letter-spacing: 1.4px;
}

.vrc360-audio-choice:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* Dialog auto-focus must not draw a second ring outside the border. */
.vrc360-audio-choice:focus {
    outline: none;
    box-shadow: none;
}

.vrc360-audio-choice:focus-visible {
    outline: none;
}

.vrc360-audio-error {
    margin: 14px 0 0;
    font:
        13px/1.5 Arial,
        sans-serif;
    color: #ffaaa2;
}

@media (max-width: 767px) {
    .vrc360-brand {
        top: 25px;
        left: 25px;
        right: 25px;
    }

    .vrc360-brand-logo {
        max-height: 70px;
    }

    .vrc360-watermark {
        right: 14px;
        top: max(16px, env(safe-area-inset-top));
        font-size: clamp(18px, 5vw, 25px);
        letter-spacing: -0.5px;
    }
}

@media (max-height: 420px) {
    .vrc360-brand {
        top: 12px;
    }

    .vrc360-brand-logo {
        max-height: 45px;
    }

    .vrc360-audio-dialog {
        max-height: calc(100dvh - 20px);
    }

    .vrc360-audio-card {
        padding-top: 22px;
        padding-bottom: 20px;
    }
}

/* Keep the logo in its own row; scroll only the menu below it. */
.vrc360-sidebar {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 80px !important;
    padding: max(32px, env(safe-area-inset-top)) 30px max(24px, env(safe-area-inset-bottom));
    overflow: hidden;
}

.vrc360-sidebar .vrc360-brand {
    position: static;
    min-width: 0;
}

.vrc360-sidebar .vrc360-navigation {
    position: static;
    transform: none;
    align-self: center;
    width: 100%;
    min-width: 0;
    min-height: 0;
    max-height: 100%;
    margin: 0;
    padding: 0 6px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.55) rgba(255, 255, 255, 0.08);
    scrollbar-gutter: stable;
}

.vrc360-navigation > button {
    flex: 0 0 auto;
    overflow-wrap: anywhere;
}

.vrc360-navigation::-webkit-scrollbar {
    width: 6px;
}

.vrc360-navigation::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.vrc360-navigation::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.55);
    border-radius: 10px;
}

.vrc360-navigation::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.8);
}

.vrc360-navigation > button:focus-visible {
    outline-offset: -3px;
}

@media (max-width: 767px) {
    .vrc360-sidebar {
        padding-left: 20px;
        padding-right: 20px;
        gap: 20px;
    }
}

@media (max-height: 500px) {
    .vrc360-sidebar {
        padding-top: max(12px, env(safe-area-inset-top));
        padding-bottom: max(12px, env(safe-area-inset-bottom));
        gap: 12px;
    }

    .vrc360-sidebar .vrc360-brand-logo {
        max-height: 60px;
    }
}
