body {
    background-color: #f5f5f5;
}

html[lang="ar"],
html[dir="rtl"] {
    direction: rtl;
}

html[lang="ar"] .en,
html[dir="rtl"] .en {
    display: none;
}

html[lang="en"] .ar,
html[dir="ltr"] .ar {
    display: none;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1280px;
    margin: 2rem auto;
}

.shurfa-container {
    display: flex;
    gap: 20px;
    width: 100%;
    align-items: center;
    padding-right: 0;
    padding-left: 0;
    margin-left: 0;
}

.main-image-container {
    position: relative;
    width: 735px;
    height: 468px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

/* Hide mobile slider controls by default (desktop) */
.main-image-container .mobile-image-slider {
    display: none;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.favorite-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background-color: white;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 16px 32px -4px rgba(38, 38, 38, 0.1),
        0px 2px 4px 0px rgba(38, 38, 38, 0.04);
    transition: all 0.3s ease;
    padding: 10px;
}

.favorite-btn:hover {
    transform: scale(1.05);
    box-shadow: 0px 20px 40px -4px rgba(38, 38, 38, 0.15),
        0px 4px 8px 0px rgba(38, 38, 38, 0.06);
}

.favorite-btn.active {
    background-color: #ff4444;
    border-color: #ff4444;
}

.heart-icon {
    width: 28px;
    height: 28px;
    color: #262626;
    transition: color 0.3s ease;
}

.favorite-btn.active .heart-icon {
    color: white;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 19px;
    width: 525px;
    flex-shrink: 0;
}

.gallery-item {
    height: 224px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item:nth-child(1) {
    flex: 1 0 0;
    min-width: 234px;
}

.gallery-item:nth-child(2) {
    width: 252px;
    flex-shrink: 0;
}

.gallery-item:nth-child(3) {
    width: 253px;
    flex-shrink: 0;
}

.gallery-item:nth-child(4) {
    width: 253px;
    flex-shrink: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.view-all .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.view-all:hover .overlay {
    background-color: rgba(0, 0, 0, 0.8);
}

.view-all-text {
    font-size: 24px;
    font-weight: 300;
    line-height: 33px;
    color: white;
    white-space: nowrap;
    text-align: center;
}

@media (max-width: 1280px) {
    .shurfa-container {
        flex-direction: column;
        align-items: stretch;
    }

    .main-image-container,
    .gallery-grid {
        width: 100%;
        max-width: 735px;
    }

    .gallery-grid {
        max-width: 100%;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        width: calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .main-image-container {
        height: 300px;
    }

    .gallery-item {
        height: 180px;
    }

    .view-all-text {
        font-size: 20px;
        line-height: 28px;
    }
}

@media (max-width: 480px) {
    .shurfa-container {
        gap: 10px;
    }

    .page-wrapper {
        gap: 0;
    }

    /* Hide desktop gallery grid on mobile */
    .gallery-grid {
        display: none;
    }

    /* Main image container becomes a slider */
    .main-image-container {
        height: 250px;
        width: 100%;
        border-radius: 0;
    }

    /* Mobile image slider controls */
    .main-image-container .mobile-image-slider {
        position: absolute;
        top: 6.5rem;
        left: 12px;
        right: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        z-index: 2;
    }

    .main-image-container .mobile-slider-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #FFFFFFE5;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        margin-bottom: 60%;
    }

    .main-image-container .mobile-slider-btn:active {
        transform: scale(0.95);
    }

    .main-image-container .mobile-slider-btn svg {
        width: 20px;
        height: 20px;
        color: #737373;
    }

    .main-image-container .mobile-slider-dots {
        display: flex;
        gap: 6px;
        align-items: center;
        padding: 8px;
        border-radius: var(--Radius-Circle, 999px);
        background: #FFF;
        backdrop-filter: blur(4px);
    }

    .main-image-container .mobile-slider-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #B3B3B3;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .main-image-container .mobile-slider-dot.active {
        background: #737373;
        width: 14px;
        height: 8px;
        aspect-ratio: 7 / 4;
        border-radius: 12px;
    }

    .main-image-container .project-favorite-btn {
        right: 16px;
        left: auto;
    } 

    html[lang="en"] .main-image-container .project-favorite-btn {
        left: 16px;
        right: auto;
    }

    .view-all-text {
        font-size: 18px;
        line-height: 24px;
    }
}

.details-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
}

.property-details {
    background: white;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 70%;
}

.sidebar-wrapper {
    flex: 0 0 calc(30% - 20px);
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-self: stretch;
    width: 30%;
}

.property-sidebar {
    background: white;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.property-title-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.property-category {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: #737373;
    text-transform: uppercase;
    font-weight: 400;
}

.property-category .separator {
    font-weight: 100;
}

.property-name {
    font-size: 36px;
    font-weight: 700;
    color: #171717;
    line-height: 36px;
    margin: 0;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 300;
    color: #171717;
}

.location-icon {
    width: 26px;
    height: 26px;
    color: #171717;
}

.property-badges {
    display: flex;
    gap: 8px;
    align-items: center;
}

.badge {
    background-color: transparent;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 300;
    color: var(--primary, #005A70);
    white-space: nowrap;
    border-radius: var(--Radius-XS, 8px);
    background: rgba(0, 90, 112, 0.10);
}

.property-description {
    color: #454545;
    text-align: right;
    font-family: Tajawal;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 35px;
    /* 145.833% */
    letter-spacing: 0.24px;
}

html[lang="en"] .property-description {
    text-align: left;
}

.divider {
    border: none;
    background-color: transparent;
    border-top: 1px solid #E5E5E5;
    margin: 0;
    opacity: 1;
}

.section-title {
    font-size: 28px;
    font-weight: 500;
    color: #171717;
    margin: 0 0 5px 0;
}

.specifications-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.specs-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.specs-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 26px 34px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 100px;
}

.spec-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-icon {
    width: 24px;
    height: 24px;
    color: #005A70;
    flex-shrink: 0;
}

.spec-value {
    font-size: 22px;
    font-weight: 100;
    color: #171717;
    letter-spacing: 0.5px;
}

.spec-label {
    font-size: 18px;
    font-weight: 100;
    color: #171717;
    line-height: 26px;
}

.spec-divider {
    width: 1px;
    height: 39px;
    background: #e5e5e5;
    flex-shrink: 0;
}


.positioning-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.positioning-container {
    display: flex;
    flex-direction: column;
}

.positioning-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 26px 36px;
}

.positioning-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.positioning-label {
    font-family: 'Myriad Pro', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    color: #737373;
    margin: 0;
}

.positioning-value {
    font-family: 'Myriad Pro', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    color: #171717;
    margin: 0;
}

.positioning-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 39px;
    flex-shrink: 0;
}

