:root {
    --color-navy: #042a56;
    --color-navy-light: #16345c;
    --color-champagne: #c99a4b;
    --color-champagne-dark: #b5863a;
    --color-cream: #f7f4ef;
    --color-text: #1f2937;
    --font-heading: Georgia, 'Times New Roman', serif;
    --font-body: 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: var(--font-body); color: var(--color-text); line-height: 1.6; overflow-x: hidden; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--color-navy); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1px 20px;
    min-height: 70px; }
.logo-img { height: 70px; width: auto; }
.logo { display: flex; flex-direction: column; text-decoration: none; }
.logo-mark { font-family: var(--font-heading); color: #fff; font-size: 20px; font-weight: bold; letter-spacing: 1px; }
.logo-sub { color: #cbd5e1; font-size: 11px; letter-spacing: 2px; }

.main-nav { display: flex; gap: 28px; align-items: center; }

.main-nav > a, .nav-dropdown > a {
    color: #fff; text-decoration: none; font-size: 14px;
    position: relative; padding-bottom: 4px;
}
.main-nav > a:hover, .nav-dropdown > a:hover,
.main-nav > a.active, .nav-dropdown > a.active {
    color: var(--color-champagne);
}
.main-nav > a:hover::after, .nav-dropdown > a:hover::after,
.main-nav > a.active::after, .nav-dropdown > a.active::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 0; right: 0;
    height: 2px;
    background: var(--color-champagne);
}

.nav-dropdown { position: relative; padding-bottom: 4px;}
.dropdown-menu {
    display: none; position: absolute; top: 28px; left: 0;
    background: #fff; min-width: 200px; border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); overflow: hidden;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--color-navy);
    font-size: 13px;
    text-decoration: none;
}
.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: var(--color-champagne);
    color: #fff;
}

.btn-enquire {
    background: var(--color-champagne); color: #fff; text-decoration: none;
    padding: 7px 40px;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.2s;
}
.btn-enquire:hover { background: var(--color-champagne-dark); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px; height: 32px;
    background: none; border: none; cursor: pointer;
    padding: 0;
}
.hamburger span { display: block; height: 2px; width: 100%; background: #fff; transition: 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Panel */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--color-navy);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.mobile-menu.open { max-height: 500px; }
.mobile-menu a {
    color: #fff; text-decoration: none; padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,0.1); font-size: 14px;
}
.mobile-enquire { background: var(--color-champagne); text-align: center; margin: 12px 20px; border-top: none; }

@media (max-width: 768px) {
    .main-nav { display: none; }
    .desktop-only { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }
}

/* Footer */
.site-footer { background: var(--color-navy); color: #cbd5e1; padding: 30px 0; position: relative; overflow: hidden; }
.site-footer::before {
    content: '';
    position: absolute;
    top: -20px; right: -40px;
    width: 280px; height: 280px;
    background-color: rgba(255, 255, 255, 0.04);
    -webkit-mask-image: url('/images/leaves-svgrepo-com.svg');
    mask-image: url('/images/leaves-svgrepo-com.svg');
    -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    pointer-events: none;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; font-size: 13px; position: relative; z-index: 1; }
.footer-tagline { text-align: right; }

.tagline-script {
    font-family: 'Oooh Baby', cursive;
    font-style: italic;

    font-size: 30px;
    color: var(--color-champagne);
    line-height: 1;
    display: inline-block;
    transform: rotate(-10deg);
}
.tagline-line { display: block; width: 90px; height: 1px; background: var(--color-champagne); margin: 0 0 0 auto; transform: rotate(-10deg);}

/* Floating Widget */
.floating-widget {
    position: fixed; top: 30%; right: 0; transform: translateY(-50%);
    width: 60px; height: 200px;
    background: var(--color-champagne);
    border-radius: 10px 0 0 10px;
    overflow: hidden; z-index: 90;
    display: flex; flex-direction: column;
}
.widget-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff !important; text-decoration: none !important;
    transition: background 0.2s; gap: 3px;
}
.widget-item:hover { background: var(--color-champagne-dark); }
.widget-icon { width: 20px !important; height: 20px !important; fill: #fff; display: block; }
.widget-label { font-size: 9px; text-transform: capitalize; letter-spacing: 0.5px; white-space: nowrap; color: #fff; }
.widget-divider { height: 1px; background: rgba(255,255,255,0.35); margin: 0 10px; }

@media (max-width: 767px) {
    #scroll-btn { font-size: 12px; bottom: 20px; }
    .floating-widget { width: 50px; height: 170px; }
    .widget-icon { width: 17px !important; height: 17px !important; }
    .widget-label { font-size: 8px; }
    .logo-img { height: 28px!important; }
    .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
    .footer-tagline { text-align: center; }
    .tagline-line { margin: 8px auto 0; }
    .main-nav { display: none; }
}

/* Hero */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    min-height: 91vh;
    overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }

.hero-dots {
    position: absolute;
    right: 24px;
    top: 60%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid #fff;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}
.hero-dot.active {
    background: #fff;
    transform: scale(1.3);
}
.hero-dot:hover { background: rgba(255,255,255,0.5); }

@media (max-width: 767px) {
    .hero-dots { right: 14px; gap: 7px; }
    .hero-dot { width: 7px; height: 7px; }
}

#scroll-btn {
    position: absolute;
    height: 4em; width: 2em;
    border: 0.1em solid #fff;
    margin: auto; left: 0; right: 0; bottom: 30px;
    border-radius: 1.3em;
    display: block;
}
#scroll-btn:before {
    position: absolute; content: "";
    margin: auto; left: 0; right: 0; top: 0.5em;
    height: 0.5em; width: 0.5em;
    background-color: var(--color-champagne);
    border-radius: 50%;
    animation: move-down 2s infinite;
}
@keyframes move-down {
    80% { opacity: 0.5; }
    100% { transform: translateY(2.3em); opacity: 0; }
}
#scroll-btn:after {
    position: absolute; content: "SCROLL";
    width: 8em; display: block; text-align: center;
    left: -2.3em; bottom: -2.2em;
    font-size: 0.6em; color: #fff; letter-spacing: 2px; font-weight: 500;
}

