:root{
    --gold:#d4af37;
    --gold-dark:#b8882c;
    --gold-soft:rgba(212,175,55,.18);
    --dark:#070707;
    --dark-soft:#101010;
    --light:#191919;
    --muted:#d6cbbb;
    --page-text:#f4efe3;
    --accent:#ffffff;
    --bg:#050505;
    --section-bg:rgba(15,15,15,.92);
    --frame-bg:#111111;
    --image-filter:saturate(1.18) contrast(1.15) brightness(1.08);
    --card:#121212;
}

/* Project pages share a common theme */
.project-page{
    --gold: #d4af37;
    --gold-dark: #b8882c;
    --gold-soft: rgba(212,175,55,.18);
    --muted: rgba(255,255,255,.78);
    --page-text: #f4efe3;
    --accent: #ffffff;
    --bg: #060606;
    --section-bg: rgba(15,15,15,.94);
    --frame-bg: #111111;
    --image-filter: saturate(1.18) contrast(1.15) brightness(1.08);
    background: radial-gradient(circle at top, rgba(212,175,55,.05), transparent 24%), #070707;
    color: var(--page-text);
}

.project-page .hero p,
.project-page .info-box p,
.project-page .section p,
.project-page .news p,
.project-page .overview-panel p,
.project-page .stat-card p,
.project-page .quick-card span {
    color: var(--page-text) !important;
    opacity: 0.95;
}

.project-page .quick-card{
    color: #ffffff !important;
}

.project-page .quick-card span{
    color: rgba(255,255,255,.82) !important;
}

.project-page .highlight strong,
.project-page .hero-highlights .highlight strong {
    color: #ffffff !important;
}

.project-page .highlight p,
.project-page .contact-copy p {
    color: rgba(255,255,255,.92) !important;
}

.project-page .contact-form .form-check-label,
.project-page .contact-form .form-text,
.project-page .contact-form .form-control,
.project-page .contact-form .form-control::placeholder {
    color: rgba(255,255,255,.92) !important;
    font-size: 16px !important;
    font-family: 'Poppins', sans-serif !important;
    line-height: 1.7 !important;
}

.project-page .highlight i {
    color: var(--gold) !important;
}

.project-page .contact-form .btn-gold {
    color: #111 !important;
}

.project-page .title,
.project-page .navbar-brand,
.project-page .info-box h4,
.project-page .project .card-body h5,
.project-page .carousel-caption h4 {
    color: var(--gold) !important;
}

.project-page .related-links {
    margin-top: 2.5rem;
}

.project-page .related-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-page .related-links li {
    margin-bottom: 0.9rem;
}

.project-page .related-links,
.project-page .related-links a {
    color: #ffffff;
}

.project-page .related-links {
    padding: 1.8rem 0;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 1rem;
    background: rgba(10,10,10,.88);
    box-shadow: 0 24px 50px rgba(0,0,0,.2);
    margin: 2.5rem 0 0;
    max-width: none;
    width: 100%;
}

.project-page .related-links .title {
    margin-bottom: 1.2rem;
    color: #ffffff;
    text-align: left;
    padding-left: 0;
}

.project-page .related-links ul {
    padding: 0 1.6rem 0 0;
    margin: 0;
}

.project-page .related-links ul {
    padding-top: 0;
}

.project-page .related-links ul {
    padding: 0;
    margin: 0;
}

.project-page .related-links li {
    margin-bottom: 0.8rem;
}

.project-page .related-links a {
    display: inline-block;
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(212,175,55,.8);
    transition: color .2s ease, transform .2s ease;
    cursor: pointer;
}

.project-page .related-links a:hover,
.project-page .related-links a:focus {
    color: rgba(212,175,55,.95);
    transform: translateX(2px);
}

.project-page .nav-link{
    color: var(--accent) !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.85rem 0.95rem;
    letter-spacing: 0.02em;
}

.project-page .nav-link:hover{
    color: var(--gold) !important;
}

.project-page .btn-primary,
.project-page .btn-gold{
    background: var(--gold) !important;
    color: #111 !important;
    box-shadow: 0 18px 50px rgba(212,175,55,.22);
    padding: 12px 26px !important;
    font-size: 0.95rem !important;
}

.project-page .btn-secondary{
    background: rgba(255,255,255,.08);
    color: #fff !important;
    border: 1px solid rgba(212,175,55,.2);
}

.project-page .btn-secondary:hover{
    background: rgba(255,255,255,.16);
}

.project-page .section{
    background: var(--section-bg);
    border-radius: 36px;
}

.project-page .section.bg-light{
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    background-clip: border-box;
}

.project-page .section.bg-secondary{
    background: linear-gradient(180deg, rgba(12,12,12,.98), rgba(24,24,24,.98));
    border: 1px solid rgba(212,175,55,.24);
    background-clip: border-box;
}

.project-page .section.cta-repeat,
.project-page .section.cta-repeat.bg-secondary {
    background: #000 !important;
    background-color: #000 !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 42px !important;
    box-shadow: 0 32px 120px rgba(0,0,0,.32);
    padding: 48px 32px;
    max-width: 1120px;
    margin: 0 auto;
}

.project-page .cta-repeat h3,
.project-page .cta-repeat .title{
    color: #ffffff;
}

.project-page .cta-repeat .section-note{
    color: rgba(255,255,255,.88);
    max-width: 760px;
    margin: 0 auto 1.25rem;
    font-size: 1.03rem;
    line-height: 1.8;
}

.project-page .cta-repeat .btn-lg{
    flex: 1 1 180px;
    min-width: 150px;
    max-width: 100%;
    width: auto;
    padding: 12px 24px;
    font-size: 0.95rem;
}

.project-page .cta-repeat .d-flex{
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.project-page .cta-repeat .d-flex > .btn{
    flex: 1 1 220px;
    text-align: center;
}

.project-page .btn-outline-light{
    color: #fff;
    border-color: rgba(255,255,255,.38);
    background: transparent;
}

.project-page .btn-outline-light:hover{
    color: #111;
    background: rgba(255,255,255,.95);
    border-color: rgba(255,255,255,.65);
}

.project-page .btn-outline-dark{
    color: #fff;
    border-color: rgba(255,255,255,.18);
    background: transparent;
}

.project-page .btn-outline-dark:hover{
    color: #111;
    background: rgba(255,255,255,.92);
    border-color: rgba(255,255,255,.35);
}

.project-page .info-box{
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(0,0,0,.18);
    padding: 28px;
}

.project-page .info-box h4,
.project-page .info-box strong{
    color: var(--gold) !important;
}

.project-page footer{
    color: var(--muted);
}

/* Ensure project page copy text renders at 16px */
.project-page .hero .hero-subtitle,
.project-page .section p,
.project-page .section li,
.project-page .contact-copy p,
.project-page .contact-highlights strong,
.project-page .contact-highlights p,
.project-page .hero-quick .quick-card strong,
.project-page .hero-quick .quick-card span,
.project-page .info-box ul li,
.project-page .location-tabs li,
.project-page .wincity-location p,
.project-page .schedule-date,
.project-page .schedule-description,
.project-page .payment-content li,
.project-page .form-check-label,
.project-page .form-text {
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    letter-spacing: 0 !important;
}

/* Shared hero styles for project pages */
.project-page .hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
    padding:0 24px;
    overflow:hidden;
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
}

.project-page .hero::before{
    content:'';
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 25% 15%, rgba(255,255,255,.16), transparent 20%),
        radial-gradient(circle at 80% 10%, rgba(255,255,255,.10), transparent 14%),
        linear-gradient(180deg, rgba(0,0,0,.14), rgba(0,0,0,.48));
    pointer-events:none;
}

.hero-content{
    position:relative;
    width:100%;
    max-width:920px;
    margin:0 auto;
    padding:0 20px;
}

.project-page .hero h1,
.project-page .hero .hero-title{
    font-family:'Poppins',sans-serif;
    font-size:clamp(2.8rem,4.8vw,4rem);
    color:var(--gold) !important;
    font-weight:700;
    letter-spacing:0;
    line-height:1.05;
    margin-bottom:16px;
    max-width:840px;
    margin-left:auto;
    margin-right:auto;
    text-shadow:0 14px 24px rgba(0,0,0,.28);
}

.project-page .hero p,
.project-page .hero .hero-subtitle{
    font-family:'Poppins',sans-serif;
    font-size:1rem;
    font-weight:500;
    color:rgba(255,255,255,.92);
    max-width:700px;
    margin:14px auto 22px;
    line-height:1.7;
    letter-spacing:0;
    text-transform:none;
}

.project-page .hero-subtitle{
    display:block;
    margin-top:0;
}

.project-page .hero-subtitle .hero-highlight,
.project-page .hero-subtitle span{
    color:var(--gold);
    font-weight:700;
}

body.project-page .hero .hero-label {
    font-family:'Montserrat', 'Poppins', sans-serif;
    font-size:2.4rem !important;
    font-weight:800 !important;
    letter-spacing:2px !important;
    text-transform:uppercase !important;
    opacity:.9 !important;
    color:var(--gold) !important;
    text-shadow: 0 4px 24px rgba(0,0,0,.55);
}