.positioning-divider img {
    transform: rotate(90deg);
    width: 39px;
    height: auto;
}

.features-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 100;
    color: #171717;
    margin: 0;
}

.feature-subtitle .bullet {
    font-size: 24px;
    color: #171717;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 10px 16px;
    background: #f7f7f7;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 100;
    color: #171717;
    white-space: nowrap;
}

.feature-tag-icon {
    width: 18px;
    height: 18px;
    color: #171717;
    flex-shrink: 0;
}

.landmarks-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.landmarks-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.landmark-tag {
    background: #f7f7f7;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 100;
    color: #171717;
    text-align: center;
    white-space: nowrap;
}

.guarantees-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.warranty-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.warranty-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
    font-weight: 100;
    color: #171717;
}

.medal-icon {
    width: 24px;
    height: 24px;
    color: #171717;
    flex-shrink: 0;
}

.certificate-list {
    display: flex;
    gap: 30px;
    margin-top: 15px;
}

.certificate-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 224px;
}

.certificate-badge {
    width: 50px;
    height: 50px;
}

.badge-icon {
    width: 50px;
    height: 50px;
}

.certificate-text {
    font-size: 20px;
    font-weight: 100;
    color: #171717;
    margin: 0;
    line-height: normal;
}

.ownership-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ownership-details {
    display: flex;
    gap: 40px;
}

.ownership-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ownership-item {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ownership-label {
    font-size: 20px;
    font-weight: 100;
    color: #737373;
    margin: 0;
    line-height: normal;
}

.ownership-value {
    font-size: 20px;
    font-weight: 100;
    color: #171717;
    margin: 0;
    line-height: normal;
}

.ownership-divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 0;
}

.map-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-container {
    position: relative;
    width: 100%;
    height: 438px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 16px;
}

.map-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: none;
}

.map-overlay {
    position: absolute;
    transform: translate(-50%, -100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 208px;
    pointer-events: none;
}

.property-marker-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    filter: drop-shadow(0px 24px 48px rgba(38, 38, 38, 0.12)) drop-shadow(0px 2px 4px rgba(38, 38, 38, 0.04));
}

.marker-content {
    background: white;
    border-radius: 10px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: -13px;
    z-index: 2;
}

.marker-image {
    width: 100%;
    aspect-ratio: 2.58;
    object-fit: cover;
    border-radius: 8px;
}

.marker-info {
    display: flex;
    flex-direction: column;
    margin-top: 6px;
    width: 100%;
}

.marker-title {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #28285D;
    margin: 5px 0;
}

.marker-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #737373;
    line-height: 1;
}

.marker-location-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    color: #737373;
}

.marker-location-text {
    flex: 1;
}

.map-marker {
    position: relative;
    z-index: 1;
}

/* Map Marker Container */
.map-marker-container {
    position: absolute;
    left: 35%;
    top: 15%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

/* Property Card */
.map-property-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: -29px;
    z-index: 2;
    filter: drop-shadow(0px 24px 48px rgba(38, 38, 38, 0.12)) drop-shadow(0px 2px 4px rgba(38, 38, 38, 0.04));
}

.map-card-content {
    background: white;
    border-radius: 10px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: -13px;
    z-index: 2;
}

.map-card-image {
    width: 178px;
    height: 76px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.map-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-card-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 166px;
}

.map-card-title {
    font-family: 'Myriad Pro', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: #171717;
    margin: 0;
}

.map-card-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Myriad Pro', sans-serif;
    font-size: 12px;
    line-height: 14px;
    color: #737373;
}

.map-location-icon {
    flex-shrink: 0;
}

/* Marker Pointer */
.map-marker-pointer {
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 4px;
    transform: rotate(45deg);
    margin-bottom: -13px;
    z-index: 1;
}

/* Map Pin */
.map-marker-pin {
    width: 85px;
    height: 85px;
    margin-bottom: -29px;
    z-index: 1;
}

.map-marker-pin img {
    width: 100%;
    height: 100%;
}

/* Map Controls */
.map-controls {
    background: white;
    border-radius: 12px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    width: 40px;
    position: relative;
    z-index: 3;
    box-shadow: 0px 24px 48px rgba(38, 38, 38, 0.12), 0px 2px 4px rgba(38, 38, 38, 0.04);
}

.map-control-btn {
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity 0.2s ease;
}

.map-control-btn:hover {
    opacity: 0.7;
}

.map-control-btn svg {
    width: 28px;
    height: 28px;
}

.map-control-divider {
    width: 27px;
    height: 1px;
    background: #e5e5e5;
}

.phases-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phases-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.phases-scroll-container::-webkit-scrollbar {
    display: none;
}

.phase-card {
    position: relative;
    height: 290px;
    border-radius: 32px;
    overflow: hidden;
    cursor: pointer;
    transition: width 0.4s ease, border-radius 0.4s ease;
    flex-shrink: 0;
}

.phase-card.expanded {
    width: 346px;
    border-radius: 24px;
}

.phase-card.collapsed {
    width: 62px;
}

.phase-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(68, 68, 68, 0) 0%, var(--primary, #005A70) 97.69%);
    pointer-events: none;
}