/* Sections */
.section { padding: 70px 0; }
.section-label {
    display: block;
    width: fit-content;
    position: relative;
    color: var(--color-champagne);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding-bottom: 10px;
}
.section-label::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 1px;
    background: var(--color-champagne);
}
.section-label.center {
    display: block;
    width: fit-content;
    margin: 0 auto;
}
.section-label.center::after {
    left: 50%;
    transform: translateX(-50%);
}
.section h2 {
    font-family: var(--font-heading); font-size: 50px; margin: 8px 0 16px; color: var(--color-navy);
    text-transform: uppercase;
    font-weight: 500;
}
.section h2 .accent { color: var(--color-champagne); }
.section-desc { max-width: 700px; color: #042a56; margin-bottom: 30px; }
.section-future {
    background-color: #f4f1ec;
    background-repeat: no-repeat;
    background-position: top left;
}
.section-completed {
    position: relative;
    background-color: #fcfbfa;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
}
.section-completed::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(252, 251, 250, 0.75);
    z-index: 0;
}
.section-completed .container {
    position: relative;
    z-index: 1;
}
.stats-row { display: flex; gap: 40px; margin-top: 30px; }
.stat-number { font-family: var(--font-heading); font-size: 40px; font-weight: bold; color: var(--color-navy); }
.stat-label { font-size: 15px; color: #042a56; text-transform: uppercase; letter-spacing: 1px; font-weight: 600;}

/* About Us */
.section-about { background-size: cover; background-position: center; padding: 90px 0; }
.about-content { text-align: center; }
.about-heading { font-family: var(--font-heading); font-size: 42px; line-height: 1.3; margin: 12px 0 20px; color: var(--color-navy); }
.section-desc.center { max-width: 850px; margin: 0 auto 50px; text-align: justify; }

.stats-row.centered { justify-content: center; gap: 60px; margin-bottom: 60px; }
.stats-row.centered .stat-item { text-align: center; min-width: 200px;}
.stat-icon {
    display: inline-block; width: 50px; height: 50px;
    background-color: var(--color-champagne);
    mask-size: contain; mask-repeat: no-repeat; mask-position: center;
    -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center;
    margin-bottom: 10px;
}
.stat-divider { width: 1px; background: #d9d4c8; align-self: stretch; }

.vision-mission-row {
    display: grid; grid-template-columns: 1fr 1px 1fr; gap: 50px;
    text-align: left; border-top: 1px solid #e2ddd0; padding-top: 50px;
}
.vm-divider { background: #e2ddd0; }
.vision-text { font-family: var(--font-heading); font-size: 26px; color: var(--color-navy); margin-top: 12px; line-height: 1.4; }
.mission-list { list-style: none; margin-top: 12px;     color: var(--color-navy);}
.mission-list li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; margin-bottom: 4px; }
.mission-num {
    font-family: var(--font-heading); font-size: 24px; color: var(--color-champagne);
    min-width: 30px; border-right: 2px solid #e2ddd0; padding-right: 16px;
}

@media (max-width: 767px) {
    .stats-row.centered {
        flex-direction: column;
        gap: 30px;
    }
    .stat-divider {
        display: none;
    }

    .vision-mission-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .vm-divider {
        display: none;
    }
}


/* Current Projects */
.center-heading { text-align: center; }
.section-current {
    background-color: #f4f1ec;
    background-repeat: no-repeat;
    background-position: center;
        background-size: cover;
}

.current-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 10px; margin-top: 40px; }
.current-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgb(0 0 0 / 35%);
    transition: transform 0.2s, box-shadow 0.2s;
}
.current-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgb(0 0 0 / 45%);
}