@media (max-width: 768px) {
    body.project-page .hero .hero-label {
        font-size:1.8rem !important;
    }

    body.project-page .hero h1,
    body.project-page .hero .hero-title {
        font-size:clamp(2.2rem,5vw,2.8rem) !important;
        line-height:1.1 !important;
        max-width:620px !important;
    }

    body.project-page .hero p,
    body.project-page .hero .hero-subtitle {
        font-size:0.98rem !important;
        line-height:1.55 !important;
        margin:12px auto 20px !important;
        max-width:600px !important;
    }
}

@media (max-width: 576px) {
    body.project-page .hero .hero-label {
        font-size:1.4rem !important;
    }

    body.project-page .hero h1,
    body.project-page .hero .hero-title {
        font-size:2rem !important;
        line-height:1.08 !important;
        max-width:100% !important;
    }

    body.project-page .hero p,
    body.project-page .hero .hero-subtitle {
        font-size:0.95rem !important;
        line-height:1.5 !important;
        margin:10px auto 18px !important;
        max-width:100% !important;
    }
}

.project-page.thewincity .hero{
    background-image: url("../images/thewincity/wincity-banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-page.arcadia .hero,
.project-page.destino .hero,
.project-page.peakgarden .hero,
.project-page.vlasta .hero{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-page.arcadia .hero{
    background-image: url("../images/arcadia/arcadia-banner.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.project-page.peakgarden .hero{
    background-image: url("../images/hero-banner.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.project-page.arcadia{
    --section-bg: rgba(18,18,18,.95);
    --accent: #ffffff;
    --page-text: #ffffff;
}

.project-page.arcadia .section,
.project-page.arcadia .section .container,
.project-page.arcadia .carousel-inner,
.project-page.arcadia .carousel-img-container,
.project-page.arcadia .spec-selector,
.project-page.arcadia .info-box{
    background: rgba(10,10,10,.96);
}

.project-page.arcadia .section.bg-light{
    background: linear-gradient(180deg, rgba(10,10,10,.96), rgba(18,18,18,.98));
    border: 1px solid rgba(212,175,55,.08);
    background-clip: border-box;
}

.project-page.arcadia .hero-highlights,
.project-page.arcadia .location-panel,
.project-page.arcadia .info-box{
    background: rgba(10,10,10,.72);
    border: 1px solid rgba(212,175,55,.08);
}

.project-page.arcadia .section .title,
.project-page.arcadia .section .title::after,
.project-page.arcadia .section h2,
.project-page.arcadia .section h3,
.project-page.arcadia .section h4,
.project-page.arcadia .section p,
.project-page.arcadia .section li,
.project-page.arcadia .carousel-caption h4,
.project-page.arcadia .carousel-caption p {
    color: rgba(255,255,255,.94);
}

.project-page.arcadia .section .title {
    color: var(--gold);
}

.project-page.arcadia .btn-secondary{
    background: rgba(212,175,55,.08);
    color: #fff !important;
    border-color: rgba(212,175,55,.3);
}

.project-page.arcadia .btn-secondary:hover{
    background: rgba(212,175,55,.16);
}

.project-page.destino .hero{
    background-image: url("../images/destino/destino.jpg");
}

.project-page:not(.thewincity) .hero h1,
.project-page:not(.thewincity) .hero .hero-title {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
}

@media (max-width: 900px) {
    .project-page:not(.thewincity) .hero h1,
    .project-page:not(.thewincity) .hero .hero-title {
        white-space: nowrap !important;
        font-size:2rem !important;
    }
}

.project-page.peakgarden .hero{
    background-image: url("../images/peakgarden/hero-banner.jpg");
}

.project-page.vlasta .hero{
    background-image: url("../images/vlasta/hero-banner.jpg");
}

.project-page.thewincity .section.bg-light{
    background-color: #111;
    background: linear-gradient(180deg, rgba(12,12,12,.96), rgba(24,24,24,.98));
    border: 1px solid rgba(212,175,55,.09);
    background-clip: border-box;
}

/* NAVBAR */

/* NAVBAR */

.navbar{
    background:rgba(17,17,17,.9);
    backdrop-filter:blur(12px);
    box-shadow:0 10px 35px rgba(0,0,0,.12);
}

.navbar-brand{
    color:var(--gold)!important;
    font-size:1.5rem;
    font-weight:800;
    letter-spacing:1px;
}

.nav-link{
    color:#fff!important;
    margin-left:16px;
    font-size:15px;
    font-weight:500;
}

.nav-link:hover{
    color:var(--gold)!important;
}

.hero-highlights{
    padding:36px 0 70px;
    background:rgba(5,5,5,.72);
    border-top:1px solid rgba(212,175,55,.08);
    backdrop-filter:blur(16px);
}

.hero-highlights .hero-quick{
    max-width:1140px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
    gap:18px;
    align-items:stretch;
    padding:0 16px;
}

/* Project-specific: enforce 3 columns x 2 rows and responsive sizing for hero-quick */
@media (max-width:1400px) {
    .hero-highlights .hero-quick{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap:18px;
        padding:10px 16px;
        align-items:stretch;
    }
    .hero-highlights .hero-quick .quick-card{
        width:100%;
        min-width:0;
        max-width:100%;
        height:75px; /* reduced ~50% */
        padding:6px; /* reduced ~50% */
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        text-align:center;
        box-sizing:border-box;
        border-radius:10px;
    }
}

@media (max-width:900px) and (min-width:481px) {
    .hero-highlights .hero-quick{
        grid-template-columns: repeat(3, 1fr);
        gap:14px;
    }
    .hero-highlights .hero-quick .quick-card{
        height:75px;
        padding:6px;
    }
}

@media (max-width:480px) {
    .hero-highlights .hero-quick{
        grid-template-columns: repeat(3, 1fr);
        gap:10px;
        padding:6px 8px;
    }
    .hero-highlights .hero-quick .quick-card{
        height:65px;
        padding:6px;
        font-size:0.85rem;
    }
}

/* Mobile: tighten hero text container and button sizing */
@media (max-width: 576px) {
    .hero-content{
        padding:16px 12px;
        max-width:360px;
    }

    .hero h1{
        font-size:2.0rem !important;
        line-height:1.05 !important;
        margin-bottom:10px;
    }

    .hero p,
    .hero-subtitle{
        font-size:0.98rem !important;
        max-width:320px !important;
        margin-left:auto !important;
        margin-right:auto !important;
        line-height:1.45 !important;
    }

    .hero-actions{ gap:12px; }

    .project-page .hero .btn-primary.hero-btn,
    .project-page .hero .btn-secondary.hero-btn{
        padding:12px 26px !important;
        font-size:0.92rem !important;
        border-radius:30px !important;
    }
}

/* Compact lists on small screens: reduce spacing and padding for info lists */
@media (max-width: 576px) {
    .info-box ul,
    .info-card ul,
    .amenity-card ul,
    .contact-highlights .highlight > div > p,
    .location-tabs ul{
        padding-left:12px !important;
        margin-bottom:0 !important;
    }

    .info-box ul li,
    .info-card ul li,
    .amenity-card ul li,
    .location-tabs ul li{
        margin-bottom:6px !important;
        line-height:1.35 !important;
        font-size:0.98rem !important;
        padding-left:0 !important;
    }

    .location-tabs,
    .amenities-tabs{
        justify-content:center;
    }

    /* Tighten amenity and overview list visuals */
    .amenity-card .mt-3,
    .info-box .mt-3{
        margin-top:10px !important;
    }
}

/* Further reductions: make buttons and heading smaller on small phones */
@media (max-width: 420px) {
    .hero h1, .hero-title {
        font-size:1.8rem !important;
        line-height:1.02 !important;
        letter-spacing:0.5px !important;
    }

    .hero p,
    .hero-subtitle{
        font-size:0.95rem !important;
    }

    .project-page .hero .btn-primary.hero-btn,
    .project-page .hero .btn-secondary.hero-btn{
        padding:10px 18px !important;
        font-size:0.85rem !important;
        border-radius:26px !important;
        min-width:150px !important;
    }

    .hero-actions{ gap:10px !important; }
}

/* Tighter mobile buttons: reduce width and height on small phones */
@media (max-width: 576px) {
    .hero-actions{
        flex-direction:column;
        align-items:center;
    }

    .project-page .hero .hero-btn{
        display:inline-block !important;
        width:auto !important;
        max-width:300px !important;
        padding:10px 24px !important;
        font-size:0.95rem !important;
        box-shadow:0 10px 30px rgba(0,0,0,.12) !important;
    }

    .project-page .hero .btn-primary.hero-btn{
        background:var(--gold) !important;
        color:#111 !important;
    }

    .project-page .hero .btn-secondary.hero-btn{
        background:#fff !important;
        color:#111 !important;
    }
}

/* Desktop: make hero button larger and more prominent */
@media (min-width: 992px) {
    .hero-actions{
        justify-content:center;
        gap:24px;
    }

    .project-page .hero .hero-btn{
        padding:20px 64px !important;
        font-size:1.15rem !important;
        border-radius:44px !important;
        min-width:420px !important;
        box-shadow:0 28px 70px rgba(212,175,55,.20) !important;
    }

    .project-page .hero .btn-primary.hero-btn{
        background:var(--gold) !important;
        color:#111 !important;
    }
}

.hero-label{
    font-size:1rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:2px;
    color: var(--gold);
}

body.homepage .hero .hero-label {
    font-size:2.4rem !important;
    font-weight:800 !important;
    letter-spacing:2px !important;
    color: var(--gold) !important;
}

/* duplicate hero-quick removed */

    .quick-card{
    background:rgba(0,0,0,.32);
    border:1px solid rgba(212,175,55,.14);
    backdrop-filter:blur(16px);
    border-radius:16px;
    padding:12px 10px;
    display:flex;
    align-items:center;
    gap:10px;
    color:#f2efe9;
    box-shadow:0 20px 45px rgba(0,0,0,.22);
    min-height:70px;
    transition:transform .25s ease, box-shadow .25s ease;
}

.quick-card:hover{
    transform:translateY(-4px);
    box-shadow:0 24px 55px rgba(0,0,0,.28);
}

.quick-card i{
    font-size:0.9rem;
    color:var(--gold);
}

.quick-card strong{
    display:block;
    color:#fff;
    font-size:16px;
}

.quick-card span{
    display:block;
    color:#d6d0c8;
    font-size:16px;
}

.hero-btn{
    padding:18px 44px;
    font-size:1.2rem;
    letter-spacing:1px;
}

.hero-actions{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
    margin-top:24px;
}

.project-page .project-nav-cta{
    padding:32px 0 20px;
    margin-bottom:28px;
    background: rgba(255,255,255,.03);
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.project-page .project-nav-cta .btn-secondary{
    min-width:260px;
    padding:16px 44px;
    border-radius:50px;
    font-size:1.05rem;
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 18px 40px rgba(0,0,0,.14);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.project-page .project-nav-cta .btn-secondary:hover{
    background:rgba(255,255,255,.16);
    transform:translateY(-2px);
    box-shadow:0 22px 48px rgba(0,0,0,.18);
}

@media (max-width: 768px) {
    .project-page .project-nav-cta{
        padding:24px 0 18px;
    }

    .project-page .project-nav-cta .btn-secondary{
        width:100%;
        max-width:380px;
        min-width:auto;
        padding:14px 28px;
        font-size:1rem;
    }
}

@media (max-width: 576px) {
    .project-page .project-nav-cta{
        padding:20px 0 16px;
    }

    .project-page .project-nav-cta .btn-secondary{
        padding:13px 20px;
        font-size:0.95rem;
    }
}

.btn-primary,
.btn-gold{
    background:var(--gold);
    border:none;
    color:#111;
    font-weight:700;
    padding:14px 40px;
    border-radius:50px;
    box-shadow:0 18px 45px rgba(212,175,55,.18);
}

.btn-primary:hover,
.btn-gold:hover{
    background:var(--gold-dark);
    transform:translateY(-2px) scale(1.02);
    box-shadow:0 20px 60px rgba(212,175,55,.34);
    animation: pulse-glow 0.9s ease 1;
}

.btn-secondary{
    background:rgba(212,175,55,.08);
    color:#fff;
    border:1px solid rgba(212,175,55,.3);
    font-weight:700;
    padding:14px 40px;
    border-radius:50px;
}

.btn-secondary:hover{
    background:rgba(212,175,55,.16);
    color:#fff;
}

.form-check-label{
    color:#f2efe9;
    font-size:0.95rem;
}

@media (max-width: 768px) {
    .project-page .hero {
        min-height: 70vh !important;
        padding-top: 38px !important;
        padding-bottom: 28px !important;
        background-position: top center !important;
    }
}

@media (max-width: 576px) {
    .project-page .hero {
        min-height: 56vh !important;
        padding-top: 32px !important;
        padding-bottom: 24px !important;
    }
    .project-page .hero .hero-content {
        padding: 0 16px !important;
    }
}

@media (max-width: 420px) {
    .project-page .hero {
        min-height: 52vh !important;
        padding-top: 28px !important;
        padding-bottom: 18px !important;
    }
}

.spec-table{
    width:100%;
    background:#050403;
    border-radius:18px;
    overflow:hidden;
    border:1px solid rgba(212,175,55,.25);
}


.spec-table,
.spec-table th,
.spec-table td,
.spec-table thead,
.spec-table tbody{
    background:transparent;
}

.spec-table thead{
    background:#111;
}

.spec-table th,
.spec-table td{
    color: var(--gold) !important;
    border-top:1px solid rgba(212,175,55,.14);
    padding:16px 12px;
}

.spec-table th{
    color:var(--gold) !important;
    font-weight:700;
}

.spec-table tbody tr:hover{
    background:rgba(255,255,255,.03);
}

/* Make the right-hand column (diện tích) bright white for contrast */
.spec-table tbody td:last-child{
    color:#ffffff !important;
}

.spec-table tbody tr:last-child td{
    border-bottom:none;
}

/* Fix: prevent quick-card text overflow, allow wrapping and auto height */
.hero-highlights .hero-quick .quick-card{
    height: auto !important;
    min-height: 72px !important;
    padding: 8px 10px !important;
    box-sizing: border-box !important;
}
.hero-highlights .hero-quick .quick-card > div,
.hero-highlights .hero-quick .quick-card strong,
.hero-highlights .hero-quick .quick-card span{
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}
.hero-highlights .hero-quick .quick-card strong{
    font-size:16px !important;
    line-height:1.2 !important;
}
.hero-highlights .hero-quick .quick-card span{
    font-size:16px !important;
    line-height:1.2 !important;
}

@media (max-width:480px) {
    body.thewincity .hero-highlights .hero-quick .quick-card strong,
    body.thewincity .hero-highlights .hero-quick .quick-card span,
    body.peakgarden .hero-highlights .hero-quick .quick-card strong,
    body.peakgarden .hero-highlights .hero-quick .quick-card span,
    body.vlasta .hero-highlights .hero-quick .quick-card strong,
    body.vlasta .hero-highlights .hero-quick .quick-card span,
    body.arcadia .hero-highlights .hero-quick .quick-card strong,
    body.arcadia .hero-highlights .hero-quick .quick-card span {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
}

.map-card{
    overflow:hidden;
    border-radius:28px;
    border:1px solid rgba(212,175,55,.16);
    box-shadow:0 25px 70px rgba(0,0,0,.18);
    background:#050403;
}

.map-card iframe{
    width:100%;
    height:auto; /* allow responsive sizing by default */
    min-height:0;
    border:none;
    display:block;
    background:transparent;
    border-radius:28px;
}

/* Keep map height consistent with other desktop image frames */
@media (min-width: 992px) {
    .map-card iframe{
        height:560px;
        min-height:560px;
    }
}

.map-fullwidth{
    margin-bottom:30px;
}

.wincity-location{
    margin-bottom:30px;
}

.wincity-location .section-subtitle{
    color: var(--gold);
    font-weight:700;
    margin-bottom:18px;
    font-size:24px;
}

.wincity-location-media{
    overflow:hidden;
    border-radius:28px;
    border:1px solid rgba(212,175,55,.16);
    box-shadow:0 25px 70px rgba(0,0,0,.18);
    background:#050403;
}

.wincity-location-media img{
    width:100%;
    display:block;
    height:680px;
    object-fit:cover;
    max-height:680px;
}

@media (max-width: 992px) {
    .wincity-location-media img,
    .project-page .map-card iframe {
        height:420px !important;
        max-height:420px !important;
        min-height:420px !important;
    }
}

@media (min-width: 992px) {
    .wincity-location-media img{
        height:680px;
        max-height:680px;
    }
}

.info-card{
    background:rgba(255,255,255,.04);
    padding:24px;
    border-radius:20px;
    border:1px solid rgba(212,175,55,.12);
    box-shadow:0 18px 35px rgba(0,0,0,.18);
    min-height:260px;
    width:100%;
    display:flex;
    flex-direction:column;
}

.location-tabs,
.amenities-tabs{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:20px;
}

.location-tab,
.amenities-tab{
    appearance:none;
    border:1px solid rgba(212,175,55,.2);
    background:rgba(255,255,255,.06);
    color:var(--page-text);
    padding:12px 20px;
    border-radius:999px;
    font-weight:700;
    cursor:pointer;
    transition:all 0.2s ease;
}

.location-tab.active,
.amenities-tab.active{
    background:var(--gold);
    color:#111;
    border-color:var(--gold);
}

.location-panel,
.amenity-panel{
    display:none;
    width:100%;
}

.location-panel.active,
.amenity-panel.active{
    display:flex;
    width:100% !important;
}

.amenity-panel.active{
    flex-direction:column;
}

#location .location-panel {
    display: none;
}

#location .location-panel.active {
    display: flex;
}

.card-title{
    color:var(--gold);
    font-weight:700;
    margin-bottom:14px;
}

.info-card p.lead{
    margin-bottom:16px;
}

.info-card ul{
    margin-bottom:0;
    padding-left:20px;
}

.info-card ul li{
    margin-bottom:12px;
    line-height:1.75;
}

#location .row{
    align-items:stretch;
}

/* Strong page-scoped overrides to ensure Bootstrap doesn't revert table colors */
body.thewincity .spec-table,
body.thewincity .spec-table.table,
body.thewincity .spec-table thead,
body.thewincity .spec-table tbody,
body.thewincity .spec-table th,
body.thewincity .spec-table td{
    background:transparent !important;
}

body.thewincity .spec-table{
    background:#050403 !important;
    border:1px solid rgba(212,175,55,.28) !important;
}

body.thewincity .spec-table th,
body.thewincity .spec-table td{
    color: var(--gold) !important;
}

body.thewincity .spec-table tbody td:last-child{
    color:#ffffff !important;
}

.partner-logos{
    display:grid;
    grid-template-columns:repeat(3, minmax(120px, 1fr));
    gap:16px;
}

.partner-logo{
    display:flex;
    align-items:center;
    gap:10px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:14px 16px;
}

.partner-logo i{
    color:var(--gold);
    font-size:1.3rem;
}

.partner-logo span{
    color:#e8e2d8;
    font-weight:600;
}

@keyframes pulse-glow{
    0%,100%{box-shadow:0 20px 60px rgba(212,175,55,.34);}
    50%{box-shadow:0 24px 80px rgba(212,175,55,.48);}
}

.hero-content:hover,
.info-box:hover{
    transform:translateY(-3px);
}

.carousel-item img{
    display:block;
    width:100%;
    height:100%;
}

/* SECTION */

.section{
    padding:90px 0;
}

.title{
    text-align:left;
    color:var(--gold);
    font-size:2.4rem;
    font-weight:800;
    margin-bottom:14px;
    letter-spacing:.5px;
    position:relative;
    display:inline-block;
}

.title::after{
    content:'';
    display:block;
    width:90px;
    height:4px;
    margin:16px 0 0;
    border-radius:10px;
    background:linear-gradient(90deg, var(--gold), rgba(212,175,55,.5));
}

.section p{
    color:#d6d0c8;
    margin-top:20px;
    max-width:760px;
    text-align:center;
    margin-left:auto;
    margin-right:auto;
}

.bg-light{
    background-color: #111;
    background: linear-gradient(180deg, rgba(12,12,12,.98), rgba(24,24,24,.98));
    background-clip: border-box;
}

.section .container{
    max-width:1140px;
}

#location .text-center,
#plan .text-center{
    max-width:920px;
    margin:auto;
}

/* BACK BUTTON */

.back-link{
    display:inline-flex;
    align-items:center;
    gap:12px;
    padding:12px 24px;
    background:#111;
    color:#fff;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.back-link:hover{
    background:var(--gold);
    color:#111;
    transform:translateY(-2px);
}

.back-link i{
    transition:.3s;
}

.back-link:hover i{
    transform:translateX(-5px);
}

/* OVERVIEW */

.overview-img{
    width:100%;
    height:420px;
    object-fit:cover;
    object-position:center;
    border-radius:24px;
    box-shadow:0 18px 45px rgba(0,0,0,.12);
    display:block;
}

.info-box{
    /* Unified card appearance shared across site */
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 28px;
    padding: 24px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
    color: #e8e2d8;
}

.info-box h4{
    color:var(--gold);
    font-weight:700;
    margin-bottom:18px;
}

.spec-selector{
    width:100%;
    max-width:860px;
    margin:0 auto 32px;
    padding:34px 30px;
    display:grid;
    gap:24px;
    border-radius:34px;
    background:linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
    border:1px solid rgba(255,255,255,.14);
    box-shadow:0 28px 72px rgba(0,0,0,.26);
    backdrop-filter:blur(16px);
}

.spec-left{
    display:grid;
    gap:20px;
}

@media (min-width: 992px) {
    .spec-selector{
        grid-template-columns: 1fr;
        align-items:start;
    }
}

.spec-dropdown-toggle{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    padding:18px 24px;
    border:1px solid rgba(255,255,255,.16);
    background:rgba(255,255,255,.12);
    color:var(--page-text);
    border-radius:999px;
    font-weight:700;
    cursor:pointer;
    transition:all .25s ease;
    min-height:60px;
    text-align:left;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}

.spec-dropdown-toggle:hover{
    background:rgba(255,255,255,.14);
}

.spec-dropdown-toggle[aria-expanded="true"] .spec-dropdown-arrow{
    transform:rotate(180deg);
}

.spec-dropdown-arrow{
    display:inline-flex;
    width:28px;
    height:28px;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,.1);
    transition:transform .2s ease;
}

.spec-layout-menu{
    width:100%;
    max-width:100%;
    margin:0;
    padding:16px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:24px;
    background:rgba(255,255,255,.08);
    box-shadow:0 20px 50px rgba(0,0,0,.14);
}

.spec-layout-scroll{
    display:grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap:12px;
    grid-auto-rows: 62px;
    justify-items:stretch;
}

@media (max-width: 992px) {
    .spec-layout-scroll{
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}

@media (max-width: 992px) {
    .spec-selector{
        padding:24px 20px;
        max-width:100%;
    }
}

@media (max-width: 768px) {
    .spec-layout-scroll{
        grid-template-columns: 1fr;
    }
    .spec-selector{
        padding:20px 18px;
        border-radius:24px;
    }
    .spec-dropdown-toggle{
        padding:14px 18px;
        min-height:54px;
    }
    .spec-result-card{
        padding:22px 18px;
    }
}

@media (max-width: 520px) {
    .spec-layout-scroll{
        grid-template-columns: 1fr;
    }
    .spec-layout-btn{
        min-height:52px;
        font-size:0.95rem;
        padding:0 12px;
    }
    .spec-selector{
        padding:18px 14px;
        gap:16px;
    }
}

.spec-layout-btn{
    appearance:none;
    width:100%;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(255,255,255,.08);
    color:var(--page-text);
    padding:0 14px;
    border-radius:18px;
    font-weight:700;
    font-size:0.98rem;
    cursor:pointer;
    transition:all .25s ease;
    text-align:center;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:60px;
    white-space:normal;
    line-height:1.2;
}

.spec-layout-btn:hover{
    background:rgba(255,255,255,.16);
}

.spec-layout-btn.active{
    background:var(--gold);
    color:#111;
    border-color:var(--gold);
    box-shadow:0 14px 35px rgba(212,175,55,.18);
}

.spec-result-card{
    margin:0;
    padding:30px 28px;
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.18);
    border-radius:30px;
    box-shadow:0 30px 80px rgba(0,0,0,.20);
    min-height:170px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    transition:transform .25s ease, box-shadow .25s ease;
}

.spec-result-card:hover{
    transform:translateY(-1px);
    box-shadow:0 34px 88px rgba(0,0,0,.22);
}

@media (max-width: 992px) {
    .spec-selector{
        padding:24px 20px;
    }
}

@media (max-width: 768px) {
    .spec-selector{
        padding:20px 18px;
    }
    .spec-dropdown-toggle{
        padding:16px 20px;
    }
    .spec-result-card{
        min-height:150px;
        padding:24px 20px;
    }
}

@media (max-width: 767px) {
    .spec-result-card{
        padding:22px;
    }
}

.spec-result-label{
    font-size:0.82rem;
    text-transform:uppercase;
    letter-spacing:0.16em;
    color:rgba(255,255,255,.7);
    margin-bottom:10px;
}

.spec-result-title{
    font-size:1.25rem;
    font-weight:800;
    color:var(--gold);
    margin-bottom:8px;
}

.spec-result-size{
    font-size:1.6rem;
    font-weight:800;
    color:#fff;
}

.spec-summary{
    display:none;
}

.spec-table-wrapper{
    display:none !important;
}

.spec-table{
    width:100%;
    background:transparent;
}

.spec-table thead{
    display:none;
}

.spec-table td{
    padding:22px 18px;
}

.spec-row{
    display:none;
    opacity:.45;
    transition:opacity .2s ease, transform .2s ease;
}

.spec-row.active{
    display:table-row;
    opacity:1;
    font-weight:700;
}

.spec-row.active td{
    background:rgba(212,175,55,.06);
    border:1px solid rgba(212,175,55,.12);
    border-radius:18px;
    padding:24px 18px;
}

.spec-row.active td:first-child{
    color:var(--gold);
    font-size:1rem;
}

.spec-row.active td:last-child{
    color:#fff !important;
    font-size:1.05rem;
    text-align:right;
}

@media (max-width: 520px) {
    .spec-layout-scroll{
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}

@media (max-width: 380px) {
    .spec-layout-scroll{
        grid-template-columns: 1fr;
    }
}

.info-box ul{
    padding-left:0;
    list-style:none;
    margin:0;
}

.info-box ul li{
    padding-left:0;
    margin-bottom: 14px;
    color:#e8e2d8;
    line-height:1.8;
}

.info-box ul li::before{
    display:none;
    content:none;
}

/* Hide empty info-boxes (JS will add .empty when needed) */
.info-box:empty,
.info-box.empty{
    display:none !important;
}

.legal-schedule{
    margin-top:32px;
    padding:24px;
    display:grid;
    gap:18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 28px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

/* Reusable dark card used across legal/schedule/info sections */
.card-dark{
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 28px;
    padding: 24px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
    color: #e8e2d8;
}

.legal-schedule .schedule-title{
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

.legal-schedule ul{
    list-style:none;
    padding:0;
    margin:0;
    display:grid;
    gap:12px;
}

.legal-schedule li{
    display:grid;
    grid-template-columns: auto 1fr;
    gap:12px;
    align-items:flex-start;
    color:#e8e2d8;
    font-family: 'Poppins', sans-serif;
    font-size: 0.98rem;
}

.legal-schedule li::before{
    display:none;
    content:none;
}

.schedule-grid{
    display:grid;
    gap:18px;
}

.schedule-card{
    display:grid;
    grid-template-columns: 140px 1fr;
    gap:16px;
    align-items:flex-start;
    padding:20px 22px;
    border-radius:24px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212,175,55,0.14);
}

.schedule-date{
    color: var(--gold);
    font-weight:700;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.schedule-description{
    color:#e8e2d8;
    font-family: 'Poppins', sans-serif;
    font-size: 0.96rem;
    line-height:1.75;
}

@media (max-width: 768px) {
    .schedule-card{
        grid-template-columns: 1fr;
    }
    .schedule-date{
        text-transform: none;
        white-space: normal;
        font-size: 1.05rem;
    }
    .schedule-description{
        font-size: 1rem;
        line-height: 1.8;
    }
}

.amenity-card{
    max-width: 100%;
    padding: 28px;
}

.amenity-card ul{
    display:grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 0.75rem 1.5rem;
}

.amenity-card ul li{
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .amenity-card{
        padding: 24px;
    }
    .amenity-card ul{
        grid-template-columns: 1fr;
    }
}

#legal .info-box{
    /* Fill the column width so it aligns with other cards inside the same .col */
    width: 100%;
    max-width: 100%;
    margin: 0;
}

#legal .legal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

#legal .info-box.card-dark {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
    border-radius: 28px;
    padding: 24px;
    text-align: left;
    display: grid;
    justify-items: start;
    gap: 1rem;
    width: 100%;
    margin: 0;
}

#legal .info-box.card-dark.legal-info-single {
    max-width: 720px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}

#legal .info-box.card-dark.legal-info-single .section-note {
    grid-column: 1 / -1;
}

#legal .info-box.card-dark.legal-info-single ul {
    margin: 0;
    padding-left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 12px 24px;
}

#legal .info-box.card-dark li {
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    #legal .legal-info-grid {
        grid-template-columns: 1fr;
    }
    #legal .info-box.card-dark.legal-info-single ul {
        grid-template-columns: 1fr;
    }
}

