@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Libre+Baskerville:wght@400;700&family=Space+Mono:wght@400;700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* GLOBAL SHARP CORNER OVERRIDE - Exempt icons and cta widgets */
button:not(.cta-button):not(.tab-btn),
.btn:not(.cta-button),
.btn-primary:not(.cta-button),
.submit-btn,
.tab-btn,
.counter-card,
.advantage-item,
.project-image-wrap,
.lightbox-img {
    border-radius: 0 !important;
    text-align: center !important;
}

.amenity-icon,
.resource-icon,
.cta-button {
    border-radius: 50% !important;
}

:root {
    --brand: #C9A961;
    --font-header: 'Playfair Display', serif;
    --font-body: 'Source Sans 3', sans-serif;
}

p {
    text-align: justify;
}

body,
p,
label,
input,
select,
textarea {
    font-family: var(--font-body);
    color: #2d2d2d;
    overflow-x: hidden;
    line-height: 1.8;
    font-weight: 400;
    font-size: 16px;
}

body {
    padding-top: 0;
}

/* NAVBAR */
/* HERO SECTION */
.hero-section {
    position: relative;
    height: calc(100vh - 85px);
    margin-top: 85px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-size: 100% 100% !important;
    background-position: top center !important;
    background-repeat: no-repeat;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-section {
        height: auto !important;
        aspect-ratio: 3 / 4 !important;
        /* Image Metrics: 390x520 */
        min-height: auto !important;
        margin-top: 76px !important;
        background-image: var(--mobile-bg) !important;
        background-size: cover !important;
        background-position: center !important;
        width: 100% !important;
        background-color: transparent !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .hero-content {
        padding: 20px 20px 0 20px !important;
        /* 20px space from top of banner */
        z-index: 2;
    }

    @media (max-width: 480px) {
        .hero-section {
            margin-top: 60px !important;
        }
    }
}

.hero-content h1 {
    font-family: var(--font-header);
    font-size: 5rem;
    font-weight: 500;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-transform: none;
}

.iconic-subtitle {
    display: block;
    font-family: var(--font-header);
    font-size: 13px;
    font-weight: 500;
    color: var(--brand);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-align: center;
}

.section-title-global {
    font-family: var(--font-header) !important;
    font-size: 42px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    color: var(--brand) !important;
    letter-spacing: 2px !important;
    line-height: 1.2 !important;
    margin-bottom: 0 !important;
    position: relative !important;
    display: block !important;
    text-align: center !important;
    width: 100% !important;
}


@media (max-width: 768px) {
    body {
        padding-top: 0 !important;
    }

    .hero-section {
        height: auto !important;
        aspect-ratio: 3 / 4 !important;
        margin-top: 60px !important;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 4px;
        margin-bottom: 10px;
        text-align: center !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .section-title-global,
    .iconic-header,
    .iconic-subtitle,
    .form-title {
        text-align: center !important;
    }

    .submit-btn {
        width: auto !important;
        align-self: flex-start;
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    .btn-left-align {
        margin-left: 0 !important;
        margin-right: auto !important;
        display: block !important;
        text-align: center !important;
    }

    .hero-info-bar {
        position: relative;
        height: auto;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 !important;
        background: #fff;
        gap: 0 !important;
        margin-top: 0;
        border-top: 1px solid #eee;
        z-index: 10;
        clear: both;
    }

    .info-item {
        padding: 20px 10px !important;
        border: 0.5px solid #f0f0f0 !important;
        background: #fff;
        text-align: center;
        width: auto !important;
        margin: 0 !important;
    }

    .info-item:nth-child(1),
    .info-item:nth-child(2),
    .info-item:nth-child(3),
    .info-item:nth-child(4) {
        grid-column: auto !important;
    }

    .info-item:nth-child(5) {
        grid-column: span 2 !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }

    /* Force Project Card Content Left Align */
    .project-info h3,
    .project-info p,
    .project-info .project-meta,
    .project-footer-card h3,
    .project-footer-card p,
    .project-footer-card .project-meta {
        text-align: left !important;
        justify-content: flex-start !important;
    }
}

.hero-content p {
    font-size: 1rem;
    letter-spacing: 6px;
    font-weight: 300;
}

.hero-info-bar {
    position: relative;
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    min-height: 120px;
    background: #fff;
    padding: 20px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 10;
    border-bottom: 1px solid #eee;
    clear: both;
}




.info-item h4 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #333;
    margin-bottom: 8px;
}

.info-item p {
    font-size: 0.75rem;
    color: #555;
    font-weight: 400;
}

/* SECTIONS */
section {
    padding: 40px 0;
    position: relative;
    overflow: visible;
    min-height: 60vh;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* EXEMPT HERO FROM HORIZONTAL PADDING */
.hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* SECTION HEADER - HOME STYLE */
.iconic-header {
    text-align: center;

    width: 90%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
}

.iconic-subtitle {
    display: block;
    font-family: var(--font-header, 'Playfair Display', serif);
    font-size: 13px;
    font-weight: 600;
    color: var(--brand);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-align: center;
}

.section-title-global {
    font-family: var(--font-header);
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 500;
    text-transform: none;
    color: var(--brand);
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 0;
    position: relative;
    display: block;
    text-align: center;
    width: 100%;
}

/* SECTION HEADER ROW - Original Styles Restored */
.section-header-row {
    position: relative;
    margin-bottom: 50px;
    min-height: 100px;
    overflow: hidden;
}

/* Hiding legacy header elements GLOBALLY for all project pages */
.section-header-row,
.section-number,
.section-bg-title {
    display: none !important;
}

.section-number {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: #888;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
    padding-bottom: 20px;
}

/* SINGLE BACKGROUND TITLE - MORE VISIBLE */
.section-bg-title {
    font-family: var(--font-header, 'Playfair Display', serif);
    font-size: 120px;
    font-weight: 400;
    letter-spacing: 6px;
    color: rgba(45, 45, 45, 0.12);
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
    position: absolute;
    top: -25px;
    right: 0;
    transform: translateX(100%);
    z-index: 1;
    pointer-events: none;
    will-change: transform;
}

/* HIDE SECOND TITLE */
.section-bg-title-right {
    display: none;
}

/* OVERVIEW SECTION - UPDATED */
.overview-section {
    background: #fff;
    /* Removed padding-top legacy, using global section padding */
}

.section-divider {
    border: none;
    border-top: 1px solid #eee;
    width: 90%;
    margin: 0 auto;
}


.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    width: 90% !important;
    max-width: 1600px !important;
    padding: 0 !important;
    /* Padding handled by parent section */
    margin: 0 auto !important;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}


.overview-image {
    width: 100%;
    max-width: 450px;
    position: relative;
    border-radius: 0;
}

.overview-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    display: block;
    border-radius: 0;
}

/* Responsive adjustment */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }

    .overview-image {
        width: 100%;
        height: auto;
        margin: 0;
    }
}