.current-card-image { position: relative; aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.current-tag {
    position: absolute; top: 0; left: 0;
    background: var(--color-champagne); color: #fff; font-size: 13px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase; padding: 10px 20px;
    border-bottom-right-radius: 10px;
}
.current-tag.tag-soon { background: #6b7280; }

.current-info-bar {
    background: var(--color-navy);
    color: #fff;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.current-info-text {
    flex: 1;
    padding-right: 20px;
    position: relative;
}
.current-info-text::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    bottom: 15%;
    width: 1.5px;
    background: rgba(255, 255, 255, 0.3);
}

.current-info-text h3 {
    font-family: var(--font-heading); font-size: 22px; margin-bottom: 4px;
    text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500;
}
.current-location { font-size: 14px; color: #ffffff; margin-bottom: 10px; }
.current-specs { font-size: 13px; color: #ffffff; }

.current-view-btn {
    display: flex; align-items: center; gap: 10px;
    color: #efc56a; text-decoration: none;
    font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
    white-space: nowrap;
    font-weight: 500;
}
.view-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid #efc56a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-size: 25px;
    padding-bottom: 5px;
}
.current-view-btn:hover .view-arrow { background: rgba(255,255,255,0.15); }

.completed-view-btn {
    display: flex; align-items: center; gap: 10px;
    color: #ffffff; text-decoration: none;
    font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
    white-space: nowrap;
    font-weight: 500;
}
.completed-view-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-size: 25px;
    padding-bottom: 5px;
}
.completed-view-btn:hover .completed-view-arrow { background: rgba(255,255,255,0.15); }

@media (max-width: 767px) {
    .current-grid { grid-template-columns: 1fr; }
    .current-info-bar { flex-direction: column; align-items: flex-start; }
}

/* Completed Projects */
.completed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 4px; margin-top: 40px; }
.completed-card {
    position: relative;
    border-radius: 7px;
    overflow: hidden;
}
.completed-card-image { position: relative; aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.completed-tag {
    position: absolute; top: 0; left: 0;
    background: #b97b33; color: #fff; font-size: 11px; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase; padding: 8px 16px;
        border-bottom-right-radius: 10px;
}
.completed-info-bar {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--color-navy);
    color: #fff;
    padding: 16px 18px;
    min-height: 190px;
}
.completed-info-bar h3 { font-family: var(--font-heading); font-size: 17px; margin-bottom: 4px; font-weight: 500; }
.completed-specs { font-size: 13px; color: #ffffff; margin-bottom: 8px; }
.completed-ccc { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #efc56a; margin-bottom: 10px; }
.completed-info-bar .current-view-btn { margin-top: auto; }
.completed-info-bar .completed-view-btn{ margin-top: auto; }
.ccc-icon { width: 14px; height: 14px; flex-shrink: 0; }

.thank-you-card { display: flex; flex-direction: column; justify-content: center; padding: 24px; position: relative; overflow: hidden; }
.thank-you-title {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--color-champagne);
    line-height: 1.4;
    position: relative;
    z-index: 1;
    padding-top: 20px;
}
.thank-you-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-champagne);
}
.thank-you-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-champagne);
}
.thank-you-sub { color: var(--color-navy); }

.thank-you-text { font-size: 15px; color: var(--color-navy); margin-top: 35px; position: relative; z-index: 1; font-weight: 600; }

.completed-tagline { display: flex; align-items: flex-start; gap: 12px; margin-top: 40px; }
.completed-tagline-line { width: 2px; height: 70px; background: var(--color-champagne); }
.completed-tagline p {
    font-size: 14px; color: var(--color-champagne); letter-spacing: 2px;
    font-weight: 500; line-height: 1.8; text-transform: uppercase;
}