#legal .info-box p{
    text-align: left;
    margin-bottom: 24px;
    color: #e4ddcf;
    font-size: 1.02rem;
    line-height: 1.85;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

#legal .info-box p.section-note {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
}

#legal .info-box ul{
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 16px 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #e6dfd0;
    justify-items: start;
}

#legal .info-box ul li{
    padding-left: 0;
    margin-bottom: 12px;
    text-align: left;
}

.info-box li{
    margin-bottom:14px;
    color:#e8e2d8;
    line-height:1.75;
    font-family: 'Poppins', sans-serif;
}

.info-box li strong{
    color:#fff;
}

@media (max-width: 768px) {
    #legal .info-box{
        padding: 28px 18px 24px;
    }
    #legal .info-box p{
        font-size: 0.98rem;
        margin-bottom: 24px;
    }
    #legal .info-box ul{
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .legal-schedule{
        margin-top:24px;
        padding:18px;
    }
    .legal-schedule .schedule-title{
        font-size: 0.95rem;
    }
    .legal-schedule ul{
        gap:10px;
    }
    .legal-schedule li{
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .legal-schedule li strong{
        margin-bottom: 2px;
    }
}

@media (max-width: 576px) {
    .legal-schedule{
        padding:16px;
        border-radius: 24px;
    }
}