.overview-content {
    position: relative;
    z-index: 10;


}

.overview-content h2 {
    font-family: var(--font-header);
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--brand);
    /* Updated to brand color as requested */
    font-weight: 500;
    line-height: 1.2;
}

.overview-content p {
    font-size: 0.9rem;
    line-height: 1.9;
    color: #666;

    /* From test.css */
    margin-bottom: 18px;
    /* text-align: justify; removed */
}

.overview-section,
.amenities-section,
.resources-section,
.projects-listing-section {
    background: #fff;
}

.benefits-section,
.gallery-section,
.location-section {
    background: #f9f9f9;
    /* Standardized Grey */
}

.pj-benefits-grid,
.pj-gallery-grid,
.standard-row-grid,
.overview-grid,
.amenities-grid,
.resources-grid,
.location-grid,
.project-footer-grid {
    width: 90% !important;
    max-width: 1600px !important;
    margin: 40px auto 0 !important;
    display: grid !important;
}

.explore-grid,
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 30px auto 0;
    width: 100% !important;
    max-width: 1600px !important;
}

@media (max-width: 1024px) {

    .pj-benefits-grid,
    .pj-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .explore-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {

    .pj-benefits-grid,
    .pj-gallery-grid,
    .pj-benefits-grid,
    .pj-gallery-grid,
    .standard-row-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 30px !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Force all benefit cards to be visible */
    .pj-benefit-card {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .pj-benefit-card img,
    .pj-gallery-item img {
        aspect-ratio: 3 / 3;
    }

    .explore-grid,
    .projects-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .pj-image-wrap {
        height: 240px;
        /* Reduced size */
    }
}

.project-card-item {
    text-decoration: none;
    display: block;
    background: #fff;
    padding: 5px;
    border: 1px solid #eee;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    text-align: left;
}

.project-card-item:hover {
    border-color: var(--brand);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-10px);
}

.pj-benefit-card,
.pj-gallery-item {
    position: relative;
    width: 100%;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 0 !important;
    overflow: hidden;
    display: block;
}

.pj-benefit-card h3 {
    position: absolute;
    z-index: 99999;
    bottom: 10%;
    left: 5%;
}

.pj-benefit-card:hover,
.pj-gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--brand);
}