@media (max-width: 767px) {
    .completed-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Future Developments */
.future-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
.future-header-center { flex: 1; }
.future-side-label {
    font-size: 11px; color: var(--color-champagne); letter-spacing: 1px; font-weight: 600; line-height: 1.6;
    border-left: 2px solid var(--color-champagne); padding-left: 10px;
}

.future-list { display: flex; flex-direction: column; gap: 30px; }
.future-item { background: #fff; }
.future-image {
    position: relative; min-height: 427px;
    background-size: cover; background-position: center;
    display: flex; align-items: flex-start;
}
.future-tagline {
    color: #fff; font-family: var(--font-heading); font-size: 20px; line-height: 1.4;
    padding: 24px; text-shadow: 0 2px 8px rgba(0,0,0,0.4); max-width: 320px;
    display: none;
}

.future-info-bar { display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; flex-wrap: wrap; gap: 12px; 
    background: var(--color-cream);}
.future-info-text h3 {
    font-family: var(--font-heading); font-size: 18px; color: var(--color-navy);
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px;
}
.future-specs { font-size: 12px; color: var(--color-navy); text-transform: uppercase; letter-spacing: 0.5px; }
.future-view-btn {
    display: flex; align-items: center; gap: 10px;
    background: var(--color-navy); color: #fff; text-decoration: none;
    padding: 12px 20px; font-size: 12px; letter-spacing: 1px; white-space: nowrap;
}
.view-arrow-square { font-size: 14px; }

@media (max-width: 767px) {
    .future-header { flex-direction: column; }
    .future-tagline { font-size: 16px; max-width: 100%; }
}

/* Project Grid */
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 20px; }
.project-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: relative; }
.project-card-dark { background: var(--color-navy); color: #fff; }
.project-card-body { padding: 20px; }
.project-card-body h3 { margin-bottom: 6px; }
.project-tag {
    position: absolute; top: 12px; left: 12px; background: var(--color-champagne);
    color: #fff; font-size: 11px; padding: 4px 10px; border-radius: 3px; text-transform: uppercase;
}
.project-tag-soldout { background: #92400e; }
.btn-view-project { color: var(--color-champagne); text-decoration: none; font-size: 13px; font-weight: 600; display: inline-block; margin-top: 10px; }
.empty-state { color: #9ca3af; font-style: italic; }

/* Contact Us */
.section-contact {
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-contact::before {
    content: '';
    position: absolute;
    inset: 0;
        background: radial-gradient(circle at center, rgb(250 249 242 / 95%) 20%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.section-contact .container {
    position: relative;
    z-index: 1;
}
.contact-content { text-align: center; }
.contact-heading {
    font-family: var(--font-heading); font-size: 34px; color: var(--color-navy);
    display: inline-block; padding: 0 30px 12px;
    border-top: 1px solid var(--color-champagne); border-bottom: 1px solid var(--color-champagne);
    margin-bottom: 50px;
}

.contact-details { max-width: 600px; margin: 0 auto; text-align: left; }
.contact-row { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.contact-icon-circle {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(201, 154, 75, 0.2); color: var(--color-champagne);
    display: flex; align-items: center; justify-content: center;
}
.contact-icon-circle svg { width: 20px; height: 20px; }
.contact-vline { width: 1px; align-self: stretch; background: var(--color-champagne); opacity: 0.5; }
.contact-text strong {
    display: block; color: var(--color-navy); font-size: 13px;
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px;
}
.contact-text p { font-size: 14px; color: #4b5563; line-height: 1.6; }

.contact-social { display: flex; justify-content: center; gap: 14px; margin-top: 40px; }
.social-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.social-icon svg { width: 20px; height: 20px; }
.social-fb { background: #1877f2; }
.social-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-wa { background: #25d366; }
.social-yt { background: #ff0000; }
.social-li { background: #0a66c2; }
.social-gmaps { background: #4285f4; }
.social-icon-mask {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}
.social-waze { background: #33ccff; }
.social-icon-img {
    width: 22px;
    height: 22px;
    display: block;
}

@media (max-width: 767px) {
    .contact-row {  align-items: flex-start; }
    .contact-vline { display: none; }
    .section h2 {font-size: 30px; }
    .vision-text {font-size: 24px; }
    .reg-banner-content h1 {    font-size: 30px;}
    .reg-banner {min-height: 300px !important;}
    .reg-banner-image {    width: 100% !important;}

    .tr-tabs { position: static !important; }

    .tr-details-table { display: block; width: 100%; overflow-x: auto; }
    .tr-details-table td { word-break: break-word; }
    .tr-details-table td:first-child { min-width: 100px; white-space: nowrap; }

    .tr-map-wrap iframe { width: 100% !important; height: 250px; }

    .cp-details-grid { grid-template-columns: 1fr; }

    body { overflow-x: hidden; }
    
    .tr-details-table td:first-child {   min-width: 70px !important;}
    
    .fd-tagline-script {    padding-top: 20px;}
    .fd-heading {    font-size: 30px !important;}
    .fd-tabs {    position: static !important;}
    
    .fd-card { grid-template-columns: 1fr; overflow: hidden; }
    .fd-card-images { grid-template-columns: 1fr; width: 100%; }
    .fd-main-image { min-height: 100px; }
    .fd-side-images { flex-direction: row; width: 100%; }
    .fd-side-image { aspect-ratio: 1; min-width: 0; flex: 1; }

}

/* Registration Banner */
.reg-banner {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}
.reg-banner-pattern {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 40%;
    background-repeat: repeat;
    z-index: 0;
    background-size: cover;
    background-position: center;
}
.reg-banner-image {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 60%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.reg-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(105deg, #ffffff 0%, #ffffff 50%, rgba(255, 255, 255, 0) 65%);
}
.reg-banner-content {
    position: relative;
    z-index: 1;
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: left;
    min-width: 1280px;
}

@media (max-width: 1280px) {
    .reg-banner-content {
        min-width: 0;
        width: 100%;
    }
}
.reg-banner-content h1 { font-family: var(--font-heading); font-size: 40px; color: var(--color-navy); }
.reg-banner-line { width: 40px; height: 3px; background: var(--color-champagne); margin: 16px 0; }
.reg-banner-sub { font-size: 18px; color: var(--color-navy); margin-bottom: 8px; }
.reg-banner-desc { font-size: 14px; color: #4b5563; max-width: 420px; }

/* Form */
.reg-form-wrap { padding: 60px 20px; }
.reg-section-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-navy);
    margin: 40px 0 20px;
    padding-bottom: 14px;
    position: relative;
    display: inline-block;
}
.reg-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-champagne);
}
.reg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.reg-field-full {
    grid-column: 1 / -1;
}
.reg-field { display: flex; flex-direction: column; margin-bottom: 16px; }
.reg-field label { font-size: 13px; color: var(--color-navy); font-weight: 600; margin-bottom: 6px; }
.req { color: #dc2626; }
.reg-field input, .reg-field select {
    border: none; border-bottom: 1px solid #d1d5db;
    padding: 8px 4px; font-size: 14px; font-family: inherit; background: transparent;
}
.reg-field textarea {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 8px 4px;
    font-size: 14px;
    font-family: inherit;
    background: transparent;
    min-width: 100%;
}

.reg-field input:focus, .reg-field select:focus, .reg-field textarea:focus { outline: none; border-bottom-color: var(--color-champagne); }
.reg-error { color: #dc2626; font-size: 12px; margin-top: 4px; }

/* Project Cards */
.reg-project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 20px; }
.reg-project-card { display: block; cursor: pointer; border: 1px solid #e5e7eb; border-radius: 6px; overflow: hidden; position: relative; }
.reg-project-card input[type="radio"] { position: absolute; opacity: 0; }
.reg-project-img { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.reg-project-icon-card .reg-project-icon {
    aspect-ratio: 4 / 3;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.reg-project-icon svg { width: 36px; height: 36px; }
.reg-project-label { display: flex; align-items: center; gap: 10px; padding: 12px; font-size: 13px; font-weight: 600; color: var(--color-navy); }
.reg-radio-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #d1d5db; flex-shrink: 0; position: relative; }
.reg-project-card input:checked ~ .reg-project-label .reg-radio-dot,
.reg-project-card input:checked + .reg-project-label .reg-radio-dot { border-color: var(--color-champagne); }
.reg-project-card input:checked ~ .reg-project-label .reg-radio-dot::after,
.reg-project-card input:checked + .reg-project-label .reg-radio-dot::after {
    content: ''; position: absolute; inset: 2px; border-radius: 50%; background: var(--color-champagne);
}
.reg-project-card:has(input:checked) { border-color: var(--color-champagne); border-width: 2px; }

/* Checkbox */
.reg-checkbox-row { margin: 20px 0; }
.reg-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #4b5563; margin-bottom: 10px; cursor: pointer; }
.reg-checkbox input { margin-top: 3px; }

.reg-submit-btn {
    background: var(--color-champagne); color: #fff; border: none;
    padding: 14px 50px; font-size: 14px; font-weight: 600; letter-spacing: 1px;
    display: flex; align-items: center; gap: 10px; cursor: pointer; margin-top: 10px;
}
.reg-submit-btn:hover { background: var(--color-champagne-dark); }

.reg-alert-success {
    background: #d1fae5; color: #065f46; padding: 14px 20px;
    border-radius: 4px; margin-top: 20px; margin-bottom: 24px; font-size: 14px;
}

@media (max-width: 767px) {
    .reg-grid { grid-template-columns: 1fr; }
    .reg-banner-overlay { background: linear-gradient(180deg, rgba(255,255,255,0.9) 40%, rgba(255,255,255,0.5) 100%); }
}

/* Future Developments Page */
.fd-banner {
    position: relative;
    padding: 30px 0 30px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}
.fd-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(247, 244, 239, 1) 0%, rgba(247, 244, 239, 0.9) 40%, rgba(247, 244, 239, 0) 100%);
}
.fd-banner-content {
    position: relative;
    z-index: 1;
}
.fd-banner-text { text-align: center; flex: 1; }
.fd-heading {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--color-navy);
    margin: 8px 0;
    text-transform: uppercase;
    font-weight: 500;
}

.fd-tagline-script {
    font-family: 'Oooh Baby', cursive;
    font-style: italic;

    font-size: 30px;
    color: var(--color-navy);
    line-height: 1;
    display: inline-block;
    transform: rotate(-10deg);
}
.fd-tagline-sub { font-size: 16px; color: var(--color-navy); margin-bottom: 10px; }
.fd-desc { max-width: 550px; margin: 0 auto; color: #4b5563; font-size: 14px; }
.fd-banner-signature { text-align: right; min-width: 160px; }

.fd-tabs { background: #fff; border-bottom: 1px solid #e5e7eb; position: sticky; top: 70px; z-index: 50; }
.fd-tabs-inner { display: flex; justify-content: center; gap: 16px; padding: 16px 20px; flex-wrap: wrap; }
.fd-tabs-inner a {
    color: var(--color-navy);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 650;
}
.fd-tabs-inner a:hover { color: var(--color-champagne); }
.fd-tab-divider { color: #d1d5db; }

.fd-list { padding: 40px 20px; display: flex; flex-direction: column; gap: 30px; }
.fd-card {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px;
    scroll-margin-top: 140px;
}
.fd-badge {
    display: inline-block;
    background: #e6bb72;
    color: var(--color-navy);
    font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 5px 12px; border-radius: 3px; margin-bottom: 10px;
}
.fd-card-info h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-navy);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.fd-location { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--color-navy); margin-bottom: 14px; }
.fd-pin { width: 14px; height: 14px; color: var(--color-champagne); flex-shrink: 0; }
.fd-desc-text { font-size: 15px; color: var(--color-navy); line-height: 1.6; margin-bottom: 20px; font-weight: 500;}

.fd-bottom-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.fd-type { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-navy); font-weight: 500;}
.fd-type-icon { width: 20px; height: 20px; }
.fd-location-btn {
    display: flex; align-items: center; gap: 6px;
    background: var(--color-navy); color: #fff; text-decoration: none;
    padding: 10px 18px; font-size: 11px; border-radius: 4px; text-transform: uppercase;
    font-weight: 500;
    transition: background 0.2s;
}
.fd-location-btn:hover {
    background: var(--color-champagne);
}
.fd-btn-pin { width: 14px; height: 14px; }

.fd-card-images { display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px; }
.fd-main-image { background-size: cover; background-position: right; border-radius: 6px; box-shadow: 0 4px 10px rgb(0 0 0 / 35%); }
.fd-side-images { display: flex; flex-direction: column; gap: 8px; }
.fd-side-image { flex: 1; background-size: cover; background-position: center; border-radius: 6px; box-shadow: 0 4px 10px rgb(0 0 0 / 35%);}

.fd-btn-arrow {
    font-size: 16px;
    line-height: 1;
}

@media (max-width: 900px) {
    .fd-card { grid-template-columns: 1fr; }
    .fd-banner-content { flex-direction: column; gap: 20px; align-items: center; }
    .fd-banner-signature { text-align: center; }
}

/* Track Record Page */
.tr-banner {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.tr-banner-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 43% 19% 19% 19%;
    gap: 0;
    z-index: 0;
}
.tr-banner-img {
background-size: cover;
    background-position: center;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    margin: 0 -13px;
}
.tr-banner-img:first-child {
    clip-path: polygon(0 0%, 100% 0, 95.3% 100%, 0 100%);
    margin-left: 0;
}
.tr-banner-img:last-child {
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
    margin-right: 0;
}

.tr-banner-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;
}
.tr-banner-text {
    position: relative;
    z-index: 2;
    padding: 30px 60px;
    text-align: left;
    width: 100%;
}
.tr-banner-text h1.section-label {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--color-navy);
    margin-top: 8px;
    font-weight: 600;
}
.tr-banner-text h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--color-navy);
    margin-top: 8px;
    font-weight: normal;
}

.tr-tabs {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 4px;
    padding: 12px; position: sticky; top: 70px; z-index: 50;
}

.tr-tab-btn {
    background: #ccccec; border: none; cursor: pointer;
    padding: 12px 20px; font-size: 13px; color: var(--color-navy);
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}
.tr-tab-btn:hover,
.tr-tab-btn.active { background: var(--color-navy); color: #fff; }

.tr-content { padding: 50px 20px; }
.tr-panel { display: none; }
.tr-panel.active { display: block; }

.tr-header { text-align: center; margin-bottom: 30px; }
.tr-header h2 { font-family: var(--font-heading); font-size: 32px; color: var(--color-navy); }
.tr-header-line { width: 40px; height: 2px; background: var(--color-champagne); margin: 10px auto; }
.tr-location { color: var(--color-navy); font-size: 15px; }

.tr-gallery { display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px; margin-bottom: 30px; }
.tr-gallery-main {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgb(0 0 0 / 35%);
    transition: transform 0.2s, box-shadow 0.2s;
}
.tr-gallery-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgb(0 0 0 / 45%);
}

.tr-gallery-small {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgb(0 0 0 / 35%);
    transition: transform 0.2s, box-shadow 0.2s;
}
.tr-gallery-small:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgb(0 0 0 / 45%);
}

.tr-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Gallery adjust — ikut bilangan gambar sebenar (bukan sentiasa 4) */
.tr-gallery-count-1 {
    grid-template-columns: 1fr 1fr;
}
.tr-gallery-count-1 .tr-gallery-grid {
    grid-template-columns: 1fr;
}
.tr-gallery-count-1 .tr-gallery-small {
    aspect-ratio: auto;
    height: 100%;
}

.tr-gallery-count-2 .tr-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
}
.tr-gallery-count-2 .tr-gallery-small {
    aspect-ratio: auto;
}

.tr-gallery-count-3 .tr-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.tr-gallery-count-3 .tr-gallery-small:first-child {
    grid-column: span 2;
    aspect-ratio: auto;
}

.tr-type { font-family: var(--font-heading); font-size: 22px; color: var(--color-navy); margin-bottom: 20px; }

.tr-variant-block { margin-bottom: 20px; }
.tr-variant-block:last-child { margin-bottom: 0; }

.tr-specs-row { display: flex; flex-wrap: wrap; gap: 30px; padding: 20px 0; border-top: 1.5px solid #e5e7eb; border-bottom: 1.5px solid #e5e7eb; margin-bottom: 30px; }
.tr-spec-item {
    display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; min-width: 120px; text-align: center; max-width: 287px;
    transition: transform 0.25s ease;
}
.tr-spec-item:hover {
    transform: scale(1.05);
}
.tr-spec-item:hover .tr-spec-icon {
    background-color: var(--color-champagne);
}
.tr-spec-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: var(--color-navy);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}
.tr-spec-item span { font-size: 14px; color: var(--color-navy); font-weight: 600; }

.tr-details-section { margin-bottom: 40px; }
.tr-details-table { margin-top: 16px; border-collapse: collapse; }
.tr-details-table td { padding: 8px 4px; font-size: 14px; color: #374151; vertical-align: top; }
.tr-details-table td:first-child { font-weight: 600; color: var(--color-navy); min-width: 140px; }
.tr-details-table td:nth-child(2) { padding: 8px 10px; }
.tr-details-table a { color: var(--color-champagne); }

.tr-map-wrap { margin-top: 16px; border-radius: 6px; overflow: hidden; }
.tr-map-wrap iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
}

@media (max-width: 767px) {
    .tr-gallery { grid-template-columns: 1fr; }

    .tr-specs-row { justify-content: center; }
}

/* Current Project Page — extend Track Record styles */
.cp-price {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--color-champagne);
    margin-bottom: 20px;
}
.cp-intro { margin-bottom: 40px; }
.cp-intro-title {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--color-navy);
    margin-bottom: 14px;
}
.cp-intro p { font-size: 14px; color: #4b5563; line-height: 1.7; margin-bottom: 14px; }

.cp-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    margin-top: 16px;
}
.cp-details-grid strong { display: block; color: var(--color-navy); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.cp-details-grid p { font-size: 14px; color: #374151; }

.cp-highlight-list { margin-top: 16px; padding-left: 20px; }
.cp-highlight-list li { font-size: 14px; color: #374151; margin-bottom: 8px; }

.cp-location-intro { font-size: 14px; color: #4b5563; margin: 16px 0 24px; max-width: 700px; }
.cp-place-category { margin-bottom: 24px; }
.cp-place-category h4 { font-family: var(--font-heading); font-size: 16px; color: var(--color-champagne); margin-bottom: 10px; }
.cp-place-list { list-style: none; }
.cp-place-list li { font-size: 14px; color: #374151; padding: 6px 0; border-bottom: 1px dashed #e5e7eb; }
.cp-note { font-size: 12px; color: #9ca3af; margin-top: 12px; font-style: italic; }

@media (max-width: 767px) {
    .cp-details-grid { grid-template-columns: 1fr; }
}

.cp-tag-badge {
    display: inline-block;
    background: #6b7280;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    margin-left: 10px;
    vertical-align: middle;
}

@media (max-width: 767px) {
    /* Current/Track Record page tabs */
    #trTabsScroll { justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .tr-tab-btn { flex-shrink: 0; white-space: nowrap; }

    /* Current Project details grid */
    .cp-details-grid { grid-template-columns: 1fr; }

    /* Gallery stacks on mobile */
    .tr-gallery-grid { grid-template-columns: repeat(2, 1fr); }

    /* Specs row wraps better */
    .tr-specs-row { gap: 16px; justify-content: flex-start; }
    .tr-spec-item { min-width: 45%; flex: none; }

    /* Future Developments card */
    .fd-card { padding: 20px; }
    .fd-card-images { grid-template-columns: 1fr; }
    .fd-side-images { flex-direction: row; }

    /* Contact section */
    .contact-social { flex-wrap: wrap; }
}

/* Scroll to Top */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 25px;
    width: 35px; height: 35px;
    border-radius: 50%;
    background: var(--color-champagne);
    color: #fff;
    border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.2s;
    z-index: 80;
}
.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover { background: var(--color-navy); }
.scroll-top-btn svg { width: 20px; height: 20px; }

@media (max-width: 767px) {
    .scroll-top-btn { bottom: 20px; right: 20px; width: 30px; height: 30px; }
}

.tr-tabs-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 5px;
    padding-right: 5px;
}

#trTabsScroll {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.tr-tabs::-webkit-scrollbar {
    display: none;
}

.tr-tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    box-sizing: border-box;
}

.tr-tabs-arrow {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--color-navy);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.tr-tabs-arrow:hover {
    background: var(--color-champagne);
}

.tr-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--color-champagne);
    color: var(--color-navy);
    text-decoration: none;
    padding: 5px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
.tr-map-btn-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.tr-map-btn-arrow {
    transition: transform 0.2s;
    font-size: large;
}
.tr-map-btn:hover {
    background: var(--color-navy);
    border: 1.5px solid var(--color-navy);
    color: #fff;
}
.tr-map-btn:hover .tr-map-btn-arrow {
    transform: translateX(3px);
}

.textarea-icon-wrap {
    position: relative;
}
.textarea-chat-icon {
    position: absolute;
    top: 13px;
    left: 2px;
    width: 15px;
    height: 15px;
    color: #9ca3af;
    pointer-events: none;
}
.textarea-icon-wrap textarea {
    padding: 8px 4px 8px 24px;
}

.legal-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 60px 20px;
}
.legal-content h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--color-navy);
    margin-bottom: 8px;
}
.legal-content .legal-updated {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 30px;
}
.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--color-navy);
    margin: 30px 0 12px;
}
.legal-content p {
    font-size: 14px;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 14px;
    text-align: justify;
}
.legal-content ul {
    margin: 0 0 14px 20px;
}
.legal-content ul li {
    font-size: 14px;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 6px;
}
.legal-content a {
    color: var(--color-champagne);
}

/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    align-items: center; justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
    max-width: 90%; max-height: 85vh;
    border-radius: 6px;
}
.lightbox-close {
    position: absolute; top: 20px; right: 30px;
    color: #fff; font-size: 36px; cursor: pointer; line-height: 1;
    z-index: 10000;
}
[data-lightbox] { cursor: pointer; }

.completed-specs { margin: 0; }
.completed-spec-line {
    display: block;
    white-space: nowrap;
}

/* Track Record banner — mobile: tunjuk 1 gambar sahaja (paling kiri) */
@media (max-width: 768px) {
    .tr-banner-grid {
        display: block;
    }

    .tr-banner-grid .tr-banner-img:not(:first-child) {
        display: none;
    }

    .tr-banner-grid .tr-banner-img:first-child {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 300px;
        clip-path: none;
        margin: 0;
    }
}