.overview-stats {
    margin-top: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.14);
    border-radius: 28px;
    padding: 24px 22px;
    display: flex;
    gap: 18px;
    min-height: 150px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

.stat-card i {
    font-size: 1.65rem;
    color: var(--gold);
    margin-top: 4px;
    flex-shrink: 0;
}

.stat-card h5 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
}

.stat-card p {
    margin: 0;
    color: #d6d0c8;
    line-height: 1.75;
}


/* Make payment section text larger and more legible */
#payment .card-head h4,
#payment .pay-panel h4{
    font-size:24px !important;
    line-height:1.2 !important;
}

#payment .pay-panel ul{
    padding-left:22px !important;
}

#payment .pay-panel ul li{
    font-size:16px !important;
    line-height:1.6 !important;
    margin-bottom:12px !important;
}

@media (max-width:576px){
    #payment .pay-panel h4{
        font-size:1.25rem !important;
    }
    #payment .pay-panel ul li{
        font-size:16px !important;
        margin-bottom:8px !important;
    }
}
.overview-visuals {
    margin-top: 32px;
}

.overview-panel {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.14);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    background: var(--frame-bg);
}

.overview-panel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: var(--image-filter);
    display: block;
}

.overview-panel-small {
    min-height: 220px;
}

.overview-panel img {
    aspect-ratio: 16 / 9;
}