/* NEW STANDARDIZED CLASSES */
.standard-row-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    margin: 30px auto 0 !important;
    width: 90% !important;
    max-width: 1600px !important;
}


.standard-row-img {
    width: 100% !important;
    /* Project Overview Laptop 500x600 -> 5/6 */
    aspect-ratio: 5 / 6;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    transition: transform 0.7s ease !important;
}

@media (max-width: 1024px) {
    .standard-row-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        width: 100% !important;
        gap: 25px !important;
    }
}

@media (max-width: 768px) {
    .standard-row-grid {
        display: flex !important;
        flex-direction: column !important;
        /* Single column on mobile - consistent with gallery */
        width: 100% !important;
        gap: 20px !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .standard-row-img {
        height: 240px !important;
    }

    /* Force all grid items to be visible on mobile */
    .pj-benefit-card,
    .pj-gallery-item,
    .amenity-card,
    .benefit-card {
        opacity: 1 !important;
        transform: translateZ(0) !important;
        /* Hardware accel & reset */
        visibility: visible !important;
        display: block !important;
        position: relative !important;
        height: auto !important;
        margin-bottom: 20px !important;
        width: 100% !important;
    }

    .pj-benefit-card img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

.pj-benefit-card img,
.pj-gallery-item img {
    width: 100% !important;
    /* Unified "Box" landscape aspect ratio */
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.7s ease !important;
}

@media (max-width: 768px) {

    .pj-benefit-card img,
    .pj-gallery-item img {
        /* Benefits & Gallery Mobile */
        aspect-ratio: 4 / 3 !important;
    }
}

/* EXPLORE SECTION - BOUTIQUE SCALE */
.pj-image-wrap {
    position: relative;
    width: 100%;
    /* Perfect 2:3 ratio for 2668x4000 renders */
    aspect-ratio: 2 / 3;
    height: auto !important;
    overflow: hidden;
    background: #fff;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 !important;
}

.pj-image-wrap img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    /* Clean fitting without white gaps or empty space */
    transition: transform 0.8s ease;
}

.project-info {
    padding: 20px;
    text-align: left;
}

.project-card-item:hover img {
    transform: scale(1.08);
}

/* Benefit and Gallery hover handled by parent translate */
.pj-benefit-card:hover img,
.pj-gallery-item:hover img {
    transform: none;
}

@media (max-width: 768px) {
    .pj-image-wrap {
        aspect-ratio: 2 / 3;
        height: auto !important;
    }

    .overview-image {
        aspect-ratio: 3 / 2;
        width: 100% !important;
        margin-bottom: 20px;
    }

    .overview-image img {
        height: 100%;
        object-fit: cover !important;
    }

    .overview-content p {
        width: 100% !important;
        left: 0px;
    }

    .overview-content {
        width: 100% !important;
        left: 0px;
    }
}

/* Standardized grid behavior handled above */

.project-card-item {
    text-decoration: none;
    display: block;
    /* Removed aspect-ratio from parent so text remains visible below */
}

/* Hover effects removed from benefit and gallery as requested */
.pj-benefit-card:hover img,
.pj-gallery-item:hover img {
    transform: none;
}

.project-card-item:hover img {
    transform: scale(1.08);
}

.benefit-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 60px 20px 20px;
    color: #fff;
    z-index: 2;
}

