@import url('css2.css');

:root {
    --green: #10392f;
    --green-2: #0b2b24;
    --gold: #d8b56d;
    --gold-2: #f2dc9b;
    --cream: #f7f2e7;
    --text: #1e2d2b;
    --muted: #687371;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: #fff;
}

.ss-navbar {
    background: rgba(11, 43, 36, 0.92);
    backdrop-filter: blur(14px);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.navbar-brand { letter-spacing: .2px; }

.brand-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: var(--green);
    border-radius: 50%;
    margin-right: 8px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.nav-link {
    color: rgba(255,255,255,.82) !important;
    font-weight: 500;
    margin: 0 5px;
}

.nav-link:hover { color: var(--gold-2) !important; }

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: #1f251f;
    border: none;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(216, 181, 109, .25);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    color: #101010;
    transform: translateY(-1px);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(rgba(8,31,26,.75), rgba(8,31,26,.70)),
        url('../img/hero-bg.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto -10% -22% -10%;
    height: 320px;
    background: #ffffff;
    transform: rotate(-3deg);
    z-index: 1;
}

.hero-section .container { z-index: 2; }

.badge-soft {
    background: rgba(216,181,109,.16);
    color: var(--gold-2);
    border: 1px solid rgba(216,181,109,.35);
    padding: 10px 16px;
    border-radius: 50px;
    font-weight: 700;
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    line-height: .98;
}

.hero-section .lead {
    color: rgba(255,255,255,.82);
    max-width: 700px;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 820px;
}

.hero-points div {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
}

.hero-points strong {
    display: block;
    color: #fff;
    font-size: 18px;
}

.hero-points span {
    display: block;
    color: rgba(255,255,255,.65);
    font-size: 13px;
    margin-top: 5px;
}

.enquiry-card {
    background: rgba(255,255,255,.94);
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 35px 80px rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.7);
}

.mini-list { display: grid; gap: 14px; }

.mini-list div {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f6f5ef;
    padding: 14px 15px;
    border-radius: 14px;
    font-weight: 700;
}

.mini-list span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.section-padding { padding: 95px 0; }

.section-kicker {
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
}

.section-kicker.light { color: var(--gold-2); }

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.06;
    max-width: 760px;
    margin: 10px 0 18px;
}

.section-text {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
    max-width: 720px;
}

.feature-box,
.apartment-card,
.policy-card {
    background: #ffffff;
    border: 1px solid rgba(16,57,47,.08);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 20px 50px rgba(16,57,47,.08);
}

.feature-box h5 {
    font-weight: 800;
    color: var(--green);
}

.feature-box p {
    margin: 0;
    color: var(--muted);
}

.image-stack {
    position: relative;
    min-height: 480px;
}

.main-building-card {
    min-height: 430px;
    border-radius: 34px;
    background:
        linear-gradient(rgba(16,57,47,.20), rgba(16,57,47,.70)),
        url('../img/main-building.jpg') center/cover no-repeat;
    position: relative;
    box-shadow: 0 35px 80px rgba(0,0,0,.18);
    overflow: hidden;
}

.building-content {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 28px;
    color: white;
}

.building-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
}

.building-content p {
    color: rgba(255,255,255,.78);
    margin: 0;
}

.floating-card {
    position: absolute;
    background: #fff;
    border-radius: 22px;
    padding: 18px 22px;
    box-shadow: 0 25px 55px rgba(0,0,0,.16);
    border-left: 5px solid var(--gold);
}

.floating-card strong {
    display: block;
    font-size: 34px;
    color: var(--green);
    line-height: 1;
}

.floating-card span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.floating-card.one { top: 35px; left: -30px; }
.floating-card.two { right: -10px; bottom: 35px; }

.bg-soft { background: var(--cream); }

.apartment-card {
    height: 100%;
    transition: .25s;
}

.apartment-card:hover { transform: translateY(-8px); }