.overview-panel-small img {
    aspect-ratio: 5 / 4;
}

#overview .overview-stack {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

#overview .overview-media {
    width: 100%;
    max-width: 1140px;
}

#overview .overview-img {
    width: 100%;
    max-width: 1140px;
    height: 680px;
    object-fit: cover;
    border-radius: 28px;
    display: block;
}

#overview .info-box {
    width: 100%;
    max-width: 1140px;
    padding: 30px 28px;
}

@media (max-width: 992px) {
    #overview .overview-img {
        height: auto;
        max-height: 520px;
    }
}

#overview .title {
    text-align: center;
    margin-bottom: 40px;
}

#legal .title {
    text-align: center;
    margin-bottom: 40px;
}

#legal .section {
    padding-top: 100px;
    padding-bottom: 80px;
}

/* AMENITIES */

.section img,
#plan img,
#location img,
.carousel-inner{
    border-radius:40px;
    overflow:hidden;
    width:100%;
    aspect-ratio:16/9;
    max-height:700px;
    min-height:520px;
    object-fit:cover;
    display:block;
    box-shadow:0 35px 110px rgba(0,0,0,.28);
}

.carousel-inner{
    background:#111;
    min-height:520px;
    overflow:hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.carousel-item {
    height:100%;
    position:relative;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.carousel-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: 100%;
    overflow: hidden;
    /* light framed panel */
    background: var(--frame-bg);
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    box-shadow: 0 25px 70px rgba(0,0,0,.22);
    min-height: 560px;
}

.carousel-img-blur {
    position: absolute;
    inset:0;
    background-size: cover;
    background-position: center;
    filter: blur(14px) saturate(1.05) brightness(0.72);
    opacity: 0.6;
    z-index: 1;
}

.carousel-img-main {
    position: relative;
    z-index: 2;
    width:100%;
    height:100%;
    object-fit:cover;
    display: block;
    backface-visibility: hidden;
    transform: translateZ(0);
    border-radius: 24px;
}

/* Unified image sizing to match masterplan frame */
.unified-img,
#amenities .carousel-img-main,
#apartment .carousel-img-main,
.project-img-main,
.overview-img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid rgba(212,175,55,0.12);
    display: block;
    filter: var(--image-filter);
}

/* Full-width carousel within layout container */
#amenities .carousel,
#apartment .carousel {
    width: 100%;
    max-width: none;
}

#amenities .carousel-inner,
#apartment .carousel-inner {
    border-radius: 28px;
    min-height: 560px;
}

#amenities .carousel-img-container,
#apartment .carousel-img-container {
    padding: 0;
    background: transparent;
    border-radius: 28px;
    box-shadow: none;
    min-height: 0;
}

#amenities .carousel-img-main,
#apartment .carousel-img-main {
    border-radius: 28px;
}

@media (max-width: 992px) {
    .unified-img,
    #amenities .carousel-img-main,
    #apartment .carousel-img-main,
    .project-img-main,
    .overview-img {
        height: auto;
        max-height: 520px;
    }
    .plan .unified-img {
        height: auto;
        max-height: 520px;
    }
    #amenities .carousel-img-container,
    #apartment .carousel-img-container {
        padding: 0;
    }
    .map-card iframe {
        height: 520px;
        max-height: 520px;
    }
    #overview .row.g-4.align-items-center {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }
    #overview .col-md-6 {
        width: 100%;
    }
    .carousel-tracker,
    .carousel-thumbnails {
        position: static;
        transform: none;
        left: auto;
        bottom: auto;
        width: 100%;
        max-width: 340px;
        margin: 18px auto 0;
        background: transparent;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }
    .carousel-thumbnails {
        padding: 12px;
        justify-content: center;
    }
    .carousel {
        padding-bottom: 0;
    }
}