.benefit-caption h3 {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

/* AMENITIES SECTION */
.amenities-section {
    background: #fff;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 15px;
    width: 90% !important;
    max-width: 1600px !important;
    margin: 40px auto 0;
    position: relative;
    z-index: 10;
}


.amenity-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 15px;
    transition: all 0.3s ease;
}



/* HIDDEN AMENITIES - ACCORDION STYLE */
.amenity-card.hidden-amenity {
    display: none;
    opacity: 0;
}

.amenity-card.hidden-amenity.show {
    display: flex;
    animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.amenity-icon {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    border: 1.2px solid var(--brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: all 0.3s;
}


.amenity-card:hover .amenity-icon {
    background: var(--brand);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.3);
}

.amenity-card:hover .amenity-icon img {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}

.amenity-icon i {
    font-size: 24px;
    color: var(--brand);
    transition: all 0.3s ease;
}

.amenity-icon img {
    width: 26px;
    /* Slightly larger */
    height: 26px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.amenity-card:hover .amenity-icon i {
    color: #fff;
    transform: scale(1.1);
}

.amenity-card h3 {
    font-size: 0.75rem;
    font-weight: 400;
    color: #555;
    line-height: 1.3;
}

/* SHOW ALL BUTTON - ALIGNED LEFT */
.show-all {
    margin-top: 50px;
    position: relative;
    z-index: 10;
    text-align: left;
}

.show-all a {
    color: var(--brand);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.show-all a:hover {
    color: #b39560;
}

.show-all a i {
    font-size: 12px;
    transition: transform 0.3s;
}

.show-all a i.rotate {
    transform: rotate(180deg);
}

/* MOBILE RESPONSIVE - AMENITIES GRID 2x2x1 */
@media (max-width: 768px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px 15px !important;
    }

    /* Last item spans full width if odd number */
    .amenities-grid .amenity-card:last-child:nth-child(odd) {
        grid-column: span 2;
        justify-content: center;
        text-align: center;
    }

    /* Center align all amenity cards on mobile */
    .amenity-card {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .amenity-card h3 {
        text-align: center;
    }
}

/* RESOURCES SECTION */
.resources-section {
    background: #f9f9f9;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 90% !important;
    max-width: 1600px !important;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
    margin-top: 40px;
    position: relative;
    z-index: 10;
}


.resource-card {
    background: #fff;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s;
}

.resource-card:hover {
    transform: translateX(3px);
}

.resource-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.resource-icon {
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    flex-shrink: 0;
}

.resource-icon i {
    font-size: 18px;
    color: var(--brand);
}

.resource-info h3 {
    font-size: 0.85rem;
    font-weight: 400;
    color: #555;
}

.resource-link {
    color: var(--brand);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.resource-link:hover i {
    font-size: 9px;
    transition: transform 0.3s;
}

@media (max-width: 480px) {
    .resources-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
        width: 100%;
        gap: 15px;
    }

    .resource-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
    }

    .resource-link {
        width: 100%;
        justify-content: flex-start;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }
}

.resource-link:hover i {
    transform: translateX(4px);




}

.resource-info {
    margin-bottom: 10px;
}

/* LOCATION SECTION - REDESIGNED MAP & ACCORDION */
.location-section {
    background: #fff;
    padding: 100px 0;
}

.location-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin: 50px auto 0;
    width: 90% !important;
    max-width: 1600px !important;
    align-items: stretch;
    position: relative;
    z-index: 10;
}


.location-map-wrap {
    height: 500px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.location-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ACCORDION STYLES */
.location-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

/* Simple Map view for pages without grid */
.location-map {
    margin-top: 40px;
    position: relative;
    z-index: 10;
}

.location-map iframe {
    width: 100%;
    height: 500px;
}

/* Custom Scrollbar for Accordion */
.location-accordion::-webkit-scrollbar {
    width: 6px;
}

.location-accordion::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.location-accordion::-webkit-scrollbar-thumb {
    background: var(--brand);
    border-radius: 10px;
}

.acc-item {
    border: 1px solid #f0f0f0;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.acc-header {
    background: #f1f1f1;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.acc-header h3 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333;
    margin: 0;
}

.acc-icon {
    font-size: 18px;
    color: #333;
    transition: transform 0.3s;
}

.acc-item.active .acc-header {
    background: #e8e8e8;
}

/* Accordion Content Layout */
.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s;
    background: #fff;
    padding: 0 25px;
}

.acc-item.active .acc-body {
    max-height: 2000px;
    /* High limit for mobile content */
    padding: 20px 25px 25px;
    border-top: 1px solid #eee;
}

.advantage-list {
    list-style: none;
    padding: 0;
}

.advantage-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.advantage-item:last-child {
    border-bottom: none;
}

.adv-name {
    font-size: 14px;
    color: #555;
    font-weight: 400;
}

.adv-time {
    font-size: 13px;
    color: #222;
    font-weight: 600;
    white-space: nowrap;
}

.checkbox-group label {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
    display: block;
    /* Ensure label takes space */
    margin-top: -2px;
    /* Slight alignment fix */
}

@media (max-width: 1024px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 90%;
    }

    .location-map-wrap {
        height: 400px;
    }

    .location-accordion {
        height: auto;
    }
}