.apt-icon {
    width: 62px;
    height: 62px;
    border-radius: 19px;
    background: var(--green);
    color: var(--gold-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 22px;
}

.apartment-card h4 {
    font-weight: 900;
    color: var(--green);
}

.apartment-card p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

.floor-strip {
    background: var(--green);
    color: #fff;
    border-radius: 28px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    box-shadow: 0 24px 60px rgba(16,57,47,.20);
}

.floor-strip p {
    margin: 0;
    color: rgba(255,255,255,.62);
}

.floor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.floor-tags span {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: 800;
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.amenity-item {
    min-height: 120px;
    border-radius: 24px;
    background: linear-gradient(135deg, #f8f4e8, #ffffff);
    border: 1px solid rgba(216,181,109,.28);
    display: flex;
    align-items: center;
    padding: 25px;
    font-weight: 900;
    font-size: 18px;
    color: var(--green);
    box-shadow: 0 18px 45px rgba(16,57,47,.08);
}

.bg-dark-green {
    background:
        radial-gradient(circle at top left, rgba(216,181,109,.15), transparent 34%),
        var(--green-2);
}

.policy-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: none;
    color: rgba(255,255,255,.88);
}

.policy-card li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.cta-section {
    padding: 90px 0;
    background:
        linear-gradient(rgba(247,242,231,.92), rgba(247,242,231,.92)),
        url('../img/cta-bg.jpg') center/cover no-repeat;
}

.cta-card {
    max-width: 820px;
    margin: auto;
    background: #fff;
    border-radius: 34px;
    padding: 55px 35px;
    box-shadow: 0 30px 80px rgba(16,57,47,.16);
}

.cta-card h2 {
    font-family: 'Playfair Display', serif;
    color: var(--green);
    font-size: clamp(32px, 4vw, 50px);
}

.cta-card p {
    color: var(--muted);
    font-size: 17px;
}

.footer {
    background: #071d18;
    color: white;
    padding: 32px 0;
}

.footer a { text-decoration: none; }

.form-page { background: #f5f7fb; }

.form-hero {
    background: linear-gradient(135deg, #0b2b24, #195648);
    color: #fff;
    padding: 52px 0;
}

.form-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    margin: 0;
}

.form-hero p {
    color: rgba(255,255,255,.72);
    margin: 8px 0 0;
}

.registration-card {
    background: #fff;
    border: 0;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
}

.form-section-title {
    font-weight: 800;
    color: var(--green);
    border-left: 5px solid var(--gold);
    padding-left: 10px;
    margin-bottom: 18px;
}

.required:after {
    content: " *";
    color: #dc3545;
}

.small-note {
    font-size: 13px;
    color: #6c757d;
}

.captcha-box {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 20px;
    background: #f7f2e7;
    border: 1px solid rgba(216,181,109,.35);
    border-radius: 18px;
    padding: 18px;
    align-items: center;
}

.captcha-question {
    display: inline-block;
    font-weight: 900;
    letter-spacing: 1px;
    background: #fff;
    border: 2px dashed #d8b56d;
    padding: 12px 18px;
    border-radius: 12px;
    color: #10392f;
    font-size: 20px;
}

@media (max-width: 991px) {
    .hero-points { grid-template-columns: 1fr; }
    .floor-strip {
        flex-direction: column;
        align-items: flex-start;
    }
    .floating-card.one { left: 10px; }
    .floating-card.two { right: 10px; }
}

@media (max-width: 576px) {
    .section-padding { padding: 70px 0; }
    .enquiry-card { padding: 24px; }
    .amenity-grid { grid-template-columns: 1fr; }
    .captcha-box { grid-template-columns: 1fr; }
    .registration-card { padding: 20px; }
}

/* =========================================================
   RESPONSIVE FIX PACK
   ========================================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    overflow-x: hidden;
}

/* Fixed navbar should not merge with hero content */
.ss-navbar {
    z-index: 1050;
    min-height: 76px;
    transition: background-color .25s ease, box-shadow .25s ease;
}

.ss-navbar .container {
    gap: 12px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    min-width: 0;
    white-space: nowrap;
    font-size: clamp(16px, 2vw, 21px);
}

.brand-icon {
    flex: 0 0 auto;
}

.navbar-toggler {
    border-color: rgba(255,255,255,.35);
    padding: 7px 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 .18rem rgba(216,181,109,.35);
}

/* fixed-top navbar height spacing */
.hero-section {
    padding-top: 86px;
}

.hero-section .row.min-vh-100 {
    min-height: calc(100vh - 86px) !important;
}

.hero-section::after {
    pointer-events: none;
}

/* laptop/tablet */
@media (max-width: 1199.98px) {
    .hero-section .display-3 {
        font-size: clamp(42px, 6vw, 62px);
    }

    .hero-section .lead {
        font-size: 1.08rem;
    }

    .enquiry-card {
        padding: 28px;
    }

    .hero-points {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* tablet/mobile collapsed nav */
@media (max-width: 991.98px) {
    .ss-navbar {
        background: rgba(7, 29, 24, .98) !important;
        min-height: 70px;
        padding: 10px 0;
        box-shadow: 0 12px 28px rgba(0,0,0,.18);
    }

    .navbar-collapse {
        margin-top: 12px;
        padding: 14px;
        background: rgba(7, 29, 24, .98);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 16px;
        box-shadow: 0 16px 40px rgba(0,0,0,.28);
        max-height: calc(100vh - 88px);
        overflow-y: auto;
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .navbar-nav .nav-link {
        padding: 11px 12px;
        border-radius: 10px;
        margin: 2px 0;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(255,255,255,.08);
    }

    .navbar-nav .btn {
        display: block;
        width: 100%;
        margin-top: 8px;
        padding: 12px 16px;
        text-align: center;
    }

    .hero-section {
        padding-top: 78px;
    }

    .hero-section .row.min-vh-100 {
        min-height: auto !important;
        padding-top: 40px !important;
        padding-bottom: 70px !important;
    }

    .hero-section::after {
        height: 180px;
        bottom: -120px;
    }

    .hero-points {
        grid-template-columns: 1fr;
    }

    .enquiry-card {
        margin-bottom: 20px;
    }

    .section-padding {
        padding: 72px 0;
    }

    .image-stack {
        min-height: 420px;
    }

    .main-building-card {
        min-height: 390px;
    }

    .floating-card.one {
        left: 14px;
    }

    .floating-card.two {
        right: 14px;
    }
}

/* mobile */
@media (max-width: 575.98px) {
    html {
        scroll-padding-top: 82px;
    }

    .ss-navbar {
        min-height: 66px;
    }

    .navbar-brand {
        font-size: 15px;
        max-width: calc(100vw - 92px);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-icon {
        width: 34px;
        height: 34px;
        margin-right: 7px;
    }

    .hero-section {
        padding-top: 70px;
        text-align: left;
    }

    .hero-section .row.min-vh-100 {
        padding-top: 26px !important;
        padding-bottom: 54px !important;
    }

    .badge-soft {
        font-size: 12px;
        padding: 8px 12px;
    }

    .hero-section .display-3 {
        font-size: clamp(38px, 12vw, 52px);
        line-height: 1.02;
    }

    .hero-section .lead {
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-section .btn-lg,
    .cta-card .btn-lg {
        width: 100%;
        padding: 13px 18px !important;
        font-size: 1rem;
    }

    .hero-points {
        margin-top: 28px !important;
    }

    .hero-points div {
        padding: 15px;
    }

    .enquiry-card {
        padding: 22px;
        border-radius: 22px;
    }

    .mini-list div {
        align-items: flex-start;
        font-size: 14px;
    }

    .section-title {
        font-size: clamp(30px, 9vw, 40px);
    }

    .section-text {
        font-size: 15px;
        line-height: 1.7;
    }

    .image-stack {
        min-height: auto;
    }

    .main-building-card {
        min-height: 300px;
        border-radius: 24px;
    }

    .building-content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .building-content h3 {
        font-size: 30px;
    }

    .floating-card {
        position: relative;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        margin-top: 14px;
        width: 100%;
    }

    .floor-strip {
        padding: 22px;
        border-radius: 22px;
    }

    .floor-tags {
        width: 100%;
    }

    .floor-tags span {
        width: 100%;
        text-align: center;
    }

    .amenity-grid {
        grid-template-columns: 1fr;
    }

    .amenity-item {
        min-height: 86px;
        padding: 20px;
    }

    .cta-section {
        padding: 62px 0;
    }

    .cta-card {
        padding: 34px 20px;
        border-radius: 24px;
    }

    .form-hero {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .form-hero h1 {
        font-size: 36px;
    }

    .registration-card {
        padding: 18px;
        border-radius: 18px;
    }

    .captcha-box {
        grid-template-columns: 1fr;
    }
}

/* very small phones */
@media (max-width: 380px) {
    .navbar-brand {
        font-size: 13px;
    }

    .brand-icon {
        width: 30px;
        height: 30px;
    }

    .hero-section .display-3 {
        font-size: 35px;
    }
}

/* short-height laptops */
@media (min-width: 992px) and (max-height: 760px) {
    .hero-section .row.min-vh-100 {
        min-height: auto !important;
        padding-top: 60px !important;
        padding-bottom: 80px !important;
    }

    .hero-points {
        margin-top: 28px !important;
    }
}

/* =========================================================
   FINAL HERO LAYOUT CORRECTION
   ========================================================= */

/* Navbar should remain fixed but not cover hero content */
.ss-navbar {
    z-index: 1080;
    min-height: 78px;
    padding: 14px 0;
    background: rgba(7, 45, 37, .96) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.16);
}

/* Give full top breathing space to hero because navbar is fixed */
.hero-section {
    min-height: auto;
    padding-top: 118px !important;
    padding-bottom: 80px;
}

/* Do not let bootstrap min-vh-100 push content behind bottom shape */
.hero-section .row.min-vh-100 {
    min-height: calc(100vh - 118px) !important;
    padding-top: 30px !important;
    padding-bottom: 110px !important;
    align-items: center !important;
}

/* Keep text and cards above overlay/slant */
.hero-section .container,
.hero-section .row,
.hero-section .col-lg-7,
.hero-section .col-lg-5,
.hero-points,
.enquiry-card {
    position: relative;
    z-index: 3;
}

/* Reduce over-large title slightly on laptop/desktop */
.hero-section .display-3 {
    font-size: clamp(58px, 5.2vw, 96px);
    line-height: 1.02;
}

/* Control text width so it does not collide visually */
.hero-section .lead {
    max-width: 820px;
    line-height: 1.55;
}

/* Keep right card inside screen and below navbar */
.enquiry-card {
    max-width: 560px;
    margin-left: auto;
    margin-top: 24px;
    margin-bottom: 40px;
    padding: 34px;
}

/* Make step list compact enough for laptop height */
.mini-list {
    gap: 12px;
}

.mini-list div {
    padding: 13px 15px;
}

/* Prevent bottom white slant from covering feature cards */
.hero-points {
    margin-bottom: 38px;
}

.hero-section::after {
    height: 230px;
    bottom: -150px;
    z-index: 1;
}

/* Large laptop and normal desktop */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .hero-section {
        padding-top: 110px !important;
    }

    .hero-section .row.min-vh-100 {
        min-height: auto !important;
        padding-top: 28px !important;
        padding-bottom: 120px !important;
    }

    .hero-section .display-3 {
        font-size: clamp(54px, 5vw, 82px);
    }

    .hero-section .lead {
        font-size: 1.22rem;
    }

    .enquiry-card {
        max-width: 520px;
        padding: 30px;
        margin-top: 20px;
    }

    .hero-points {
        margin-top: 42px !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Short height laptop screens */
@media (min-width: 992px) and (max-height: 820px) {
    .hero-section {
        padding-top: 104px !important;
        padding-bottom: 60px;
    }

    .hero-section .row.min-vh-100 {
        min-height: auto !important;
        padding-top: 20px !important;
        padding-bottom: 135px !important;
    }

    .hero-section .display-3 {
        font-size: clamp(50px, 4.8vw, 76px);
        margin-bottom: 18px !important;
    }

    .hero-section .lead {
        font-size: 1.12rem;
        line-height: 1.5;
        margin-bottom: 24px !important;
    }

    .enquiry-card {
        padding: 26px;
        margin-top: 10px;
    }

    .enquiry-card h4 {
        font-size: 1.55rem;
    }

    .enquiry-card p {
        margin-bottom: 18px !important;
    }

    .mini-list div {
        padding: 11px 13px;
    }

    .hero-points {
        margin-top: 34px !important;
        margin-bottom: 48px;
    }

    .hero-points div {
        padding: 16px;
    }
}

/* Tablet/mobile menu and hero */
@media (max-width: 991.98px) {
    .ss-navbar {
        min-height: 70px;
        padding: 10px 0;
    }

    .navbar-collapse {
        margin-top: 12px;
        padding: 14px;
        background: rgba(7, 45, 37, .98);
        border-radius: 16px;
        max-height: calc(100vh - 88px);
        overflow-y: auto;
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .navbar-nav .btn {
        width: 100%;
        margin-top: 8px;
        text-align: center;
    }

    .hero-section {
        padding-top: 92px !important;
        padding-bottom: 45px;
    }

    .hero-section .row.min-vh-100 {
        min-height: auto !important;
        padding-top: 30px !important;
        padding-bottom: 70px !important;
    }

    .hero-section .display-3 {
        font-size: clamp(42px, 9vw, 66px);
    }

    .hero-points {
        grid-template-columns: 1fr !important;
        margin-bottom: 22px;
    }

    .enquiry-card {
        max-width: 100%;
        margin-top: 20px;
        margin-left: 0;
        margin-bottom: 20px;
    }

    .hero-section::after {
        height: 150px;
        bottom: -105px;
    }
}