@media (max-width: 576px) {
    .unified-img,
    #amenities .carousel-img-main,
    #apartment .carousel-img-main,
    .project-img-main,
    .overview-img {
        height: auto;
        max-height: 420px;
    }
    .plan .unified-img {
        height: auto;
        max-height: 420px;
    }
    #amenities .carousel-img-container,
    #apartment .carousel-img-container {
        padding: 8px;
    }
    .map-card iframe {
        height: 420px;
        max-height: 420px;
    }
}

.carousel-indicators{
    bottom:-42px;
}

.carousel-indicators button{
    width:12px;
    height:12px;
    border-radius:50%;
    border:none;
    background:rgba(255,255,255,.35);
}

.carousel-indicators .active{
    background:var(--gold);
}

.carousel-control-prev,
.carousel-control-next{
    width:62px;
    height:62px;
    top:50%;
    bottom:auto;
    border-radius:50%;
    background:rgba(0,0,0,.55);
    border:1px solid rgba(212,175,55,.25);
    box-shadow:0 18px 38px rgba(0,0,0,.38);
    display:flex;
    align-items:center;
    justify-content:center;
    transform:translateY(-50%);
    transition:transform .25s ease, background .25s ease, border-color .25s ease;
    z-index:5;
}

.carousel-control-prev:hover,
.carousel-control-next:hover{
    transform:translateY(-50%) scale(1.05);
    background:rgba(30,30,30,.85);
    border-color:rgba(212,175,55,.45);
}

.carousel-control-prev::after,
.carousel-control-next::after{
    display:inline-block;
    font-size:1.9rem;
    font-weight:900;
    color:var(--gold);
    line-height:1;
}

.carousel-control-prev::after{
    content:'‹';
}

.carousel-control-next::after{
    content:'›';
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
    display:none;
}

.carousel-caption{
    position:absolute;
    bottom:24px;
    left:50%;
    transform:translateX(-50%);
    background:rgba(3,3,3,0.62);
    backdrop-filter: blur(14px);
    border-radius:20px;
    padding:16px 24px;
    width:auto;
    max-width:72%;
    border:1px solid rgba(212,175,55,0.16);
}

.carousel-caption h4{
    margin-bottom:10px;
    font-size:1.45rem;
    color:#fff;
}

.carousel-caption p{
    margin:0;
    color:#eee;
    font-size:1rem;
}

.carousel-caption-meta {
    margin-top: 10px;
    color: rgba(238, 238, 238, 0.78);
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}

/* PLAN */

.plan img{
    width:100%;
    height:420px;
    object-fit:contain;
    object-position:center;
    background:#111;
    border-radius:24px;
    box-shadow:0 18px 45px rgba(0,0,0,.24);
    display:block;
    transition:transform .35s ease, box-shadow .35s ease;
}

.plan .unified-img{
    height:680px;
    object-fit:cover;
    border-radius:28px;
    border:1px solid rgba(212,175,55,0.12);
    box-shadow:0 18px 45px rgba(0,0,0,.24);
}

.plan .unified-img:hover{
    transform:translateY(-4px) scale(1.01);
    box-shadow:0 24px 70px rgba(0,0,0,.30);
}

.plan img:hover{
    transform:translateY(-4px) scale(1.01);
    box-shadow:0 24px 70px rgba(0,0,0,.30);
}

#location .container,
#plan .container {
    display:grid;
    gap:30px;
}

#location .text-center p,
#plan .text-center p {
    max-width:760px;
    margin-left:auto;
    margin-right:auto;
    color:#d6d0c8;
}

#location img,
#plan img {
    border-radius:28px;
    border:1px solid rgba(212,175,55,0.12);
}

#location .title,
#plan .title {
    margin-bottom:20px;
    text-align: left;
}

#location {
    position:relative;
    background: linear-gradient(180deg, rgba(10,10,10,.96), rgba(20,20,20,.98));
    border-top: 1px solid rgba(212,175,55,.12);
    border-bottom: 1px solid rgba(212,175,55,.12);
    overflow:hidden;
}

#location::after,
#plan::after {
    content:'';
    position:absolute;
    inset:0;
    pointer-events:none;
    background:radial-gradient(circle at top, rgba(212,175,55,0.04), transparent 22%);
}

#location .container,
#plan .container {
    position:relative;
    z-index:1;
}

body.thewincity .section.bg-light{
    background-color: #111;
    background: linear-gradient(180deg, rgba(12,12,12,.96), rgba(24,24,24,.98));
    border: 1px solid rgba(212,175,55,.09);
    background-clip: border-box;
}

body.thewincity .section.bg-light .title,
body.thewincity .section.bg-light p,
body.thewincity .section.bg-light .card,
body.thewincity .section.bg-light .info-box {
    color: var(--page-text);
}

/* LOCATION */

.location img{
    width:100%;
    min-height:340px;
    aspect-ratio:16 / 9;
    object-fit:contain;
    object-position:center;
    border-radius:24px;
    box-shadow:0 14px 32px rgba(0,0,0,.18);
    border:1px solid rgba(255,255,255,.08);
    background:none;
    filter: brightness(1.05) saturate(1.08);
    display:block;
}

/* CONTACT FORM REDESIGN */
.contact-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(212,175,55,.18);
    border-radius: 28px;
    box-shadow: 0 35px 90px rgba(0,0,0,.24);
    padding: 32px;
    overflow: hidden;
    position: relative;
}

.contact-card .contact-form {
    margin-top: 16px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

#form.gy-4.justify-content-center,
#form .row.gy-4.justify-content-center {
    align-items: stretch;
}

#form .contact-copy,
#form .contact-card {
    min-height: auto;
}

#form .contact-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    align-items: center;
    text-align: center;
}

#form .contact-card {
    display: flex;
    flex-direction: column;
}

#form .contact-card .contact-form {
    margin-top: 16px;
    flex: 1;
}

#form .contact-card .contact-form .row {
    min-height: auto;
}

#form .contact-card .contact-form .col-12.mt-auto {
    margin-top: auto;
}

.contact-card .floating {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
}

.contact-card .floating-btn {
    width: 100%;
    min-width: auto;
    justify-content: center;
    padding: 16px 20px;
}

#legal #form .contact-copy,
#legal #form .contact-card,
#legal #form .contact-highlights {
    margin-left: auto;
    margin-right: auto;
}

#legal #form .contact-card,
#legal #form .contact-highlights {
    max-width: 860px;
}

#legal #form {
    margin-top: 9rem;
}

@media (max-width: 1199px) {
    #legal #form {
        margin-top: 6rem;
    }
}

@media (max-width: 991px) {
    #legal #form {
        margin-top: 5rem;
    }
    .contact-card .floating {
        max-width: 100%;
        margin-left: 0;
    }
}

.contact-form .form-check.custom-check + .form-check.custom-check {
    margin-top: 14px;
}

.contact-copy .label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.contact-copy .title {
    font-size: 2.35rem;
    margin-bottom: 16px;
}

.contact-copy p {
    color: rgba(242,239,233,.82);
    line-height: 1.9;
    margin-bottom: 24px;
}

.contact-highlights {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    overflow: hidden;
    padding-bottom: 0;
    margin-left: 0;
    margin-right: 0;
}

.highlight {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(212,175,55,.12);
    border-radius: 18px;
    padding: 12px;
    min-height: 72px;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
}