@media (max-width: 768px) {
    .location-grid {
        width: 100%;
        padding: 0 20px;
    }

    .location-section {
        padding-bottom: 80px;
    }
}

/* PROJECTS SECTION */
.projects-listing-section {
    background: #f9f9f9;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 1400px;
    margin: 40px auto 0;
    position: relative;
    z-index: 10;
}

.project-card-item {
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.project-image-wrap {
    height: 400px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    /* Taller, frame-like look */
}

.project-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.project-card-item:hover .project-image-wrap img {
    transform: scale(1.1);
}

.project-info {
    padding: 30px 25px;
}

.project-info h3 {
    font-family: var(--font-header, 'Playfair Display', serif);
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-weight: 400;
    line-height: 1.3;
}

.project-info p {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 15px;
}

.project-meta span {
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
}


/* CTA BUTTON */
.cta-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--brand);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 0;
    border: none;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1.8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(197, 165, 114, 0.45);
}

/* INLINE OVERVIEW BUTTONS */
.cta-button-inline {
    padding: 14px 30px;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    background: #000;
    color: #fff;
}

.cta-callback {
    background: var(--brand);
    color: #fff;
}

.cta-whatsapp {
    background: #25D366;
    color: #fff;
}

.cta-button-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

/* GALLERY SECTION */
.gallery-section {
    background: #fff;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

.tab-btn {
    background: #f4f4f4;
    border: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
    cursor: pointer;
    padding: 10px 24px;
    border-radius: 4px;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--brand);
    color: #fff;
}

.tab-btn.active::after {
    width: 100%;
}

.gallery-content {
    display: none;
}

.gallery-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Standardized styles moved to global section above */
.gallery-item {
    cursor: pointer;
}

.walkthrough-video-wrapper {
    position: relative;
    width: 100%;
    margin-top: 30px;
}

.walkthrough-video-frame {
    position: relative;
    background: #000;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid #eee;
    margin: 0;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.walkthrough-video-frame video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


.walkthrough-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: #000;
    z-index: 10;
}

.walkthrough-play-btn i {
    font-size: 16px;
    color: var(--brand);
}

.walkthrough-play-btn:hover {
    background: var(--brand);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.05);
}

.walkthrough-play-btn:hover i {
    color: #fff;
}

.walkthrough-expand-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 15;
    border-radius: 4px;
}

.walkthrough-expand-btn:hover {
    background: var(--brand);
    transform: scale(1.1);
}

.walkthrough-video-frame.playing .walkthrough-play-btn {
    opacity: 0;
    pointer-events: none;
}