.phase-badges {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.phase-badge {
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 400;
    color: var(--primary, #005A70);
    line-height: 16px;
    border-radius: var(--Radius-S, 10px);
    background: var(--Shorfa-Subtle, #E6EFF1);
}

.phase-info {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 2;
    color: white;
}

.phase-card.collapsed .phase-info {
    display: none;
}

.phase-info-collapsed {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.phase-card.expanded .phase-info-collapsed {
    display: none;
}

.phase-label {
    font-size: 20px;
    font-weight: 100;
    color: #e5e5e5;
    display: block;
    margin-bottom: 4px;
    line-height: normal;
}

.phase-title {
    font-size: 24px;
    font-weight: 300;
    color: white;
    margin: 0 0 4px 0;
    line-height: normal;
}

.phase-dates {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 100;
    color: #e5e5e5;
    line-height: normal;
}

.date-separator {
    margin: 0 2px;
}

.phase-label-vertical {
    font-size: 20px;
    font-weight: 100;
    color: #e5e5e5;
    white-space: nowrap;
    transform: rotate(-90deg);
    display: inline-block;
    padding: 20px;
}

.phase-card.collapsed .phase-badges {
    display: none;
}

.price-section {
    display: flex;
    flex-direction: column;
}

.price-display {
    display: flex;
    align-items: center;
    gap: 6px;
}

.currency-symbol {
    font-size: 28px;
    color: #171717;
}

.price-amount {
    font-size: 36px;
    font-weight: 300;
    color: #171717;
    line-height: 44px;
}

.sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin-bottom: 30px;
}

.section-header.collapsible:hover {
    opacity: 0.8;
}

.sidebar-title {
    font-size: 24px;
    font-weight: 300;
    color: #171717;
    margin: 0;
}

.collapse-icon {
    width: 24px;
    height: 24px;
    color: #171717;
    transition: transform 0.3s ease;
}

.section-header.collapsed .collapse-icon {
    transform: rotate(-180deg);
}

.interest-form,
.visit-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.section-header.collapsed+form {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 1024px) {
    .specs-row {
        gap: 20px 24px;
    }
}

@media (max-width: 768px) {
    .property-details {
        padding: 20px;
    }

    .property-name {
        font-size: 28px;
        line-height: 32px;
    }

    .property-category,
    .property-location {
        font-size: 18px;
    }

    .property-description {
        font-size: 20px;
        line-height: 30px;
    }

    .ownership-details {
        flex-direction: column;
        gap: 20px;
    }

    .phase-main {
        width: 400px;
    }

    .feature-subtitle {
        font-size: 20px;
    }

    .feature-tag {
        font-size: 18px;
        padding: 8px 14px;
    }

    .certificate-list {
        flex-direction: column;
        gap: 20px;
    }

    .certificate-item {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .property-details {
        padding: 16px;
        gap: 20px;
    }

    .property-name {
        font-size: 24px;
        line-height: 28px;
    }

    .property-category,
    .badge {
        font-size: 16px;
    }

    .property-location {
        font-size: 16px;
    }

    .property-description {
        font-size: 18px;
        line-height: 26px;
    }

    .section-title {
        font-size: 22px;
    }

    .phase-main {
        width: 300px;
        height: 200px;
    }

    .phase-vertical {
        width: 50px;
        height: 200px;
    }

    .phases-scroll-container {
        gap: 12px;
        padding: 0 4px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .phase-card {
        height: 240px;
    }

    .phase-card.expanded {
        width: 100%;
        min-width: 280px;
        max-width: 300px;
    }

    .phase-card.collapsed {
        width: 50px;
    }

    .map-container {
        height: 250px;
    }

    .details-wrapper {
        flex-direction: column;
    }

    .property-details,
    .property-sidebar {
        flex: 1 1 100%;
        width: 100%;
    }

    .property-sidebar {
        position: static;
        display: none;
    }

    /* Specifications section mobile styles */
    .spec-item {
        min-width: 70px;
    }

    .specs-row {
        gap: 20px 16px;
    }

    .spec-header svg {
        width: 20px !important;
        height: 20px !important;
    }

    .spec-value {
        font-size: 18px;
        font-weight: 500;
    }

    .spec-label {
        font-size: 14px;
      font-weight: 400;
    }

    /* features */
    .feature-tag div {
        width: 18px !important;
        width: 18px !important;
    }

    .feature-tag {
        font-size: 14px;
        font-weight: 400;
        padding: 7px 11px;
        border-radius: 99px;
        align-items: flex-start;
    }

    /* Landmark section mobile styles */
    .landmarks-tags {
        flex-direction: column;
        gap: 0px;
        align-items: flex-start;
    }

    .landmark-tag {
        background: transparent;
        font-size: 14px;
        font-weight: 400;
        display: flex;
        align-items: center;
        gap: 8px;
        position: relative;
        padding: 6px 0px;
    }

    .landmark-tag::before {
        content: '';
        width: 8px;
        height: 8px;
        background: #22C55E;
        border-radius: 50%;
        flex-shrink: 0;
    }

    /* Guarantees Section */
    .certificate-list {
        gap: 0;
    }

    .certificate-item {
        display: flex;
        flex-direction: row;
        text-align: center;
        gap: 0;
    }

    .badge-icon {
        width: 30px;
        height: 30px;
    }

    .warranty-item div {
        width: 18px !important;
        height: 18px !important;
    }

    .warranty-item {
        align-items: flex-start;
        font-size: 14px;
        font-weight: 400;
    }
    
    /* Phase Badge */
    .phase-badge {
        font-size: 14px;
        font-weight: 400;
    }

    .phase-label {
        font-size: 16px;
        font-weight: 400;
    }

    .phase-title {
        font-size: 16px;
        font-weight: 500;
    }

    .phase-dates {
        font-size: 14px;
        font-weight: 400;
    }
}

.price-section {
    display: flex;
    flex-direction: column;
}

.price-display {
    display: flex;
    align-items: center;
    gap: 6px;
}

.currency-symbol {
    font-size: 28px;
    color: #171717;
}

.price-amount {
    font-size: 36px;
    font-weight: 300;
    color: #171717;
    line-height: 44px;
}

.sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.section-header.collapsible:hover {
    opacity: 0.8;
}

.sidebar-title {
    font-size: 24px;
    font-weight: 300;
    color: #171717;
    margin: 0;
}

.collapse-icon {
    width: 24px;
    height: 24px;
    color: #171717;
    transition: transform 0.3s ease;
}

.section-header.collapsed .collapse-icon {
    transform: rotate(-180deg);
}

.interest-form,
.visit-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.section-header.collapsed+form {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-label {
    font-size: 20px;
    font-weight: 100;
    color: #171717;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    height: 54px;
    padding: 10px 18px;
    background: #f7f7f7;
    border: none;
    border-radius: 12px;
    font-family: 'DG Heaven', sans-serif;
    font-size: 18px;
    font-weight: 100;
    color: #171717;
    outline: none;
    transition: background 0.3s ease;
}

.form-input::placeholder {
    color: #737373;
}

html[lang="en"] .form-input::placeholder {
    text-align: left;
}

.form-input:focus {
    background: #efefef;
}

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.form-row .form-group {
    flex: 1;
    min-width: 0;
}

/* New booking input wrapper with icon */
.booking-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f7f7f7;
    border-radius: 12px;
    padding: 12px 14px;
    min-height: 60px;
}

.booking-input-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.booking-input-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.booking-input-label {
    font-size: 14px;
    font-weight: 400;
    color: #171717;
    line-height: 1;
}

.booking-input-value {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 16px;
    font-weight: 300;
    color: #737373;
    padding: 0;
    line-height: 1.2;
}

.booking-input-value::placeholder {
    color: #737373;
}

/* Old date/time picker styles (keep for compatibility) */
.date-picker,
.time-picker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7f7f7;
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.date-picker:hover,
.time-picker:hover {
    background: #efefef;
}

.picker-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.picker-label {
    font-size: 20px;
    font-weight: 100;
    color: #171717;
}

.picker-value {
    font-size: 20px;
    font-weight: 100;
    color: #737373;
}

.picker-icon {
    width: 24px;
    height: 24px;
    color: #171717;
    flex-shrink: 0;
}

.visit-type-options {
    display: flex;
    gap: 20px;
}

.visit-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    background: #f7f7f7;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    font-weight: 100;
    color: #171717;
}

.visit-option:hover {
    background: #efefef;
}

.visit-option.active {
    background: rgba(67, 97, 100, 0.16);
    border-color: var(--primary, #005A70);
}

.visit-icon {
    width: 44px;
    height: 44px;
    color: #171717;
}

.visit-label {
    font-size: 18px;
    font-weight: 400;
    color: #171717;
    text-align: center;
}

.btn-primary {
    width: 100%;
    height: 54px;
    background: var(--primary, #005A70);
    border: none;
    border-radius: 12px;
    font-family: 'DG Heaven', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary.btn-loading,
.btn-primary:disabled {
    background: var(--primary, #005A70);
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-primary:hover {
    background: var(--primary, #005A70);
    transform: translateY(-1px);
    box-shadow: 0px 4px 12px rgba(67, 97, 100, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.attachments-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: white;
    border-radius: 12px;
    padding: 20px;
}

.attachments-section .section-title {
    font-size: 20px;
    margin: 0;
}

.attachments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.attachment-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.2s ease;
    flex-direction: row-reverse;
}

.attachment-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.attachment-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f0f8fa;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.attachment-download-btn:hover {
    background: #e0f2f5;
}

.attachment-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.attachment-name {
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #262626;
    line-height: 1.4;
}

.attachment-size {
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #737373;
}

.attachment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.file-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-family: 'Tajawal', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.pdf-badge {
    background: #fee2e2;
    color: #dc2626;
}

.xls-badge,
.xlsx-badge {
    background: #d1fae5;
    color: #059669;
}

.share-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: white;
    border-radius: 12px;
    padding: 20px;
}

.share-section .section-title {
    font-size: 20px;
    margin: 0;
}

.share-icons {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.share-icon-btn {
    width: 48px;
    height: 49px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.share-icon-btn svg {
    color: #171717;
    width: 20px;
    height: 20px;
}

.share-icon-btn:hover {
    background: #f7f7f7;
}

.share-icon-btn:active {
    transform: scale(0.95);
}

.btn-secondary {
    width: 100%;
    padding: 16px 24px;
    background: transparent;
    border: 2px solid var(--primary, #005A70);
    border-radius: 99px;
    font-size: 20px;
    font-weight: 300;
    color: var(--primary, #005A70);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary, #005A70);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0px 4px 12px rgba(8, 28, 66, 0.3);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Buildings Section */
.buildings-section {
    margin-top: 40px;
}

.building-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.building-group {
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
}

/* Mobile elements - hidden by default on desktop */
.building-mobile-header,
.building-mobile-units {
    display: none;
}

.building-table {
    display: flex;
    width: 100%;
}


.building-column {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.building-column.building-name-column {
    flex: 0 0 190px;
}

.building-column.action-column {
    flex: 0 0 75px;
}

.building-header {
    background: var(--primary, #005a70);
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: white;
    font-size: 22px;
    font-family: 'Myriad Pro', sans-serif;
}

.building-name-column .building-header {
    border-top-left-radius: 16px;
    justify-content: flex-start;
}

html[lang="ar"] .building-name-column .building-header,
html[dir="rtl"] .building-name-column .building-header {
    border-top-left-radius: 0;
    border-top-right-radius: 16px;
}

.action-column .building-header {
    border-top-right-radius: 16px;
}

html[lang="ar"] .action-column .building-header,
html[dir="rtl"] .action-column .building-header {
    border-top-right-radius: 0;
    border-top-left-radius: 16px;
}

.building-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 100%;
    height: 100%;
}

.building-toggle-header {
    cursor: pointer;
}

.toggle-icon {
    transition: transform 0.3s ease;
    color: white;
}

.building-group.expanded .toggle-icon {
    transform: rotate(0deg);
}

.building-group.collapsed .toggle-icon {
    transform: rotate(180deg);
}

.building-rows {
    display: flex;
    flex-direction: column;
}

.building-group.collapsed .building-rows {
    display: none;
}

.building-cell {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 16px;
    background: white;
    font-size: 14px;
    color: #171717;
    font-family: 'Poppins', sans-serif;
    line-height: 20px;
    letter-spacing: 0.5px;
}

.building-cell.alt {
    background: #f7f7f7;
}

.building-name-column .building-cell {
    gap: 8px;
    padding: 14px 16px;
}

.building-name-column .building-cell:last-child {
    border-bottom-left-radius: 16px;
    border-left: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

html[lang="ar"] .building-name-column .building-cell:last-child,
html[dir="rtl"] .building-name-column .building-cell:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 16px;
    border-left: none;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.action-column .building-cell {
    justify-content: center;
    padding: 14px 16px;
}

.action-column .building-cell:first-child {
    border-right: 1px solid #e5e5e5;
}

.action-column .building-cell:last-child {
    border-bottom-right-radius: 16px;
}

html[lang="ar"] .action-column .building-cell:first-child,
html[dir="rtl"] .action-column .building-cell:first-child {
    border-right: none;
    border-left: 1px solid #e5e5e5;
}

html[lang="ar"] .action-column .building-cell:last-child,
html[dir="rtl"] .action-column .building-cell:last-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 16px;
}

.property-thumbnail {
    width: 66px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.property-name-small {
    font-size: 14px;
    width: 90px;
    flex-shrink: 0;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

.currency-icon {
    width: 12px;
    height: 13.5px;
    flex-shrink: 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    line-height: 20px;
    letter-spacing: 0.5px;
    height: 24px;
}

.status-badge.for-sale {
    background: #dff6f2;
    color: #3dc9b0;
}

.status-badge.rented {
    background: #e6e0ff;
    color: #8e51ff;
}

.status-badge.sold {
    background: #ffebeb;
    color: #fb2c36;
}

.status-badge.for-rent {
    background: #fff2e0;
    color: #ff8904;
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #171717;
    transition: transform 0.2s ease;
}

.view-btn:hover {
    transform: scale(1.1);
}

.building-group.collapsed .building-header {
    border-bottom: 1px solid #e5e5e5;
}

.building-group.collapsed .building-name-column .building-header {
    border-bottom-left-radius: 16px;
}

html[lang="ar"] .building-group.collapsed .building-name-column .building-header,
html[dir="rtl"] .building-group.collapsed .building-name-column .building-header {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 16px;
}

.building-group.collapsed .action-column .building-header {
    border-bottom-right-radius: 16px;
}

html[lang="ar"] .building-group.collapsed .action-column .building-header,
html[dir="rtl"] .building-group.collapsed .action-column .building-header {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 16px;
}

/* Bottom Sections (Attachments & Share) */
.bottom-sections {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: auto;
}

.bottom-sections .divider {
    display: none;
}

@media (max-width: 1024px) {
    .sidebar-wrapper {
        flex: 1 1 100%;
        width: 100%;
    }

    .bottom-sections {
        max-width: 100%;
    }

    .details-wrapper {
        flex-direction: column;
    }

    .property-details,
    .property-sidebar {
        flex: 1 1 100%;
        width: 100%;
    }

    .property-sidebar {
        position: static;
    }

    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .price-amount {
        font-size: 28px;
    }

    .sidebar-title {
        font-size: 20px;
    }

    .form-label,
    .picker-label,
    .picker-value {
        font-size: 18px;
    }

    .visit-type-options {
        flex-direction: column;
    }
}

/* Related Projects Section */
.related-projects-section {
    width: 100%;
    background-color: white;
    border-radius: 20px;
    padding: 24px;
    margin-top: 40px;
}

.related-projects-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.related-projects-header .section-title {
    font-size: 30px;
    font-family: 'Myriad Pro', sans-serif;
    color: #171717;
    line-height: 36px;
    margin: 0;
}

.related-projects-navigation {
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background-color: #f7f7f7;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px;
}

.nav-btn:hover:not(.disabled) {
    background-color: #e5e5e5;
    transform: scale(1.05);
}

.nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-btn svg {
    color: #171717;
    width: 28px;
    height: 28px;
}

html[lang="ar"] .nav-btn svg,
html[dir="rtl"] .nav-btn svg {
    transform: scaleX(-1);
}

.related-projects-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 2px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.related-projects-container::-webkit-scrollbar {
    display: none;
}

.related-project-card {
    flex-shrink: 0;
    width: 418px;
    background-color: #f7f7f7;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.project-image-container {
    position: relative;
    width: 100%;
    height: 293px;
    border-radius: 14px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

.project-status-badges {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

html[lang="en"] .project-status-badges {
    left: 16px;
    right: auto;
}

.project-status-badge {
    background-color: #defce8;
    color: #005a70;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 18px;
    font-family: 'Myriad Pro', sans-serif;
    line-height: 20px;
    white-space: nowrap;
    height: 38px;
    display: flex;
    align-items: center;
    width: fit-content;
}

.project-favorite-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background-color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    padding: 10px;
}

html[lang="en"] .project-favorite-btn {
    right: 16px;
    left: auto;
}

.project-favorite-btn:hover {
    transform: scale(1.1);
}

.project-favorite-btn svg {
    color: #ff6b6b;
    width: 28px;
    height: 28px;
}

.project-image-slider {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.slider-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--Overlay-50-Inverse, rgba(255, 255, 255, 0.40));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.slider-btn:hover {
    transform: scale(1.05);
}

.slider-btn svg {
    color: #171717;
    width: 24px;
    height: 24px;
}

html[lang="ar"] .slider-btn svg,
html[dir="rtl"] .slider-btn svg {
    transform: scaleX(-1);
}

.slider-dots {
    display: flex;
    gap: 6px;
    flex: 1;
    padding: 10px 15px;
    max-width: fit-content;
    justify-content: center;
    background: var(--Overlay-50-Inverse, rgba(255, 255, 255, 0.40));
    border-radius: var(--Radius-Circle, 999px);
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.slider-dot.active {
    background-color: white;
    width: 24px;
    border-radius: 4px;
}

.project-title-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    margin-top: 16px;
}

.project-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.3s ease;
}

.project-title-link:hover {
    opacity: 0.7;
}

.project-title {
    font-size: 20px;
    font-weight: 600;
    font-family: 'Myriad Pro', sans-serif;
    color: #171717;
    line-height: 24px;
    margin: 0;
}

.project-type-badge {
    background-color: #e6e8ec;
    color: #081c42;
    padding: 8px;
    border-radius: 10px;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 16px;
    flex-shrink: 0;
}

.project-location {
    font-size: 18px;
    font-family: 'Myriad Pro', sans-serif;
    color: #171717;
    line-height: normal;
    padding: 0 6px;
}

.project-details-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 6px;
    flex: 1;
}

.project-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
}

.project-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-stat-item .stat-icon {
    width: 24px;
    height: 24px;
    color: #171717;
    flex-shrink: 0;
}

.project-stat-item span {
    font-size: 15px;
    font-family: 'Myriad Pro', sans-serif;
    color: #171717;
    line-height: normal;
}

.project-stat-item strong {
    font-weight: 600;
}

.project-divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: auto 0 0 0;
}

.project-price-container {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
}

.project-price {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.project-price .currency-symbol {
    font-size: 22px;
    color: #171717;
}

.project-price .currency-icon {
    width: 24px;
    height: 27px;
    color: #171717;
    flex-shrink: 0;
}

.price-range {
    font-size: 24px;
    font-weight: 600;
    font-family: 'Myriad Pro', sans-serif;
    color: #171717;
    letter-spacing: 0.24px;
    line-height: normal;
    white-space: nowrap;
}

.btn-register-interest {
    background-color: var(--primary, #005a70);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px 24px;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Myriad Pro', sans-serif;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-register-interest:hover {
    background-color: var(--primary, #005A70);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 90, 112, 0.3);
    color: #fff;
}

.btn-register-interest:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .related-projects-section {
        padding: 20px;
    }

    .related-projects-header .section-title {
        font-size: 24px;
    }

    .related-project-card {
        width: 300px;
        gap: 1px;
    }

    .project-title {
        font-size: 18px;
        font-weight: 500;
    }

    .project-type-badge {
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 99px;
    }

    .project-location {
        font-size: 16px;
        font-weight: 400;
    }

    .project-stat-item span {
        font-size: 14px;
        font-weight: 500;
    }

    .price-range {
        font-size: 15px;
        font-weight: 600;
    }

    .project-price-container {
        flex-direction: row;
        align-items: stretch;
        gap: 12px;
    }

    .project-price {
        justify-content: flex-start;
    }

    .btn-register-interest {
        font-size: 14px;
        padding: 0px 14px;
        width: 45%;
        font-weight: 500;
        height: 38px;
    }

    html[lang="en"] .btn-register-interest {
        font-size: 12px;
    }
}


/* Modal Overlay */
.tic-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 99999999999999;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);

}

.tic-modal-overlay.active {
    display: flex;
}

/* Close Button */
.tic-modal-close {
    position: absolute;
    top: 10px;
    left: 10%;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    z-index: 10001;
}

/* Content Layout */
.tic-modal-content {
    position: relative;
    width: 90%;
    max-width: 1250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Main Image */
.tic-modal-main-view {
    width: 100%;
    height: 68vh;
    border-radius: 20px;
    overflow: hidden;
}

.tic-modal-main-view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.522);
}

/* Navigation Buttons */
.tic-modal-nav {
    position: absolute;
    bottom: 0;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tic-prev {
    left: 18%;
}

.tic-next {
    right: 18%;
}

/* Thumbnails Strip */
.tic-modal-thumbnails-container {
    background: white;
    padding: 10px;
    border-radius: 20px;
    width: 100%;
    max-width: 650px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tic-modal-thumbnails-container::-webkit-scrollbar {
    display: none;
}

.tic-modal-thumbnails-wrapper {
    display: flex;
    gap: 10px;
    width: fit-content;
}

.tic-modal-thumb {
    width: 120px;
    height: 80px;
    border-radius: 12px;
    cursor: pointer;
    object-fit: cover;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    flex-shrink: 0;
}

.tic-modal-thumb.active {
    opacity: 1;
    border-color: #007bff;
    /* Blue border like the design */
}

.mobile-action-buttons {
    display: none;
}

/* Responsive Modal */
@media (max-width: 1300px) {
    .tic-prev {
        left: 10px;
    }

    .tic-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .tic-modal-main-view {
        height: 40vh;
    }

    .tic-modal-thumb {
        width: 80px;
        height: 60px;
    }

    .map-overlay {
        transform: translate(-50%, -100%);
        width: 180px;
    }

    .property-marker-card {
        width: 100%;
    }

    .marker-title {
        font-size: 14px;
    }

    .marker-location {
        font-size: 11px;
    }
}

.shurfa-interest-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    overflow-y: auto;
}

.shurfa-interest-modal.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.5);
}

.shurfa-interest-modal .shurfa-modal-box {
    width: 400px;
    max-width: 95%;
    background: white;
    border-radius: 20px;
    padding: 0;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.shurfa-interest-modal.active .shurfa-modal-box {
    transform: scale(1);
}

.shurfa-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px;
    gap: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.shurfa-modal-box.rtl .shurfa-modal-header {
    flex-direction: row-reverse;
}

.shurfa-interest-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    flex: 1;
}

.shurfa-modal-box.rtl .shurfa-interest-title {
    text-align: right;
}

.shurfa-modal-box.ltr .shurfa-interest-title {
    text-align: left;
}

.shurfa-close-btn {
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
}

.shurfa-close-btn:hover {
    background: #e0e0e0;
    color: #333;
}

.shurfa-modal-content {
    padding: 24px;
}

.shurfa-form-group {
    margin-bottom: 20px;
}

.shurfa-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.shurfa-modal-box.rtl .shurfa-label {
    text-align: right;
}

.shurfa-modal-box.ltr .shurfa-label {
    text-align: left;
}

.shurfa-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.shurfa-input:focus {
    outline: none;
    border-color: #005A70;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 90, 112, 0.1);
}

.shurfa-input.rtl {
    text-align: right;
    direction: rtl;
}

.shurfa-input.ltr {
    text-align: left;
    direction: ltr;
}

.shurfa-input.rtl::placeholder {
    text-align: right;
}

.shurfa-input.ltr::placeholder {
    text-align: left;
}

.shurfa-error {
    display: block;
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
}

.shurfa-modal-box.rtl .shurfa-error {
    text-align: right;
}

.shurfa-modal-box.ltr .shurfa-error {
    text-align: left;
}

.shurfa-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--primary, #005A70);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.shurfa-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 90, 112, 0.3);
}

.shurfa-submit-btn:active {
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .shurfa-interest-modal .shurfa-modal-box {
        width: 95%;
        padding: 0;
    }

    .shurfa-modal-header {
        padding: 20px 20px 12px;
    }

    .shurfa-interest-title {
        font-size: 18px;
    }

    .shurfa-modal-content {
        padding: 20px;
    }
}

/* Buildings Section Mobile Styles */
@media (max-width: 480px) {
    /* Hide desktop table on mobile */
    .building-table {
        display: none !important;
    }

    /* Show mobile elements */
    .building-mobile-header,
    .building-mobile-units {
        display: block;
    }

    /* Mobile Header */
    .building-mobile-header {
        background: var(--primary, #005a70);
        padding: 16px 20px;
        border-radius: 16px 16px 0 0;
        color: white;
    }

    .building-mobile-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 18px;
        font-weight: 500;
    }

    .building-mobile-title > span {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .building-toggle-mobile {
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
    }

    .building-toggle-mobile .toggle-icon {
        transition: transform 0.3s ease;
        color: white;
    }

    .building-group.expanded .building-toggle-mobile .toggle-icon {
        transform: rotate(0deg);
    }

    .building-group.collapsed .building-toggle-mobile .toggle-icon {
        transform: rotate(180deg);
    }

    .building-unit-count {
        font-size: 12px;
        font-weight: 500;
        opacity: 0.9;
        padding: 4px 8px;
        border-radius: 8px;
        background: rgba(230, 239, 241, 0.20);
    }

    /* Mobile Units List */
    .building-mobile-units {
        background: white;
        border-radius: 0 0 16px 16px;
        overflow: hidden;
    }

    .building-group.collapsed .building-mobile-units {
        display: none;
    }

    /* Mobile Unit Card */
    .mobile-unit-card {
        display: flex;
        align-items: start;
        gap: 12px;
        padding: 5px 16px 0;
        background: white;
        border-bottom: 1px solid #f0f0f0;
        text-decoration: none;
        color: inherit;
        transition: background 0.2s ease;
    }

    .mobile-unit-card:last-child {
        border-bottom: none;
    }

    .mobile-unit-card:active {
        background: #f9f9f9;
    }

    /* Mobile Unit Image */
    .mobile-unit-image {
        width: 56px;
        height: 56px;
        border-radius: 6px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .mobile-unit-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Mobile Unit Details */
    .mobile-unit-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .mobile-unit-name {
        font-size: 16px;
        font-weight: 500;
        color: #171717;
        line-height: 1.2;
    }

    .mobile-unit-info {
        font-size: 16px;
        color: #7E7E7E;
        line-height: 1.3;
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
    }

    .mobile-unit-info .separator {
        color: #d4d4d4;
    }

    .mobile-unit-price {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 16px;
        font-weight: 400;
        color: #171717;
        margin-top: 2px;
    }

    .mobile-unit-price .currency-icon {
        width: 12px;
        height: 13.5px;
    }

    /* Mobile Unit Status */
    .mobile-unit-status {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .mobile-unit-status .status-badge {
        font-size: 12px;
        padding: 6px 10px;
        white-space: nowrap;
    }

    /* Hide desktop forms on mobile */
    .sidebar-section {
        display: none !important;
    }

    /* Mobile Fixed Bottom Action Buttons */
    .mobile-action-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 12px 16px;
        display: flex;
        gap: 12px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    /* Hide mobile action buttons on desktop */
    @media (min-width: 769px) {
        .mobile-action-buttons {
            display: none;
        }
    }

    .mobile-action-btn {
        flex: 1;
        padding: 10px;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 700;
        font-family: 'Tajawal', sans-serif;
        border: none;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-action-btn.primary {
        background: #005A70;
        color: white;
    }

    .mobile-action-btn.secondary {
        background: white;
        color: #171717;
        border: 1px solid #D4D4D4;
    }

    .mobile-action-btn-wrapper {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .mobile-btn-disabled-message {
        font-size: 11px;
        color: #DC2626;
        font-family: 'Tajawal', sans-serif;
        text-align: center;
        padding: 0 8px;
        line-height: 1.3;
    }

    .mobile-action-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        pointer-events: none;
    }

    .mobile-action-btn:active:not(:disabled) {
        transform: scale(0.98);
    }

    .project-stat-item .stat-icon {
        width: 18px;
        height: 18px;
    }

    .project-image-container {
        height: 170px;
    }

    .project-favorite-btn {
        width: 30px;
        height: 30px;
        padding: 6px;
    }

    .project-status-badge {
        font-size: 12px;
        height: 25px;
        padding: 0px 14px;
        border-radius: 99px;
    }

    .attachments-section {
        background: none;
    }
}

/* Booking Modal Styles */
.shurfa-booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.shurfa-booking-modal.active {
    display: flex;
}

.shurfa-booking-modal-box {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.shurfa-booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.shurfa-booking-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #000;
    margin: 0;
}

.shurfa-booking-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

.shurfa-booking-modal-content {
    padding: 18px;
}

.shurfa-booking-form-group {
    margin-bottom: 14px;
}

.shurfa-booking-label {
    display: block;
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #262626;
    margin-bottom: 6px;
}

.shurfa-booking-input {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    background: #f7f7f7;
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    color: #262626;
    outline: none;
    transition: border-color 0.2s;
}

.shurfa-booking-input:focus {
    border-color: #005a70;
}

.shurfa-booking-input.rtl {
    text-align: right;
    direction: rtl;
}

.shurfa-visit-type-container {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.shurfa-visit-option {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.shurfa-visit-option:hover {
    border-color: #145570;
}

.shurfa-visit-option.active {
    border-color: #145570;
    background: #f0f8fa;
}

.shurfa-visit-option .visit-icon {
    width: 30px;
    height: 30px;
    opacity: 0.6;
}

.shurfa-visit-option.active .visit-icon {
    opacity: 1;
}

.shurfa-visit-option span {
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #262626;
}

.shurfa-booking-submit-btn {
    width: 100%;
    padding: 12px 24px;
    background: #005a70;
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.2s;
}

.shurfa-booking-submit-btn:hover {
    background: #004a5c;
}

.shurfa-booking-cancel-btn {
    width: 100%;
    padding: 12px 24px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.2s;
}

.shurfa-booking-cancel-btn:hover {
    background: #c82333;
}

.shurfa-booking-cancel-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.shurfa-booking-status {
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-align: center;
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid;
}

.shurfa-booking-status.pending {
    background: rgba(242, 153, 74, 0.1);
    color: #F2994A;
    border-color: #F2994A;
}

.shurfa-booking-status.approved {
    background: rgba(76, 199, 123, 0.1);
    color: #4CC77B;
    border-color: #4CC77B;
}

.shurfa-booking-status.rejected {
    background: rgba(230, 0, 0, 0.1);
    color: #E60000;
    border-color: #E60000;
}

.shurfa-booking-error {
    display: block;
    color: #dc3545;
    font-size: 14px;
    margin-top: 4px;
    font-family: 'Tajawal', sans-serif;
}

/* Modal Calendar Wrapper */
.modal-calendar-wrapper {
    margin-bottom: 16px;
    overflow: hidden;
}

.modal-date-input {
    display: none;
}

/* Modal Flatpickr Customization */
.modal-calendar-wrapper .flatpickr-calendar {
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
}

.modal-calendar-wrapper .flatpickr-calendar.inline {
    max-width: 100%;
    width: 100% !important;
}

.modal-calendar-wrapper .flatpickr-innerContainer {
    overflow: hidden;
}

.modal-calendar-wrapper .flatpickr-rContainer {
    overflow: hidden;
}

.modal-calendar-wrapper .flatpickr-days {
    overflow: hidden;
    width: 100% !important;
}

.modal-calendar-wrapper .dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

.modal-calendar-wrapper .flatpickr-months {
    padding: 10px 0;
}

.modal-calendar-wrapper .flatpickr-current-month {
    font-family: 'Tajawal', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #262626;
}

.modal-calendar-wrapper .flatpickr-weekdays {
    margin-top: 10px;
}

.modal-calendar-wrapper .flatpickr-weekday {
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #b2b9c4;
}

.modal-calendar-wrapper .flatpickr-day {
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #262626;
    border-radius: 50%;
    max-width: none;
    height: 40px;
    line-height: 40px;
}

.modal-calendar-wrapper .flatpickr-day:hover:not(.flatpickr-disabled) {
    background: #f3f3f3;
    border-color: #f3f3f3;
}

.modal-calendar-wrapper .flatpickr-day.selected {
    background: #145570 !important;
    border-color: #145570 !important;
    color: white !important;
}

.modal-calendar-wrapper .flatpickr-day.today {
    border: 2px solid #145570;
    background: transparent;
}

.modal-calendar-wrapper .flatpickr-day.today:hover {
    background: #f3f3f3;
}

.modal-calendar-wrapper .flatpickr-day.flatpickr-disabled {
    color: #e6e8ec;
}

.modal-calendar-wrapper .flatpickr-day.prevMonthDay,
.modal-calendar-wrapper .flatpickr-day.nextMonthDay {
    color: #e6e8ec;
}

.modal-calendar-wrapper .flatpickr-prev-month,
.modal-calendar-wrapper .flatpickr-next-month {
    fill: #262626 !important;
}

.modal-calendar-wrapper .flatpickr-prev-month:hover svg,
.modal-calendar-wrapper .flatpickr-next-month:hover svg {
    fill: #145570 !important;
}

/* Modal Time Picker - Figma Design */
.modal-time-slots-wrapper {
    margin-bottom: 16px;
}

.time-picker-container {
    background: #f7f7f7;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 8px 24px;
    margin: 12px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: fit-content;
    flex-direction: row-reverse;
}

.time-select-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    flex-direction: row-reverse;
}

.time-column-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    min-width: 50px;
}

.time-column-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    cursor: pointer;
}

.time-column-group.active .time-value-current {
    color: #262626;
    font-weight: 500;
}

.time-value-prev,
.time-value-next {
    font-family: 'Tajawal', sans-serif;
    font-size: 18px;
    font-weight: 400;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 25.93%, rgba(69, 69, 69, 0.4) 125.93%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    min-height: 24px;
}

.time-value-next {
    background: linear-gradient(180deg, rgba(69, 69, 69, 0.4) 12.96%, rgba(255, 255, 255, 0.4) 75.93%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.time-value-current {
    font-family: 'Tajawal', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #262626;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 24px;
}

.time-separator {
    font-family: 'Tajawal', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #454545;
    padding: 0 8px;
    align-self: center;
}

.period-column {
    margin-left: 16px;
}

.modal-no-slots {
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    color: #737373;
    text-align: center;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 8px;
    margin-top: 8px;
}

/* RTL Support for Modal */
.rtl .modal-calendar-wrapper .flatpickr-calendar {
    direction: rtl;
}