@media (max-width: 576px) {
    .contact-highlights {
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }
    .highlight {
        padding: 12px;
        min-height: auto;
        font-size: 0.95rem;
        flex: 1 1 100%;
        max-width: 420px;
        width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .highlight i {
        font-size: 1.5rem;
        margin-top: 0;
    }
    .highlight strong {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    .highlight p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

.highlight i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 4px;
}

.highlight strong {
    display: block;
    margin-bottom: 6px;
    color: #f8e7b9;
}

.highlight p {
    color: rgba(242,239,233,.78);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-form .form-control {
    height: 62px;
    border-radius: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(212,175,55,.18);
    padding: 0 20px;
    color: #f2efe9;
}

.contact-form .form-control:focus {
    background: rgba(212,175,55,.08);
    border-color: var(--gold);
    box-shadow: none;
    color: #fff;
}

.contact-form .form-check.custom-check {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(212,175,55,.12);
    border-radius: 16px;
    padding: 16px 18px;
}

.contact-form .form-check-label {
    color: rgba(242,239,233,.92);
    margin-left: 0.6rem;
}

.contact-form .btn-gold {
    min-height: 72px;
    border-radius: 16px;
    font-weight: 700;
    letter-spacing: .04em;
}

.contact-form .form-text {
    color: rgba(242,239,233,.75);
}

@media (max-width: 767px) {
    .contact-copy .title {
        font-size: 2rem;
    }
}

/* CONTACT */

.contact{
    background:#070707;
    color:#fff;
}

.contact .title{
    color:var(--gold);
}

.contact form{
    background:rgba(255,255,255,.04);
    padding:42px;
    border-radius:28px;
    border:1px solid rgba(212,175,55,.22);
    box-shadow:0 26px 70px rgba(212,175,55,.14);
}

.contact .form-control,
.contact .form-select{
    height:64px;
    border-radius:16px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(212,175,55,.20);
    color:#f2efe9;
    font-size:15px;
    font-weight:500;
    padding:0 20px;
}

.contact .form-control::placeholder{
    color:rgba(255,255,255,.65);
    font-size:15px;
    font-weight:400;
    letter-spacing:.2px;
}

.contact .form-control:focus{
    background:rgba(212,175,55,.08);
    border-color:var(--gold);
    color:#fff;
    box-shadow:none;
}

.contact .btn-gold{
    width:100%;
    height:60px;
    border-radius:14px;
}

.bonus-text{
    text-align:center;
    margin-top:26px;
    line-height:2;
    color:#ddd;
}

.bonus-text span{
    color:var(--gold);
    font-weight:600;
}

/* FLOATING */

/* Floating buttons are styled in css/style.css to match the example design. */

/* FOOTER */

footer{
    background:#111;
    color:#ddd;
    text-align:center;
    padding:50px 20px;
}

footer h4{
    color:var(--gold);
    margin-bottom:16px;
}

footer p{
    opacity:.8;
    margin-top:10px;
}

/* RESPONSIVE */

@media(max-width:992px){
    .hero{
        min-height:80vh;
    }

    .section{
        padding:70px 0;
    }

    .carousel-inner{
        height:400px;
        min-height:400px;
    }

    .carousel-item{
        height:400px;
        backface-visibility: hidden;
        transform: translateZ(0);
    }
}

@media(max-width:768px){
    body{
        font-size:15px;
    }

    .hero{
        min-height:65vh;
        padding:80px 0;
    }

    .hero h1{
        font-size:2.6rem;
    }

    .hero p{
        font-size:1rem;
    }

    .title{
        font-size:2rem;
    }

    .section{
        padding:60px 0;
    }

    .overview-img,
    .plan img,
    .location img{
        min-height:280px;
    }

    .info-box,
    .contact form{
        padding:28px;
    }

    .carousel-inner{
        height:280px;
        min-height:280px;
    }

    .carousel-item{
        height:280px;
    }

    .carousel-caption{
        bottom:18px;
        padding:14px 18px;
    }

    .carousel-caption h4{
        font-size:1.2rem;
    }

    .carousel-indicators{
        bottom:-35px;
    }
}

@media(max-width:992px){
    .hero-content{
        margin:auto 0 auto 20px;
        padding:90px 0 60px;
        max-width:720px;
    }

    .hero-label{
        margin-top:0;
        margin-bottom:14px;
    }

    .hero h1{
        font-size:clamp(2.8rem,4.8vw,3.4rem);
    }

    .hero p,
    .hero-subtitle{
        font-size:1rem;
        line-height:1.75;
    }
}

@media(max-width:768px){
    .hero-content{
        margin:0 16px;
        padding:70px 0 50px;
    }

    .hero-label{
        margin-top:0;
        margin-bottom:14px;
    }

    .hero h1{
        font-size:2.4rem;
    }

    .hero p,
    .hero-subtitle{
        font-size:0.98rem;
        line-height:1.7;
    }
}

@media(max-width:576px){
    body{
        font-size:14px;
    }

    .hero{
        min-height:62vh;
        padding:50px 16px 30px;
        background-position:center 25% !important;
    }

    .hero-content{
        margin:0 12px;
        padding:36px 0 24px;
        max-width:100%;
    }

    .hero h1{
        font-size:2.2rem;
    }

    .hero p,
    .hero-subtitle{
        font-size:0.95rem;
        line-height:1.65;
    }

    .hero-actions{
        display:flex;
        flex-direction:column;
        gap:12px;
        align-items:center;
        justify-content:center;
        width:100%;
    }

    .hero .btn,
    .hero .hero-btn{
        width:100%;
        max-width:100%;
    }

    .title{
        font-size:1.8rem;
    }

    .section{
        padding:50px 0;
    }

    .info-box,
    .contact form,
    #legal .info-box {
        padding:22px;
    }

    #legal .info-box ul{
        grid-template-columns:1fr;
        gap:12px;
    }

    #legal .info-box{
        margin: 0 10px;
    }

    .overview-img,
    .location img,
    .unified-img,
    .project-img-main,
    #amenities .carousel-img-main,
    #apartment .carousel-img-main,
    .carousel-inner{
        min-height:240px;
        max-height:320px;
    }

    .carousel-item{
        height:240px;
    }

    .carousel-caption{
        bottom:12px;
        padding:12px 14px;
    }

    .carousel-control-prev,
    .carousel-control-next{
        width:50px;
        height:50px;
    }

    .carousel-indicators button{
        width:10px;
        height:10px;
    }

    .contact .form-control,
    .contact .form-select{
        height:50px;
        padding:0 14px;
        font-size:14px;
        line-height:1.5;
    }

    .contact .form-control::placeholder{
        color:rgba(255,255,255,.65);
        font-size:14px;
        font-weight:400;
        letter-spacing:.2px;
    }

    .contact .btn-gold{
        height:50px;
        font-size:0.95rem;
    }

    .contact-copy .title {
        font-size: 1.9rem;
    }

    .contact-copy p {
        font-size: 0.95rem;
        line-height: 1.75;
    }

    .contact .form-check.custom-check {
        padding: 14px 16px;
    }

    .contact .form-check-label {
        font-size: 0.95rem;
    }

    .contact .form-text {
        font-size: 0.85rem;
    }

    .contact form {
        padding: 22px;
    }

    .bonus-text{
        padding:0 12px;
        font-size:0.95rem;
    }
}

/* Mobile image reset for all project pages: remove extra frame and limit height */
@media (max-width: 576px) {
    .project-page .carousel-inner,
    .project-page .carousel-img-container,
    .project-page .carousel-img-main,
    .project-page .carousel-img-blur,
    .project-page .overview-img,
    .project-page .unified-img,
    .project-page .project-img-main,
    .project-page .overview-panel img,
    .project-page .location img{
        padding: 0 !important;
        height: auto !important;
        max-height: 320px !important;
        min-height: 0 !important;
        box-shadow: none !important;
        border-radius: 12px !important;
        object-fit: cover !important;
        display: block !important;
    }
    .project-page .carousel-img-blur{
        display: none !important;
    }
    .project-page .carousel-inner{
        min-height: auto !important;
        max-height: 320px !important;
    }
    /* Map / iframe specific fixes */
    .project-page .map-card iframe,
    .project-page iframe,
    .project-page .overview-panel iframe,
    .project-page .map-fullwidth iframe{
        width:100% !important;
        height: auto !important;
        aspect-ratio: 405 / 227 !important; /* match provided image aspect ratio */
        max-height: 420px !important; /* safety cap */
        min-height: 0 !important;
        padding:0 !important;
        border-radius:12px !important;
        box-shadow:none !important;
        display:block !important;
    }
}

/* Mobile fixes: remove extra frame/padding so images fill the carousel without blank area */
@media (max-width: 992px) {
    .carousel-inner{
        border-radius:24px;
        min-height: auto !important;
        height: auto !important;
        max-height: 420px !important;
        overflow:hidden;
        background: transparent !important;
    }
    #legal .carousel-inner{
        max-height:none !important;
        height:auto !important;
        overflow:visible !important;
    }
    .carousel-img-container{
        background: transparent !important;
        padding:0 !important;
        min-height: auto !important;
        height: auto !important;
        box-shadow: none !important;
        border-radius:18px !important;
        display:block;
    }
    #legal .carousel-img-container{
        height:auto !important;
        min-height:auto !important;
    }
    .carousel-img-main{
        height:auto !important;
        max-height:420px !important;
        object-fit:cover !important;
        border-radius:18px !important;
        display:block;
    }
    #legal .carousel-img-main{
        max-height:none !important;
        object-fit:contain !important;
    }
    .carousel-img-blur{
        display:none !important; /* hides the blurred background on small screens to remove dark framing */
    }
    .carousel {
        padding-bottom: 0 !important;
    }
}

@media (max-width: 576px) {
    .carousel-inner{
        border-radius:16px;
        min-height: auto !important;
        height: auto !important;
        max-height: 320px;
        overflow:hidden;
    }
    #legal .carousel-inner{
        max-height:none !important;
        height:auto !important;
        overflow:visible !important;
    }
    .carousel {
        padding-bottom: 0 !important;
    }
    .carousel-img-container{
        padding:0 !important;
        min-height: auto !important;
        height: auto !important;
        box-shadow: none !important;
        border-radius:12px !important;
        display:block;
    }
    #legal .carousel-img-container{
        height:auto !important;
        min-height:auto !important;
        width:100% !important;
    }
    .carousel-img-main{
        height:auto !important;
        max-height:320px !important;
        object-fit:cover !important;
        border-radius:12px !important;
        display:block;
    }
    #legal .carousel-img-main{
        max-height:none !important;
        object-fit:contain !important;
    }
    .carousel-img-blur{
        display:none !important; /* hides the blurred background on small screens to remove dark framing */
    }
}

/* PROGRESS BAR TRACKER FOR CAROUSELS */
.carousel {
    position: relative;
}

/* SINGLE PAYMENT FRAME (tabbed single-panel view) */
.payment-frame{
    margin-top:18px;
    background: linear-gradient(180deg, rgba(15,12,10,0.96), rgba(25,20,16,0.98));
    border: 1px solid rgba(212,175,55,0.16);
    padding: 26px;
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.22);
}