@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .gallery-item {
        width: 100%;
        height: auto;
        aspect-ratio: 390 / 260;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        width: 100%;
        height: auto;
        aspect-ratio: 390 / 260;
    }

    .gallery-tabs {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .tab-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
        letter-spacing: 8px;
    }

    .hero-info-bar {
        flex-direction: column;
        gap: 12px;
        padding: 18px;
        align-items: flex-start;
    }

    .info-item {
        width: 100%;
        padding: 8px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .info-item:last-child {
        border-bottom: none;
    }

    .section-bg-title {
        font-family: var(--font-header, 'Playfair Display', serif);
        font-size: 40px;
        /* Adjusted size */
        letter-spacing: 2px;
        position: absolute;
        top: 35px;
        /* Positioned below .section-number */
        left: 50%;
        transform: translateX(100%);
        /* Initial off-screen state */
        opacity: 0.18;
        display: block;
        white-space: nowrap;
        will-change: transform;
        color: rgba(45, 45, 45, 0.12);
        z-index: 1;
    }

    .section-header-row {
        min-height: 160px;
        /* Increased to prevent text overlap */
        margin-bottom: 25px;
        overflow: hidden;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .section-number {
        padding-bottom: 0;
        position: relative;
        z-index: 10;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .amenity-card {
        justify-content: flex-start;
    }

    .benefits-grid,
    .gallery-grid,
    .explore-grid,
    .projects-grid,
    .resources-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-social {
        justify-content: center;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .overview-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
}

/* LIGHTBOX MODAL */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    z-index: 10000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10020;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.checkbox-group {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px;
    margin-bottom: 24px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 5px !important;
    flex-shrink: 0;
}

.checkbox-group label,
.checkbox-group .checkbox-description {
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #555;
    display: block;
}

.lightbox-close:hover {
    background: var(--brand);
    transform: rotate(90deg);
    border-color: transparent;
}

.lightbox-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 60px;
}

.lightbox-img {
    max-width: 85%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0 !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    background: transparent;
    transition: opacity 0.4s ease;
    z-index: 10015;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10025;
}

.lightbox-nav i {
    font-size: 0.8rem;
    /* Ultra fine icon */
}

.lightbox-nav:hover {
    background: var(--brand);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.4);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

@media (max-width: 1100px) {
    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next {
        right: 20px;
    }

    .lightbox-nav {
        width: 50px;
        height: 50px;
        background: rgba(0, 0, 0, 0.4);
    }

    .lightbox-img {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 44px;
        height: 44px;
        border-radius: 50% !important;
    }
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

.benefit-card,
.gallery-item {
    cursor: pointer;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px auto 0;
    width: 90%;
    max-width: 1000px;
}



/* NEW PROJECT FOOTER SECTION STYLES */
.project-footer-section {
    background: #fff;
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 66% !important;
    max-width: 1100px !important;
    margin: 40px auto 0;
    align-items: stretch;
}

@media (max-width: 768px) {
    .project-footer-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }
}

.project-footer-card {
    background: #fff;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 1px solid #eee;
    text-align: left;
    height: 75vh;
}

.project-footer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--brand);
}

.project-footer-img-wrap {
    width: 100% !;
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f0f0f0;
}

.project-footer-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: top !important;
    transition: transform 0.8s ease;
}

.project-footer-card:hover .project-footer-img-wrap img {
    transform: scale(1.05);
}

.project-info {
    padding: 15px 20px;
    text-align: left;
    flex-shrink: 0;
}

.project-info h3 {
    color: var(--brand);
    font-family: var(--font-header);
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 500;
}

.project-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #888;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 768px) {
    .project-footer-img-wrap {
        aspect-ratio: 2 / 3;
        height: auto;
    }

    .project-footer-card {
        height: auto;
    }

    .project-footer-section .iconic-header {
        text-align: left !important;
        margin-left: 0 !important;
        width: 100% !important;
        padding: 0 10px !important;
    }

    .project-footer-section .section-title-global {
        text-align: center !important;
        margin-left: 0 !important;
    }

    .project-footer-section .project-info {
        text-align: left !important;
        padding: 20px 15px !important;
    }

    .project-footer-section .project-info h3,
    .project-footer-section .project-info p,
    .project-footer-section .project-meta {
        text-align: left !important;
    }
}

/* Standardize hover for all project amenities */
.amenity-card:hover .amenity-icon img {
    filter: brightness(0) invert(1) !important;
    transform: scale(1.1);
}

/* Ensure consistent hover across all buttons */
.btn-primary:hover {
    background: #b39560 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}