@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

svg.propertyeg-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #f8f9fa;
}
a{
    text-decoration: none;
}

.top-bar {
    background-color: #212529;
    padding: 8px 0;
}

.navbar {
    background-color: white !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 20px;
}

.search-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

/* —— Projects search (banner, hero, search results) —— */
form.projects-search-form {
    display: block;
    width: 100%;
}

.banner-search {
    width: 100%;
    margin-bottom: 1.5rem;
}

.banner-search .search-form {
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.search-container.search-panel {
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 1.15rem 1.25rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(11, 34, 57, 0.08);
    box-shadow: 0 6px 28px rgba(11, 34, 57, 0.08);
}

@media (min-width: 768px) {
    .search-container.search-panel {
        padding: 1.25rem 1.5rem;
    }
}

.search-panel .form-control,
.search-panel .form-select {
    min-height: 48px;
    padding: 0.58rem 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #212529;
    background-color: #f8f9fb;
    border: 1px solid #e2e5ea;
    border-radius: 12px;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-panel .form-control::placeholder {
    color: #868e96;
    opacity: 1;
}

.search-panel .form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23495057' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M2.5 5.5L8 10.5l5.5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 12px 12px;
    background-position: left 0.9rem center;
    padding-inline-start: 1rem;
    padding-inline-end: 2.25rem;
    appearance: none;
}

[dir="rtl"] .search-panel .form-select {
    background-position: left 0.9rem center;
}

[dir="ltr"] .search-panel .form-select {
    background-position: right 0.9rem center;
}

.search-panel .form-control:hover,
.search-panel .form-select:hover {
    background-color: #fff;
    border-color: #c9ced6;
}

.search-panel .form-control:focus,
.search-panel .form-select:focus {
    background-color: #fff;
    border-color: #c59358;
    box-shadow: 0 0 0 3px rgba(197, 147, 88, 0.22);
    outline: 0;
}

.search-panel .project-search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 48px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(180deg, #c99d66 0%, #c59358 45%, #b8834a 100%);
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(197, 147, 88, 0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.search-panel .project-search__submit:hover,
.search-panel .project-search__submit:focus-visible {
    color: #fff;
    background: #a67a45;
    box-shadow: 0 6px 18px rgba(197, 147, 88, 0.42);
    transform: translateY(-1px);
}

.search-panel .project-search__submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(197, 147, 88, 0.3);
}

.search-panel .project-search__submit i {
    font-size: 0.9rem;
    opacity: 0.95;
}

/* Hero: one card only, stay centered and readable */
.hero-section .search-container.search-panel {
    max-width: 920px;
}

/* Banner: full-bleed bar */
@media (min-width: 768px) {
    .search-panel .row > [class*="col-md-"] {
        min-height: 100%;
    }

    .banner-search .search-panel [class*="col-md-2"] {
        display: flex;
    }

    .banner-search .search-panel .project-search__submit {
        align-self: stretch;
    }
}

.logo {
    color: #c59358;
    font-weight: bold;
}

.navbar-nav .nav-link {
    color: #333;
    padding: 0.5rem 1rem;
}

.search-btn {
    min-width: 100px;
}

.top-bar .btn {
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 576px) {
    .top-bar .container {
        justify-content: center;
    }
}

.card {
    background: #fff;
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-img-top {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.location-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    z-index: 1;
}

.payment-info {
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    padding: 8px 16px;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 14px;
}

.project-title {
    padding: 16px;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    min-height: 75px;
}

.contact-buttons {
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

.btn-contact {
    flex: 1;
    border: 1px solid #dee2e6;
    background: white;
    padding: 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-contact:hover {
    background: #f8f9fa;
}

.btn-contact i {
    font-size: 16px;
}

.btn-contact.email i {
    color: #666;
}

.btn-contact.phone i {
    color: #c59358;
}

.btn-contact.whatsapp i {
    color: #25D366;
}

/* Hover effects */
.btn-contact.email:hover {
    border-color: #666;
}

.btn-contact.phone:hover {
    border-color: #c59358;
}

.btn-contact.whatsapp:hover {
    border-color: #25D366;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Dark card only in sidebar; home uses .contact-us-section .contact-form (light) */
.side-form .contact-form,
.side-box .contact-form {
    background: #27293d;
    padding: 30px;
    border-radius: 10px;
    color: white;
}

.form-control {
    background-color: white;
    padding: 4px;
    margin-bottom: 15px;
}

.form-control::placeholder {
    color: #999;
    text-align: right;
}

textarea.form-control {
    min-height: 120px;
}

.submit-btn {
    background-color: #c59358;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #c82333;
}

.help-section {
    text-align: inherit;
    direction: inherit;
    margin-bottom: 30px;
}

.help-section h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.help-section p {
    color: #666;
    margin-bottom: 20px;
}

.btn-whatsapp {
    background-color: white;
    color: #c59358;
    border: 1px solid #c59358;
    padding: 8px 25px;
    border-radius: 5px;
    margin-left: 10px;
    transition: all 0.3s;
    width: 50% !important;
}
/* Home contact strip: icon buttons (markup: .contact-button, not .btn-contact) */
.contact-us-section .contact-btns {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 1.25rem;
    width: 100%;
}

[dir="rtl"] .contact-us-section .contact-btns {
    justify-content: flex-end;
}

.contact-us-section .contact-btns .contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.contact-us-section .contact-button {
    flex: 0 0 auto !important;
    width: 52px !important;
    min-width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 12px;
    border: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.contact-us-section .contact-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.contact-us-section .contact-button.whatsapp {
    background: #25d366;
    color: #fff !important;
}

.contact-us-section .contact-button.phone {
    background: #c59358;
    color: #fff !important;
}

.contact-us-section .contact-button.zoom {
    background: #2d8cff;
    color: #fff !important;
}

.contact-us-section .contact-button i {
    color: inherit !important;
}

.btn-whatsapp:hover {
    background-color: #f8f9fa;

}

.btn-contact:hover {
    background-color: #c82333;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    padding-right: 0.5rem;
    margin-top: 50px;
}

.section-title::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: #c59358;
}

.section-title h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    padding-right: 1rem;
}

.section-title p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
    padding-right: 1rem;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card .card-body {
    padding: 1.25rem;
}

.news-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    min-height: 50px;
    font-weight: 800;
}

.read-more {
    color: #c59358;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #c59358;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.read-more:hover {
    background-color: #c59358;
    color: white;
}


.footer {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.4)),
    url('../images/hero.png') center/cover ,
    url('../images/hero.png') center/cover !important;
    padding: 80px 0;
    position: relative;

}

.cityscape {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 120"><path fill="%23f8f9fa" fill-opacity="0.2" d="M0,64L48,80C96,96,192,128,288,128C384,128,480,96,576,80C672,64,768,64,864,69.3C960,75,1056,85,1152,80C1248,75,1344,53,1392,42.7L1440,32L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') !important;
    height: 120px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    opacity: 0.1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.footer-title {
    color: #c59358;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-right: 15px;
}

.footer-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 100%;
    background-color: #c59358;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #c59358;
}

.contact-info {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #1f2636;
}

.contact-link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    background: linear-gradient(120deg, #fdf7f0 0%, #f9f4ec 100%);
    border: 1px solid #eed9bf;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #c59358;
    color: #1f2636;
}

.contact-link:focus-visible {
    outline: 2px solid #c59358;
    outline-offset: 2px;
}

.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eed9bf;
    color: #c59358;
    flex-shrink: 0;
}

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

.contact-label {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6c757d;
}

.contact-value {
    font-weight: 700;
    color: #1f2636;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.contact-cta {
    font-size: 0.8rem;
    font-weight: 600;
    color: #c59358;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.contact-cta::after {
    content: '>';
    display: inline-block;
    transition: transform 0.2s ease;
}

.contact-link:hover .contact-cta::after {
    transform: translateX(3px);
}

.social-links {
    margin-top: 1rem;
}

.social-links ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.social-links li {
    margin: 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #f8f9fa;
    color: #6c757d;
    margin-left: 0;
    transition: all 0.3s;
    border: 1px solid #dee2e6;
}

.social-links a:hover {
    background-color: #c59358;
    color: white;
    border-color: #c59358;
}

.footer-bottom {
    background-color: #27293d;
    color: white;
    padding: 1rem 0;
}

.footer-bottom a {
    color: #c59358;
    text-decoration: none;
}

.footer-brand {
    margin-top: 1.25rem;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eef1f5;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.footer-logo-link:hover {
    transform: translateY(-2px);
    border-color: #c59358;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.footer-logo-link img {
    max-width: 120px;
    height: auto;
}

.brand-text {
    font-weight: 700;
    color: #1f2636;
    font-size: 0.95rem;
    white-space: nowrap;
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #c59358;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1000;
}

.scroll-top:hover {
    background-color: #c82333;
}


/* Cities buildings Page */
.project-city{
    padding: 60px 0;
}
.header-wrapper {
    background: transparent;
    padding: 20px 0;
    margin-top: 30px;
    margin-bottom: 30px;
}
.breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
    margin-bottom: 15px;
}
.breadcrumb-item {
    font-size: 13px;
    padding: 0;
}
.breadcrumb-item a {
    color: #666;
    text-decoration: none;
    font-size: 14px ;
}
.breadcrumb-arrow {
    color: #c59358;
    font-size: 11px;
    margin-right: 3px;
    font-weight: bold;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "";
    padding: 0;
}
.breadcrumbs{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow-x: auto;
    scrollbar-width: thin;
    -ms-overflow-style: none;
}
.breadcrumbs::-webkit-scrollbar{height:4px;}
.breadcrumbs::-webkit-scrollbar-thumb{
    background: rgba(11,34,57,0.2);
    border-radius: 999px;
}
.breadcrumbs [itemprop="itemListElement"]{
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7380;
}
.breadcrumbs__link{
    color: #1d2f46;
    font-weight: 600;
    text-decoration: none;
    padding: 0;
    border-radius: 0;
    transition: color .2s ease, border-color .2s ease;
    white-space: nowrap;
    background: transparent;
    border: none;
    border-bottom: 1px solid transparent;
}
.breadcrumbs__link:hover{
    color: #0b2239;
    border-color: rgba(11,34,57,0.35);
}
.breadcrumbs [itemprop="itemListElement"]:last-of-type .breadcrumbs__link{
    background: transparent;
    color: #0b2239;
    font-weight: 700;
    cursor: default;
    pointer-events: none;
    border-color: rgba(11,34,57,0.25);
}
.breadcrumbs__separator{
    color: #c59358;
    font-weight: 700;
    opacity: 0.9;
    font-size: 16px;
    display: inline-block;
}
[dir="rtl"] .breadcrumbs__separator{transform: none;}
@media(max-width:767px){
    .breadcrumbs{
        padding: 6px 2px;
        gap: 8px;
        border-radius: 0;
    }
    .breadcrumbs__link{
        font-size: 13px;
    }
}
.main-title {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin: 8px 0 0 0;
}
.project-card {
    border-radius: 8px;
    overflow: visible;
    box-shadow: none;
    background: white;
    margin-bottom: 20px;
}
.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.location-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
}
.project-details {
    padding: 15px;
}
.payment-terms {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.payment-term {
    color: #666;
    font-size: 14px;
}
.project-title {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #333;
}
.contact-buttons {
    display: flex;
    gap: 10px;
}
.contact-button {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    width: 150px !important;
}
.contact-button.email { color: #666; }
.contact-button.phone { color: #c59358; }
.contact-button.zoom { color: #2D8CFF; }

.contact-button.whatsapp { color: #25D366; }

.project-card--modern{
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 30px;
    position: relative;
    isolation: isolate;
}
.project-card__img{
    position: relative;
    /* Above .project-card__content (z-index:1) so the developer logo can overlap the card */
    z-index: 3;
    display: flex;
    justify-content: center;
    text-align: center;
    max-width: 100%;
    /* Must be visible: logo extends past the image with bottom:-22px; overflow:hidden was clipping it */
    overflow: visible;
}
.project-card__img-link{
    display: block;
    max-width: 100%;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    line-height: 0;
}
.project-card__img-el{
    /* fit grid columns — min-width:395px caused overlap in col-md-4 */
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.18);
    margin: 0 auto;
    display: block;
}
/* Project grids: also outside .main-content (e.g. page-projects template) */
.main-content .row > [class*="col-"],
.container .row > [class*="col-"] {
    min-width: 0;
}
.main-content .project-card--modern,
.container .row [class*="col-"] > .project-card--modern {
    max-width: 100%;
}

/* Equal-height cards in a row (works even if whitespace between col and card breaks direct-child selectors) */
.row:has(> [class*="col-"] .project-card--modern) > [class*="col-"] {
    display: flex;
    flex-direction: column;
}
.row:has(> [class*="col-"] .project-card--modern) > [class*="col-"] .project-card--modern {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
}
.project-card--modern .project-card__img {
    flex-shrink: 0;
}
.project-card--modern .project-card__content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.project-card--modern .project-card__actions {
    margin-top: auto;
}
/* Width/height attrs on lazy images must not break columns */
img.project-card__img-el.jw-img,
img.jw-lazy.project-card__img-el {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 220px;
    object-fit: cover;
}
.project-card__location{
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: #0b2239;
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
[dir="rtl"] .project-card__location{right:auto;left:12px;}
.project-card__developer-logo{
    position: absolute;
    left: 15px;
    bottom: -22px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Above image/link and city chip; also above .project-card__content in the next row */
    z-index: 20;
}
[dir="rtl"] .project-card__developer-logo{left:auto;right:15px;}
.project-card__developer-logo img{
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.project-card__content{
    background: #fff;
    width: 100%;
    margin: -25px auto 0;
    border-radius: 12px;
    padding: 40px 20px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-align: center;
    position: relative;
    z-index: 1;
}
.project-card__title{
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 12px;
    margin-bottom: 12px;
}
.project-card__title a{text-decoration:none;color:#0b2239;}
.project-card__price small{
    color:#777;
    font-size:0.9rem;
}
.project-card__price-number{
    font-size:1.4rem;
    font-weight:bold;
    color:#0b2239;
    margin-top:4px;
}
/* Reserve price block height when empty so details/actions line up across cards */
.project-card__price--placeholder{
    min-height: 4.25rem;
    box-sizing: content-box;
}
.project-card__details{
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
    align-items:start;
    column-gap:10px;
    row-gap:6px;
    margin:15px 0;
    font-weight:bold;
    color:#0b2239;
}
.project-card__details .project-card__detail-cell{
    min-width:0;
    text-align:center;
}
.project-card__actions{
    display:flex;
    gap:8px;
    margin-top:12px;
}
.card-btn{
    flex:1;
    padding:10px 0;
    color:#fff;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:background .2s ease,transform .2s ease;
}
.card-btn:hover{transform:translateY(-2px);}
.card-btn--wts{background:#25D366;}
.card-btn--wts:hover{background:#1eb055;}
.card-btn--call{background:var(--primary-color);}
.card-btn--call:hover{background:#a67845;}
.card-btn--msg{background:#1a3f80;}
.card-btn--msg:hover{background:#123267;}

.pagination {
    gap: 3px;
    margin: 0;
}

.pagination .page-item .page-link {
    border: none;
    color: #333;
    padding: 10px 20px;
    font-size: 16px;
    background: transparent;
    font-weight: normal;
}

.pagination .page-item.active .page-link {
    background-color: #0f3d6c;
    color: white;
    border-radius: 0;
}

.pagination .next-page {
    border-bottom: 1px solid #0f3d6c;
    margin-left: 8px;
}

.pagination .next-page .page-link {
    padding-bottom: 4px;
    color: #0f3d6c;
}

.page-separator {
    color: #333;
    padding: 6px 2px;
    font-size: 13px;
}

.project-city .pagination-nav{
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.content-wrapper {
    width: 60%; /* This makes the content take 60% of the width, leaving 20% on each side */
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.text-content {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
}

.highlight {
    color: #0f3d6c;
    font-weight: bold;
}

h2 {
    color: #0f3d6c;
    font-size: 20px;
    margin: 25px 0 15px 0;
    font-weight: bold;
}

.border-list {
    padding-right: 15px;
    margin: 20px 0;
}

.border-list li {
    margin-bottom: 15px;
    list-style: none;
    position: relative;
}

.border-list li::before {
    content: "•";
    color: #0f3d6c;
    font-weight: bold;
    position: absolute;
    right: -15px;
}

.text-paragraph {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .content-wrapper {
        width: 90%; /* On mobile, use more width */
        padding: 15px;
    }
}

.project-content {
    padding: 60px 0;
    background-color: white;
}

.breadcrumb {
    margin: 20px 0;
    font-size: 14px;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
}

.page-title {
    font-size: 24px;
    margin-bottom: 5px;
}

.project-developer {
    font-size: 14px;
}

.project-developer a {
    color: #c59358;
    text-decoration: none;
}

.price-card {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.price-amount {
    color: #c59358;
    font-size: 26px;
    font-weight: bold;
    margin: 15px 0;
}

.features-box {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.feature {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 10px 20px;
}

.feature-number {
    font-size: 24px;
    font-weight: bold;
}

.feature-text {
    font-size: 14px;
}

.update-text {
    color: #c59358;
    font-size: 14px;
}

.contact-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-contact {
    flex: 1;
    text-decoration: none;
    font-size: 14px;
    padding: 10px;
    border-radius: 5px;
    border: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-call {
    background-color: #c59358;
    color: white;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
}

.project-image-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #cccccc, #e6e6e6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 24px;
    font-weight: bold;
    border-radius: 8px;
    text-align: center;
}


/* single project*/
.single-project-content{
    padding: 60px 0;
    background-color: white;
}
.btn-submit {
    background-color: #212529;
    color: white;
    border: none;
    border-radius: 4px;
    width: 100%;
    font-size: 14px;
}

.contact-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-contact {
    font-size: 14px;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.btn-call {
    background-color: #c59358;
    color: white;
    border: 1px solid #c59358;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
    border: 1px solid #25d366;
}



.details-table td,.details-table th,.details-table {
    padding: 10px;
    border: 1px solid #e9ecef !important;
    vertical-align: middle;
}

.details-table td:first-child {
    font-weight: bold;
    color: #333;
}

.contact-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.contact-card p {
    margin: 0;
    font-size: 14px;
}

.contact-card i {
    margin-left: 5px;
}

.project-info-container {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding:20px ;
}

.accordion-button {
    background-color: #212529;
    color: white;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    font-size: 16px;
}

.accordion-button:not(.collapsed) {
    background-color: #212529;
    color: white;
    box-shadow: none;
}

.accordion-button.collapsed {
    background-color: #212529;
    color: white;
    border-radius: 8px;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 0;
}

.accordion-body a {
    color: #c59358;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}

.accordion-body a:hover {
    background: #f8f9fa;
}

.project-body {
    padding: 20px 15px;
    line-height: 1.8;
    font-size: 14px;
    color: #333;
}

.project-body a {
    color: #c59358;
    text-decoration: none;
    font-weight: bold;
}

.project-footer {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.project-footer a {
    color: #c59358;
    text-decoration: none;
    font-weight: bold;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 0 15px 20px;
}

.btn-action {
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    flex: 1;
}

.btn-call {
    background-color: #c59358;
    color: white !important;
    border: 1px solid #c59358;
}
.btn-primary{
    background-color: #c59358 !important;

}

.btn-danger{
    background-color: #c59358 !important;
    border-color:  #c59358 !important;

}

.btn-whatsapp {
    background-color: #25d366;
    color: white !important;
    border: 1px solid #25d366;
}

.btn-payment {
    background-color: #f8f9fa;
    color: #333 !important;
    border: 1px solid #ced4da;
}

.numbered-link {
    position: relative;
    padding-right: 25px !important;
}

.numbered-link::before {
    content: attr(data-number);
    position: absolute;
    right: 8px;
    color: #c59358;
}

.sub-link {
    padding-right: 40px !important;
}


.contact-us-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-us-section .row {
    align-items: center;
}

.contact-wrapper {
    gap: 30px;
}

.help-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
}

.help-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-btns {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn i {
    font-size: 20px;
}

.btn-whatsapp {
    background-color: #25D366 !important;
    color: white;
}

.btn-contact {
    background-color: #007bff;
    color: white;
}

@media (max-width: 768px) {
    .contact-us-section {
        padding: 40px 0 30px;
    }

    .contact-us-section .help-section {
        text-align: center;
        margin-bottom: 25px;
    }

    .contact-us-section .contact-btns {
        justify-content: center;
    }

    [dir="rtl"] .contact-us-section .contact-btns {
        justify-content: center;
    }

    .contact-us-section .contact-btns .contact-button {
        width: 50px !important;
        min-width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .contact-us-section .contact-form {
        margin-top: 1.5rem;
    }
}

.contact-form {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form h3 i {
    color: #007bff;
}

.contact-form p {
    color: #666;
    margin-bottom: 25px;
}

/* Home: homeContact form fields (not loaded in single-*.css on front page) */
.contact-us-section .contact-form {
    color: #333;
}

.contact-us-section .contact-form h3 {
    color: #0b2239;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.contact-us-section .contact-form h3.mb-4 {
    margin-bottom: 1.25rem !important;
}

.contact-us-section .contact-form form.registrationform {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
}

.contact-us-section .contact-form .form-bg,
.contact-us-section .contact-form .comment {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
    float: none !important;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #333;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 12px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-us-section .contact-form .form-bg:focus,
.contact-us-section .contact-form .comment:focus {
    outline: none;
    border-color: #c59358;
    box-shadow: 0 0 0 2px rgba(197, 147, 88, 0.22);
}

.contact-us-section .contact-form .comment {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .contact-us-section .contact-form .form-bg.half-r,
    .contact-us-section .contact-form .form-bg.half-l {
        width: calc(50% - 6px) !important;
    }
}

.contact-us-section .contact-form .submit {
    flex: 1 1 100%;
    width: 100% !important;
    max-width: 220px;
    margin: 0;
    margin-top: 4px;
    padding: 12px 28px;
    background: #c59358;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    float: none !important;
    transition: background 0.2s ease, transform 0.15s ease;
}

.contact-us-section .contact-form .submit:hover {
    background: #a67a45;
    color: #fff;
}

.contact-us-section .contact-form + .row,
.contact-us-section .contact-form + .row .col-md-12 {
    width: 100%;
}

/* Add any additional styles that might be needed for your form elements */

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-btns {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

.social-links ul{
    display: flex !important;
}
.social-links ul li{
    list-style: none;
}
.forminator-ui#forminator-module-6663.forminator-design--default .forminator-input, .forminator-ui#forminator-module-6663.forminator-design--default .forminator-input:hover, .forminator-ui#forminator-module-6663.forminator-design--default .forminator-input:focus, .forminator-ui#forminator-module-6663.forminator-design--default .forminator-input:active {
    border-color: #777771;
    background-color: #fff !important;
    color: #000000;
    border-radius: 20px;
}

.forminator-ui#forminator-module-6663.forminator-design--default .forminator-button-submit {
    background-color: #c59358 !important;
    color: #FFFFFF;
    border-radius: 20px;
}
.taxonomy-projects-title{
    margin-bottom: 30px;
}
.taxonomy-units-title{
    margin: 40px 0 20px;
}

/* =======================
   Header (desktop + mobile)
======================= */
.header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1100;
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding-inline-start: 0;
    padding-inline-end: 0;
    gap: 20px;
}

.header-row > .logo {
    order: 0;
}

.header-row > .nav-menu {
    order: 1;
}

.header-row > .header-middle {
    order: 2;
}

.header-row > .contact-block {
    order: 3;
}

.contact-block {
    background: #0b2239;
    color: #fff;
    height: 80px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}



.header .contact-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-middle {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-switch {
    display: flex;
    align-items: center;
}

.language-switch ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
}

.language-switch li {
    display: flex;
}

.language-switch a {
    color: #0b2239;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 0;
    display: block;
}

.language-switch a:hover {
    color: #d69d39;
}

.social {
    display: flex;
    gap: 12px;
}

.social a {
    color: #9da4ad;
    font-size: 18px;
    transition: 0.2s;
}

.social a:hover {
    color: #0b2239;
    transform: translateY(-2px);
}

.sep {
    width: 1px;
    height: 22px;
    background: #bbb;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    font-weight: 700;
    align-items: center;
}

.nav-menu li {
    color: #0b2239;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
	list-style:none;
}

.nav-menu li a {
    color: inherit;
    text-decoration: none;
    display: block;
    padding: 6px 0;
}

.nav-menu li.menu-item-has-children > a::after {
    content: "▼";
    font-size: 10px;
    margin-inline-start: 6px;
}

.nav-menu li:hover,
.nav-menu li a:hover {
    color: #d69d39;
}

.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    padding: 12px 16px;
    border-radius: 8px;
    gap: 10px;
    flex-direction: column;
    min-width: 180px;
    z-index: 20;
}

.nav-menu li:hover > .sub-menu {
    display: flex;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 60px;
    object-fit: contain;
    display: block;
}

@media (min-width: 992px) {
    .logo img {
        height: 107px;
    }
}

.mobile-header {
    display: none;
    height: 70px;
    padding: 0 15px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1150;
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.mobile-logo img {
    height: 45px;
    object-fit: contain;
    display: block;
}

.menu-icon {
    font-size: 32px;
    cursor: pointer;
    color: #0b2239;
}

.canvas-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #0b2239;
    color: #fff;
    padding: 35px;
    transition: 0.35s;
    z-index: 9999;
    display: none;
    overflow-y: auto;
}

.canvas-menu.open {
    right: 0;
}

.canvas-close {
    font-size: 32px;
    cursor: pointer;
    text-align: left;
    color: #fff;
}

[dir="rtl"] .canvas-close {
    text-align: right;
}

.canvas-logo {
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.canvas-logo img {
    max-height: 160px;
    object-fit: contain;
}

.canvas-logo a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

.canvas-menu ul {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    font-size: 1.2rem;
}

.canvas-menu a {
    color: #fff;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.canvas-menu .sub-menu {
    padding-inline-start: 15px;
    gap: 12px;
    opacity: 0.85;
}

.canvas-menu a:hover {
    background: #fff;
    color: #0b2239;
}

.canvas-language {
    margin-top: 30px;
    font-weight: 700;
}

.canvas-language a {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 992px) {
    .header {
        display: none;
    }

    .mobile-header {
        display: flex;
    }

    .canvas-menu {
        display: block;
    }
}

@media (min-width: 993px) {
    .canvas-menu {
        display: none !important;
    }
}

body.canvas-open {
    overflow: hidden;
}

/* --------------------------------------
   Moved from Additional CSS (Author/Content/Details)
--------------------------------------- */
.author-avatar {
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    margin-top: 10px !important;
}

.author-info {
    display: flex !important;
    gap: 10px !important;
}

.author-info-box {
    padding: 30px !important;
    margin: 30px 0 !important;
}

.author-info {
    background-color: #fff;
    padding: 20px;
    margin: 30px 0 !important;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.author-avatar {
    margin-right: 15px;
    border-radius: 50%;
}

.author-info p {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.author-info a {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

.author-info a:hover {
    text-decoration: underline;
}

/* ===== Meta row under title (location · author · date · reading time) ===== */
.project-meta-bar,
.project-main-location.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 10px 0 22px;
    padding: 14px 0;
    border-top: 1px solid #eef1f5;
    border-bottom: 1px solid #eef1f5;
}

.project-meta-bar > .project-meta-item,
.project-meta-bar > a.project-meta-item,
.project-meta-bar .project-meta-date-time .project-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 4px 0;
    font-size: 0.92rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    line-height: 1.4;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: color 0.2s ease;
}

.project-meta-bar a.project-meta-item:hover {
    color: var(--primary-color, #c59358);
}

.project-meta-bar .project-meta-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 9px;
    background: var(--meta-icon-bg, rgba(197, 147, 88, 0.12));
    transition: transform 0.2s ease, background 0.2s ease;
}

.project-meta-bar a.project-meta-item:hover .project-meta-item__icon {
    transform: scale(1.05);
}

.project-meta-bar .project-meta-item__icon .propertyeg-icon {
    width: 15px;
    height: 15px;
    color: var(--meta-icon-color, #c59358);
    flex: 0 0 auto;
}

.project-meta-bar .project-meta-item--location .project-meta-item__icon {
    --meta-icon-bg: rgba(197, 147, 88, 0.15);
    --meta-icon-color: #c59358;
}

.project-meta-bar .project-meta-item--author .project-meta-item__icon {
    --meta-icon-bg: rgba(59, 130, 246, 0.12);
    --meta-icon-color: #3b82f6;
}

.project-meta-bar .project-meta-item--date .project-meta-item__icon {
    --meta-icon-bg: rgba(139, 92, 246, 0.12);
    --meta-icon-color: #8b5cf6;
}

.project-meta-bar .project-meta-item--words .project-meta-item__icon {
    --meta-icon-bg: rgba(16, 185, 129, 0.12);
    --meta-icon-color: #10b981;
}

.project-meta-bar .project-meta-item--time .project-meta-item__icon {
    --meta-icon-bg: rgba(245, 158, 11, 0.14);
    --meta-icon-color: #f59e0b;
}

.project-meta-bar .project-meta-item__text {
    flex: 1 1 auto;
    min-width: 0;
    color: inherit;
    line-height: 1.4;
}

.project-meta-bar .project-meta-item--location .project-meta-item__text {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
}

.project-meta-bar .project-meta-item--location {
    align-items: flex-start;
}

.project-meta-bar .project-meta-item--location .project-meta-item__icon {
    margin-top: 2px;
}

.project-meta-bar .project-meta-item__text time {
    color: inherit;
}

.project-meta-bar .project-meta-item--words .project-meta-item__text {
    font-weight: 600;
    color: #334155;
}

/* Date + time group: stacked on mobile, flat on desktop/tablet */
.project-meta-bar .project-meta-date-time {
    display: contents;
}

/* Mobile: 2-column grid */
@media (max-width: 767px) {
    .project-meta-bar,
    .project-main-location.row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 12px;
        margin: 10px 0 18px;
        padding: 14px 0;
        align-items: start;
    }

    .project-meta-bar > .project-meta-item,
    .project-meta-bar > a.project-meta-item,
    .project-meta-bar .project-meta-date-time .project-meta-item {
        gap: 9px;
        font-size: 0.84rem;
        padding: 0;
        align-items: center;
        width: 100%;
    }

    .project-meta-bar > a.project-meta-item--location,
    .project-meta-bar > .project-meta-item--location {
        align-items: flex-start;
    }

    .project-meta-bar .project-meta-item__icon {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .project-meta-bar .project-meta-item__icon .propertyeg-icon {
        width: 16px;
        height: 16px;
    }

    .project-meta-bar .project-meta-item__text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .project-meta-bar .project-meta-item--location .project-meta-item__text {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .project-meta-bar .project-meta-date-time {
        display: flex;
        flex-direction: column;
        gap: 10px;
        grid-column: 1;
        min-width: 0;
        width: 100%;
    }

    .project-meta-bar .project-meta-date-time .project-meta-item {
        width: 100%;
    }
}

/* Tablet: 3 columns */
@media (min-width: 768px) and (max-width: 1199px) {
    .project-meta-bar,
    .project-main-location.row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 18px;
        row-gap: 14px;
        padding: 14px 0;
        align-items: center;
    }

    .project-meta-bar > .project-meta-item,
    .project-meta-bar > a.project-meta-item,
    .project-meta-bar .project-meta-date-time .project-meta-item {
        font-size: 0.88rem;
    }

    .project-meta-bar > .project-meta-item:last-child:nth-child(3n+1),
    .project-meta-bar > a.project-meta-item:last-child:nth-child(3n+1) {
        grid-column: 2;
        justify-self: center;
    }
}

/* Desktop: single equal row */
@media (min-width: 1200px) {
    .project-meta-bar,
    .project-main-location.row {
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
        align-items: center;
    }

    .project-meta-bar > .project-meta-item,
    .project-meta-bar > a.project-meta-item {
        flex: 1 1 0;
        justify-content: center;
        padding: 4px 12px;
        font-size: 0.92rem;
        border-inline-end: 1px solid #eef1f5;
    }

    .project-meta-bar .project-meta-date-time {
        display: contents;
    }

    .project-meta-bar .project-meta-date-time .project-meta-item {
        flex: 1 1 0;
        justify-content: center;
        padding: 4px 12px;
        border-inline-end: 1px solid #eef1f5;
    }

    .project-meta-bar > .project-meta-item:last-child,
    .project-meta-bar > a.project-meta-item:last-child {
        border-inline-end: none;
    }

    .project-meta-bar a.project-meta-item:hover,
    .project-meta-bar .project-meta-date-time .project-meta-item:hover {
        background: rgba(197, 147, 88, 0.04);
        border-radius: 8px;
    }

    .project-meta-bar .project-meta-item__text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex: 0 1 auto;
    }

    .project-meta-bar .project-meta-item--location .project-meta-item__text {
        overflow: visible;
        text-overflow: unset;
        white-space: normal;
        flex: 1 1 auto;
    }
}

/* ===== Modern author byline card ===== */
.author-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid #eaeef3;
    border-radius: 16px;
    padding: 22px 24px;
    margin: 30px 0;
    box-shadow: 0 6px 22px rgba(11, 34, 57, 0.06);
}
.author-card__avatar {
    flex: 0 0 auto;
}
.author-card__avatar-img,
.author-card__avatar img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}
.author-card__body {
    flex: 1 1 auto;
    min-width: 0;
}
.author-card__head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 12px;
}
.author-card__name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0b2239;
    text-decoration: none;
}
.author-card__name:hover {
    color: var(--primary-color, #c59358);
}
.author-card__role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color, #c59358);
    background: rgba(197, 147, 88, 0.12);
    padding: 2px 10px;
    border-radius: 999px;
}
.author-card__byline {
    margin: 6px 0 10px;
    font-size: 0.9rem;
    color: #5b6b7c;
}
.author-card__byline a {
    color: #0b2239;
    font-weight: 600;
    text-decoration: none;
}
.author-card__byline a:hover {
    text-decoration: underline;
}
.author-card__byline-sep {
    margin: 0 6px;
    color: #b9c2cc;
}
.author-card__bio {
    margin: 0 0 12px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #3a4a59;
}
.author-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.author-card__socials {
    display: inline-flex;
    gap: 8px;
}
.author-card__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0b2239;
    color: #fff;
    transition: background .2s ease, transform .2s ease;
}
.author-card__social:hover {
    background: var(--primary-color, #c59358);
    transform: translateY(-2px);
}
.author-card__link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-color, #c59358);
    text-decoration: none;
}
.author-card__link:hover {
    text-decoration: underline;
}

/* ===== Author profile (archive) hero ===== */
.author-profile-hero {
    padding: 24px 0 8px;
}
.author-profile-card {
    display: flex;
    gap: 28px;
    align-items: center;
    background: linear-gradient(135deg, #0b2239 0%, #163a5f 100%);
    color: #fff;
    border-radius: 20px;
    padding: 32px 34px;
    margin-top: 14px;
    box-shadow: 0 12px 34px rgba(11, 34, 57, 0.22);
}
.author-profile-card__avatar-img,
.author-profile-card__avatar img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.author-profile-card__eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color, #c59358);
    margin-bottom: 4px;
}
.author-profile-card__name {
    font-size: 1.9rem;
    font-weight: 800;
    margin: 0 0 6px;
    color: #fff;
}
.author-profile-card__role {
    font-size: 1rem;
    font-weight: 600;
    color: #cdd8e4;
    margin: 0 0 12px;
}
.author-profile-card__bio {
    font-size: 1rem;
    line-height: 1.9;
    color: #e6edf4;
    margin: 0 0 16px;
    max-width: 760px;
}
.author-profile-card__socials {
    display: inline-flex;
    gap: 10px;
}
.author-profile-card__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transition: background .2s ease, transform .2s ease;
}
.author-profile-card__social:hover {
    background: var(--primary-color, #c59358);
    transform: translateY(-2px);
}
@media (max-width: 575px) {
    .author-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .author-card__head {
        justify-content: center;
    }
    .author-card__footer {
        justify-content: center;
    }
    .author-profile-card {
        flex-direction: column;
        text-align: center;
        padding: 26px 20px;
    }
    .author-profile-card__socials {
        justify-content: center;
    }
}

.the_content .box-cta {
    display: flex;
    justify-content: center !important;
}

.the_content .box-cta i {
    color: #fff !important;
}

.contact-button.zoom {
    color: #2d8cff;
}

.facilities-services {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0 30px;
}

.facilities-services h2 {
    font-size: 20px;
    margin-bottom: 30px;
    color: rgb(52, 33, 107);
}

.facilities-services ul {
    list-style: none;
}

.facilities-services .icon {
    margin: 0 10px;
}

.facilities-services .name {
    font-size: 1em;
}

.content-box .box-cta {
    justify-content: center;
}

.content-box .box-cta a i {
    color: #fff !important;
}

.content-box .box-cta a i:hover {
    color: #000 !important;
}

.content-box.the_content.content-truncated {
    position: relative;
    max-height: 400px;
    overflow: hidden;
    margin-bottom: 40px;
    transition: max-height 0.5s ease;
}

.content-box.the_content.content-expanded {
    max-height: 10000px;
    padding-bottom: 30px;
}

.content-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.content-expanded .content-gradient {
    opacity: 0;
}

.show-more-btn {
    position: absolute;
    bottom: 40px;
    right: 10px;
    transform: translateY(50%);
    background-color: rgb(52, 33, 107);
    color: #fff;
    border: 1px solid rgb(52, 33, 107);
    border-radius: 50px;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.show-more-btn:hover {
    background-color: #fff;
    border-color: rgb(52, 33, 107);
    color: rgb(52, 33, 107);
}

.content-expanded .show-more-btn {
    bottom: -30px;
}

.content-inner {
    padding-bottom: 60px;
}

html[dir="rtl"] .show-more-btn {
    right: 0;
    left: auto;
}

.project-details-header {
    padding: 15px 20px;
    background-color: #34216b;
    border-bottom: 1px solid #f0e8d0;
}

.details-title {
    color: #fff;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.details-title i {
    color: #c6a55c;
    margin: 10px;
}

.project-details-table {
    background-color: #fff;
}

.detail-row {
    display: flex;
    border-bottom: 1px solid #f0e8d0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    flex: 0 0 30%;
    padding: 15px 20px;
    font-weight: bold;
    color: #555;
    text-align: right;
}

.detail-value {
    flex: 0 0 70%;
    padding: 15px 20px;
    color: #333;
    border-right: 1px solid #f0e8d0;
}

/* Hide empty detail rows */
.detail-row:has(.detail-value:empty) {
    display: none;
}

/* Fallback for browsers that don't support :has() */
.detail-value:empty {
    display: none;
}

/* Phone number formatting for RTL */
.detail-value a[href^="tel:"] {
    direction: ltr;
    display: inline-block;
    unicode-bidi: embed;
}

html[dir="ltr"] .detail-label { text-align: left; }
html[dir="ltr"] .detail-value { text-align: left; }

.detail-value a {
    color: #34216b;
    text-decoration: none;
    font-weight: 700;
}

.detail-value a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .detail-row {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .detail-label {
        flex: 0 0 40%;
        padding: 10px;
        font-size: 14px;
    }

    .detail-value {
        flex: 0 0 60%;
        padding: 10px;
        font-size: 14px;
        border-right: 1px solid #f0e8d0;
        border-top: none;
    }

    .project-details-table {
        font-size: 14px;
    }

    .details-title {
        font-size: 16px;
    }

    .mobile-top-bar {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .detail-label,
    .detail-value {
        padding: 8px;
        font-size: 13px;
    }
}

/* Project Banner Slider - Within Container */
.project-banner-slider {
    width: 100%;
    margin: 25px 0;
    position: relative;
}

/* Main Slider Container */
.project-slider-main {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.project-slider-main .project-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    width: 100%;
}

.project-slider-main .project-slide.active {
    display: block;
    opacity: 1;
}

.project-slider-main .project-slide__link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.project-slider-main .project-slide__img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Navigation Arrows */
.slider-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 24px;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slider-nav-arrow:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-prev {
    right: 20px;
}

.slider-next {
    left: 20px;
}

.slider-nav-arrow i {
    font-size: 24px;
    line-height: 1;
}

/* Thumbnail Navigation */
.project-slider-thumbnails {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    background: #fff;
    overflow-x: auto;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 3px solid #f0f0f0;
}

.project-slider-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.project-slider-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.project-slider-thumbnails::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.project-slider-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 100px;
    height: 75px;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0.6;
    position: relative;
}

.thumbnail-item:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.thumbnail-item.active {
    opacity: 1;
    border-color: #c59358;
    transform: scale(1.05);
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    .project-slider-main .project-slide__img {
        height: 350px;
    }
    
    .slider-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slider-prev {
        right: 10px;
    }
    
    .slider-next {
        left: 10px;
    }
    
    .project-slider-thumbnails {
        padding: 10px;
        gap: 8px;
    }
    
    .thumbnail-item {
        width: 80px;
        height: 60px;
    }
}

@media (min-width: 1200px) {
    .project-slider-main .project-slide__img {
        height: 600px;
    }
}

/* Legacy styles for backward compatibility */
.project-banner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.nav-thumb {
    width: 75px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.nav-thumb:hover {
    border-color: #00aaff;
}

.no-results-message{
    text-align: center;
    padding: 40px 10px;
    font-weight: 700;
    color: var(--background-color-500);
}

a[data-lightbox] {
    text-decoration: none;
    display: block;
}

.custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.custom-lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 5px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    bottom: 20px;
    display: flex;
    gap: 20px;
}

.prev-image,
.next-image {
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

.lightbox-caption {
    color: #fff;
    margin-top: 10px;
    font-size: 16px;
}

body {
    overflow-x: hidden !important;
}

html[dir="ltr"] #navbarNav .me-auto {
    margin-left: inherit !important;
}

.navbar-nav .nav-link:hover {
    color: rgb(197, 147, 88) !important;
}

.alertclose:not(:disabled):not(.disabled) {
    margin: -16px -4px !important;
}

.project-main-title {
    margin: 30px 0 !important;
}

@media only screen and (max-width: 786px) {
}

.header-stuck {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.96);
}

.mobile-header.header-stuck {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.mobile-header.header-stuck .menu-icon {
    color: #0b2239;
}

/* Floating action buttons (mobile) */
#floating-icons {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1200;
    padding: 0 10px;
}

#floating-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    height: 46px;
    padding: 0 14px;
    border-radius: 999px;
    background: #0b2239;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    font-weight: 700;
    gap: 8px;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

#floating-icons a:hover {
    background: #d69d39;
    color: #fff;
    transform: translateY(-2px);
}

#floating-icons i {
    font-size: 16px;
}

#floating-icons .float-label {
    font-size: 14px;
    line-height: 1;
}

@media (min-width: 992px) {
    #floating-icons {
        position: fixed;
        left: 20px;
        right: auto;
        transform: none;
        flex-direction: column;
        bottom: 20px;
    }
}

@media only screen and (max-width: 786px) {
    #floating-icons {
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        bottom: 18px !important;
        flex-direction: row !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 10px 12px !important;
        box-sizing: border-box !important;
        background: #fff !important;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
    }

    #floating-icons a {
        flex: 1;
        min-width: auto;
        height: 44px;
        border-radius: 10px;
        background: #0b2239;
        color: #fff;
    }
}

/* CTA Buttons Shortcode Styles - Using unique ID and classes for higher specificity */
#cta-shortcode-container.cta-shortcode-wrapper {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
    flex-wrap: wrap;
}

/* Override .content-box a styles with higher specificity */
#cta-shortcode-container .cta-shortcode-btn,
#cta-shortcode-container.cta-shortcode-wrapper .cta-shortcode-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 20px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    color: #fff !important;
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

#cta-shortcode-container .cta-shortcode-btn i,
#cta-shortcode-container.cta-shortcode-wrapper .cta-shortcode-btn i {
    font-size: 16px;
    line-height: 1;
}

#cta-shortcode-container .cta-shortcode-text,
#cta-shortcode-container.cta-shortcode-wrapper .cta-shortcode-text {
    text-decoration: none !important;
}

#cta-shortcode-container .cta-shortcode-whatsapp,
#cta-shortcode-container.cta-shortcode-wrapper .cta-shortcode-whatsapp {
    background: #25D366;
    color: #fff !important;
}

#cta-shortcode-container .cta-shortcode-whatsapp:hover,
#cta-shortcode-container.cta-shortcode-wrapper .cta-shortcode-whatsapp:hover {
    background: #20ba5a;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

#cta-shortcode-container .cta-shortcode-whatsapp:hover .cta-shortcode-text,
#cta-shortcode-container.cta-shortcode-wrapper .cta-shortcode-whatsapp:hover .cta-shortcode-text {
    text-decoration: none !important;
}

#cta-shortcode-container .cta-shortcode-call,
#cta-shortcode-container.cta-shortcode-wrapper .cta-shortcode-call {
    background: #6c757d;
    color: #fff !important;
}

#cta-shortcode-container .cta-shortcode-call:hover,
#cta-shortcode-container.cta-shortcode-wrapper .cta-shortcode-call:hover {
    background: #5a6268;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

#cta-shortcode-container .cta-shortcode-call:hover .cta-shortcode-text,
#cta-shortcode-container.cta-shortcode-wrapper .cta-shortcode-call:hover .cta-shortcode-text {
    text-decoration: none !important;
}

#cta-shortcode-container .cta-shortcode-zoom,
#cta-shortcode-container.cta-shortcode-wrapper .cta-shortcode-zoom {
    background: #2D8CFF;
    color: #fff !important;
}

#cta-shortcode-container .cta-shortcode-zoom:hover,
#cta-shortcode-container.cta-shortcode-wrapper .cta-shortcode-zoom:hover {
    background: #1a75e6;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

#cta-shortcode-container .cta-shortcode-zoom:hover .cta-shortcode-text,
#cta-shortcode-container.cta-shortcode-wrapper .cta-shortcode-zoom:hover .cta-shortcode-text {
    text-decoration: none !important;
}

@media (max-width: 767px) {
    #cta-shortcode-container.cta-shortcode-wrapper {
        gap: 6px;
        margin: 12px 0;
    }
    
    #cta-shortcode-container .cta-shortcode-btn,
    #cta-shortcode-container.cta-shortcode-wrapper .cta-shortcode-btn {
        padding: 5px 18px;
        font-size: 12px;
        flex: 1;
        min-width: 0;
        gap: 5px;
    }
    
    #cta-shortcode-container .cta-shortcode-btn i,
    #cta-shortcode-container.cta-shortcode-wrapper .cta-shortcode-btn i {
        font-size: 15px;
    }
}