/* Override: display legal carousel images fully (portrait/legal docs) without forcing a wide horizontal frame */
#legal .carousel-inner{
    border-radius:28px;
    background:#0b0b0b;
    overflow:visible; /* allow image height to expand */
    min-height:auto;
    max-height:none;
    width:100%;
    height:auto;
    aspect-ratio:auto;
    padding:0 12px; /* small gutter */
}

#legal .carousel-img-container{
    aspect-ratio: auto;
    width:100%;
    height:auto;
    min-height:auto;
    padding:0;
    background:transparent;
    box-shadow:none;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
}

#legal .carousel-img-blur{
    display:none; /* hide blur for legal docs to avoid dark overlay */
}

#legal .carousel-img-main{
    width:100%;
    max-width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
    display:block;
    border-radius:6px;
}

@media (max-width: 992px) {
    #legal .carousel-img-main{
        max-height:60vh;
    }
}

@media (max-width: 576px) {
    #legal .carousel-inner{
        padding:0;
        width:100%;
    }
    #legal .carousel-img-container{
        width:100%;
    }
    #legal .carousel-img-main{
        width:100%;
        max-width:100%;
        height:auto;
        max-height:none;
        border-radius:8px;
    }
}
.payment-tabs{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:24px;
    padding:10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
}
.tab-btn{
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--gold);
    padding: 14px 22px;
    border-radius: 999px;
    cursor:pointer;
    font-weight:700;
    min-width:140px;
    text-align:center;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.tab-btn:hover{
    transform: translateY(-1px);
    background: rgba(212,175,55,0.14);
}
.tab-btn.active{
    background: linear-gradient(135deg, rgba(212,175,55,0.95), rgba(245,220,135,0.95));
    color:#111;
    border-color: rgba(212,175,55,0.9);
    box-shadow: 0 18px 30px rgba(212,175,55,0.18);
}
.payment-content{ padding:0; }
.pay-panel{ display:none; padding:0; }
.pay-panel.active{ display:block; }
.pay-panel .card-head{
    margin-bottom:18px;
    padding-bottom:10px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}
.pay-panel .card-head h4{
    color: var(--gold);
    font-size: 1.35rem;
    margin-bottom: 0;
    letter-spacing: 0.02em;
}
.pay-panel ul{
    list-style:none;
    padding:0;
    margin:0;
    display:grid;
    gap:6px;
}
.pay-panel ul li{
    font-size: 1rem;
    position: relative;
    padding: 12px 16px 12px 32px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    color:#e8e2d8;
    line-height:1.7;
}
.pay-panel ul li::before{
    content:'';
    position:absolute;
    left:14px;
    top:50%;
    transform: translateY(-50%);
    width:10px;
    height:10px;
    border-radius:50%;
    background: var(--gold);
    box-shadow: 0 0 20px rgba(212,175,55,0.25);
}

.payment-carousel-frame {
    position: relative;
}

.payment-card {
    padding: 28px;
    border-radius: 28px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 28px 50px rgba(0,0,0,0.18);
    min-height: 320px;
}

.payment-card .card-head {
    margin-bottom: 22px;
    padding-bottom: 0;
    border: none;
}

.payment-card .card-head h4 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.payment-card ul {
    gap: 12px;
}

.payment-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.payment-carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.5);
    background: rgba(255,255,255,0.07);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.payment-carousel-indicators button.active,
.payment-carousel-indicators button:hover {
    background: rgba(212,175,55,0.95);
    border-color: rgba(212,175,55,0.95);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .payment-card {
        min-height: auto;
    }
}

    transform: translateY(-50%);
    width:10px;
    height:10px;
    border-radius:50%;
    background: var(--gold);
    box-shadow: 0 0 20px rgba(212,175,55,0.25);
}
@media (max-width: 768px) {
    .payment-tabs{
        justify-content:center;
    }
    .tab-btn{
        min-width: 120px;
        padding: 12px 18px;
    }
}


.carousel-tracker {
    width: min(320px, 100%);
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 5;
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    padding: 12px 18px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    box-sizing: border-box;
}

.carousel-progress-bar-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    overflow: hidden;
}

.carousel-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(212,175,55,0.95), rgba(224,180,84,0.95));
    width: 0;
    transition: width 0.35s ease;
}

.carousel-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    padding: 6px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
}

.carousel {
    padding-bottom: 96px;
}
.carousel-thumbnails {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    width: min(320px, 100%);
    position: absolute;
    left: 50%;
    bottom: -68px;
    transform: translateX(-50%);
    padding: 10px 10px;
    background: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
    z-index: 4;
}

.carousel-thumb-btn {
    width: 52px;
    height: 38px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    overflow: hidden;
}

.carousel-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-thumb-btn.active,
.carousel-thumb-btn:hover {
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.28);
    transform: translateY(-1px);
}

.carousel-thumb-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

/* Legal and schedule carousels now use the shared carousel tracker style used by the apartment/plan carousels */

@media (max-width: 768px) {
    .carousel-tracker {
        width: min(260px, calc(100% - 30px));
        padding: 6px 12px;
        border-radius: 18px;
        bottom: 12px;
    }
    .carousel-progress-bar-track {
        height: 4px;
    }
    .carousel-counter {
        font-size: 0.82rem;
        letter-spacing: 0.8px;
    }
    .carousel-thumbnails {
        width: min(260px, calc(100% - 28px));
        gap: 8px;
        padding: 8px 8px;
        bottom: -80px;
        border-radius: 18px;
    }
    .carousel-thumb-btn {
        width: 44px;
        height: 32px;
        border-radius: 12px;
    }
}

@media (max-width: 520px) {
    .carousel-tracker {
        width: min(220px, calc(100% - 24px));
        padding: 5px 10px;
        position: static;
        transform: none;
        left: auto;
        bottom: auto;
        margin-top: 14px;
    }
    .carousel-thumbnails {
        width: 100%;
        gap: 6px;
        padding: 8px 0;
        position: static;
        transform: none;
        left: auto;
        bottom: auto;
        margin-top: 12px;
    }
    .carousel-thumb-btn {
        width: 38px;
        height: 28px;
    }
}

/* Mobile fixes: legal section readability and avoid floating button overlap */
@media (max-width: 768px) {
    #legal .info-box p{
        text-align: left;
    }
    #legal .info-box ul li{
        font-size: 0.98rem;
        line-height: 1.6;
    }
    /* keep the legal card lean and balanced on smaller screens */
    #legal .info-box{
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 18px 16px 22px;
    }
    #legal .info-box ul{
        grid-template-columns: 1fr;
        gap: 14px;
    }
    #legal .info-box ul li{
        margin-bottom: 10px;
    }
    #legal #form{
        margin-top: 2.4rem;
    }
    .legal-schedule{
        background: rgba(255,255,255,0.03);
        margin-top:24px;
        padding:18px;
    }
}

@media (max-width: 480px) {
    #legal .info-box p{
        font-size: 0.98rem;
    }
    #legal .info-box{
        padding-bottom: 28px;
    }
    #legal .info-box ul{
        gap: 12px;
    }
    .legal-schedule{
        padding:14px;
        border-radius: 22px;
    }

    .navbar-brand {
        font-size: 1.15rem;
    }
    .navbar .nav-link {
        font-size: 0.9rem;
        padding: 0.65rem 0.75rem;
    }
    .hero {
        min-height: auto;
        padding: 28px 16px 38px;
    }
    .hero-content {
        padding: 20px 16px;
    }
    .hero h1 {
        font-size: clamp(2.8rem, 10vw, 3.6rem);
    }
    .hero p,
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }
    .hero-actions {
        gap: 12px;
    }
    .hero .hero-btn {
        width: 100%;
        padding: 14px 18px;
    }
    .hero-highlights .hero-quick {
        padding: 0 12px;
        gap: 12px;
    }
    .hero-highlights .quick-card {
        padding: 14px 12px;
    }
    .overview-stack {
        flex-direction: column;
        gap: 20px;
    }
    .overview-media,
    .info-box {
        width: 100%;
    }
    .map-card iframe {
        min-height: 320px;
    }
    .payment-tabs {
        gap: 8px;
        padding: 8px;
    }
    .tab-btn {
        min-width: 100px;
        padding: 10px 14px;
    }
    .contact-card {
        padding: 20px;
    }
    #legal #form {
        margin-top: 2.4rem;
    }
    .contact-highlights {
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }
    .contact-highlights .highlight {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        max-width: 420px;
    }
    .contact-highlights .highlight i {
        min-width: 42px;
        min-height: 42px;
        margin-top: 0;
    }
    .carousel {
        padding-bottom: 0 !important;
    }
    .carousel-tracker,
    .carousel-thumbnails {
        position: static;
        transform: none;
        left: auto;
        bottom: auto;
        width: 100%;
        margin-top: 14px;
    }
    .carousel-thumbnails {
        padding: 8px 0;
        gap: 8px;
    }
    .carousel-thumb-btn {
        width: 36px;
        height: 28px;
    }
}

