.ti {
    color: #cfbba2 !important;
}

.text-white {
    color: var(--white);
}

.text-light-gray {
    color: var(--light-gray);
}

.text-black {
    color: var(--black);
}

.text-cream {
    color: var(--cream);
}

.text-beige {
    color: var(--beige);
}

.text-dark-gray {
    color: var(--dark-gray);
}

.text-orange {
    color: var(--orange);
}

.text-sage-green {
    color: var(--sage-green);
}

.text-brown {
    color: var(--brown);
}

/* ///////////////////////////////////////////////////////////////////////////////////////////// */

/* الجزئية الاولى في الصفحة الرئيسية  */
.main-text {
    font-size: 70px;
    font-weight: 900 !important;
    text-align: start;
}

.description-text {
    text-align: start;
    font-size: 20px;
    font-weight: 500;
    margin: auto;
}

.p-location-boxarea {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.p-location-boxarea .img1 {
    width: 100%;
    height: 100%;
    position: relative;
}

.p-location-boxarea .img1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.small-card {
    height: 350px !important;
}

.large-card {
    height: 100%;
}

.card-overlay {
    position: absolute;
    /* top: 0; */
    left: 10%;
    right: 10%;
    bottom: 3%;
    background: rgb(255 255 255 / 80%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    z-index: 99;
    height: 24%;
    border-radius: 11px;
}

.project-item {
    display: flex;
    text-align: center;
}

.project-item-sm p {
    padding: 0px 6%;
}

.project-item-sm {
    display: flex;
    text-align: center;
    margin: 0px 5%;
    justify-content: space-between;
    font-weight: 500;
}

.project-item p {
    padding: 0px 20px;
}

@media (max-width: 768px) {
    .card-overlay {
        left: 5%;
        right: 5%;
        height: 50%;
    }

    .property-info {
        text-align: center !important;
    }

    .project-item p {
        margin-bottom: 2px;
    }
}

.card-overlay-sm {
    font-size: 14px;
    position: absolute;
    /* top: 0; */
    left: 5%;
    right: 5%;
    bottom: 8%;
    background: rgb(255 255 255 / 80%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    z-index: 99;
    height: 35%;
    border-radius: 11px;
}

.card-overlay-project {
    font-size: 14px;
    position: absolute;
    /* top: 0; */
    left: 8%;
    right: 8%;
    bottom: 8%;
    background: rgb(255 255 255 / 80%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    z-index: 99;
    height: 25%;
    border-radius: 11px;
}

.card-overlay-sm hr {
    margin: 0px !important;
}

.favorite-btn {
    align-self: flex-end;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease;
}

.favorite-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.property-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-info {
    color: white;
    text-align: right;
}

.property-info .price {
    font-size: 0.9rem;
    font-weight: bold;
    color: #000;
}

.large-card .property-info .price {
    font-size: 2rem;
}

.property-info .location {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 10px;
    color: #000;
}

.card-overlay-sm .location,
.card-overlay-sm .property-details {
    font-size: 9px;
}

.property-details {
    font-size: 0.8rem;
    opacity: 0.8;
    color: #000;
}

.property-details-large {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-end;
    color: #000;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.detail-item .number {
    font-size: 1.2rem;
    font-weight: bold;
}

.detail-item .label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.detail-separator {
    color: rgba(0, 0, 0, 0.5);
    font-size: 1.2rem;
}

/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .testimonials-2 .testimonials-box-2 .content-area .text {
        font-size: 19px;
        line-height: 25px;
    }

    .testimonials-2 .testimonials-box-2 .bottom {
        margin-top: 30px;
    }

    .large-card {
        height: 400px;
        margin-top: 20px;
    }

    .small-card {
        height: 400px;
    }

    .property-details-large {
        flex-direction: column;
        gap: 10px;
    }

    .detail-separator {
        display: none;
    }

    .main-text {
        font-size: 30px !important;
    }

    .description-text {
        font-size: 16px;
    }
}

/* شاشات أصغر */
@media (max-width: 1450px) {
    .main-text {
        padding-right: 30px !important;
        padding-left: 30px !important;
    }
}

/*
 */

.hero-images-area {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    display: flex;
    align-items: center;
    justify-content: end;
    text-align: end;
    padding: 0px 5%;
}

.hero-overlay-center {
    direction: rtl;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0px 5%;
}

.hero-content {
    z-index: 9999;
    color: white;
    margin-top: 40px;
}

.hero-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-description {
    padding-right: 10%;
    margin-left: auto;
    max-width: 95%;
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;

    pointer-events: auto !important;
    position: relative !important;
    z-index: 999 !important;
}

.btn-primary {
    background: var(--orange);
    color: white;
    border: 2px solid var(--orange);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--dark-gray);
}

@media (max-width: 1200px) {
    .hero-content {
        max-width: 100% !important;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .hero-buttons .btn {
        padding: 5px 26px;
        font-size: 14px;
        display: block;
        margin-bottom: 5px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        display: flex;
        flex-wrap: revert;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content {
        padding: 15px;
    }
}

.img-main-size,
.img-main-size .p-location-boxarea {
    height: 489px !important;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .img-main-size,
    .img-main-size .p-location-boxarea {
        height: 300px !important;
        margin-bottom: 20px;
    }
}

.content-area img {
    object-fit: cover;
}

.sticky-nav {
    display: flex;
}

/* @font-face {
    font-family: "Doran";
    src: url("fonts/Doran/Doran-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
} */

/* .hero-title,
.hero1-section-area .hero-heading-content h1,
.hero1-section-area .hero-heading-content p,
.opening div {
    font-family: "Doran", sans-serif !important;
} */

.opening div {
    font-family: "Tajawal", sans-serif !important;
}

@media (max-width: 1290px) {
    .opening div {
        text-align: right !important;
        display: block !important;
    }

    .description-text {
        margin: 0px 20px !important;
    }
}

.details-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 25px;
    z-index: 0;
    right: 25px;
}

.details-area ul li a {
    color: var(--ztc-text-text-2);
    font-family: var(--ztc-family-font1);
    font-size: 14px;
    font-style: normal;
    font-weight: var(--ztc-weight-medium);
    line-height: 16px;
    display: inline-block;
    transition: all 0.4s;
    background: rgb(255 255 255 / 50%);
    padding: 3px 20px;
    border-radius: 28px;
}

.details-area ul li.type a {
    color: #f7f7f7;
    background: rgb(20 20 20 / 50%) !important;
}

.property1
    .main-tabs-area
    .tab-content
    .tab-pane
    .property-single-boxarea
    .property-list-img-area
    .owl-dots {
    display: none;
}

.custom-badge,
.custom-badge-lg {
    color: var(--ztc-text-text-2);
    font-family: var(--ztc-family-font1);
    font-size: 14px;
    font-style: normal;
    display: inline-block;
    transition: all 0.4s;
    background: var(--ztc-bg-bg-1);
    padding: 1px 11px;
    border-radius: 28px;
    line-height: 20px;
}

.custom-badge-lg {
    padding: 1px 20px;
}

.hero-buttons-project {
    position: absolute;
    bottom: 15%;
    right: 5px;
    left: 19px;
}

.hero-buttons-project button {
    background-color: #ffffff !important;
    color: var(--orange);
}

@media (max-width: 768px) {
    .hero-buttons-project {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    .hero-buttons-project a {
        margin-bottom: 15px;
    }
}

.title-hr {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 5px;
}

.sm-hr {
    margin: 0.5rem 0;
    color: inherit;
    border: 0;
    border-top: var(--bs-border-width) solid;
    opacity: 0.25;
    color: #ccbca2;
    margin: 10px 0px 15px 150px;
}

.slick-dots {
    display: none !important;
}

.count-images {
    position: absolute;
    bottom: 5%;
    left: 5%;
    color: #fff;
}

.custom-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.proximity-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.proximity-icon {
    background: #cabca21c;
    color: #cabca2;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.proximity-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.proximity-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.duration-value {
    font-size: 1.2rem;
    font-weight: 700;
}

.duration-format {
    font-size: 0.9rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 0.2rem 0.5rem;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.add-to-compare {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 10px;
}

.add-to-compare:hover {
    background: #fff;
    transform: scale(1.1);
}

.add-to-compare.active {
    background: #28a745;
    color: white !important;
}

.comparison-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #bfb895 0%, #bfb794 100%);
    color: white;
    padding: 15px 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.comparison-bar.show {
    transform: translateY(0);
}

.compare-btn {
    background: black;
    border: none;
    padding: 7px 13px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.compare-btn:hover {
    background: #515151;
}

.compare-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.comparison-items {
    direction: rtl;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 0px 10px 10px 0px;
}

.comparison-item {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    backdrop-filter: blur(10px);
}

.comparison-item span {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.remove-item {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    font-size: 12px;
}

.remove-item:hover {
    background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 575px) {
    .main-unit {
        margin: 0px 5px;
    }
}

.contact-buttons-fixed {
    position: fixed;
    bottom: 90px;
    right: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.contact-btn:hover::before {
    transform: scale(1);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

/* زر إضافة استفسار */
.inquiry-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.inquiry-btn::before {
    background: linear-gradient(135deg, #0056b3, #004085);
}

/* زر واتساب */
.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.whatsapp-btn::before {
    background: linear-gradient(135deg, #128c7e, #075e54);
}

/* تحسينات المودال */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px 15px 0 0;
    padding: 20px;
}

.modal-title {
    color: #2c3e50;
    font-size: 1.5rem;
}

.modal-body {
    padding: 30px;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.input-group-text {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 12px 15px;
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.btn-primary {
    background: linear-gradient(135deg, #372f24, #372f24);
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #645e56, #70695f);
}

.btn-outline-secondary {
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* تحسينات للموبايل */
@media (max-width: 768px) {
    .contact-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .modal-dialog {
        margin: 10px;
    }

    .modal-body {
        padding: 20px;
    }
}

/* تأثير النبضة للفت الانتباه */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

.inquiry-btn:hover {
    animation: pulse 2s infinite;
}

/* تحسينات لاتجاه النص */
.modal[dir="rtl"] .modal-dialog {
    text-align: right;
}

.modal[dir="rtl"] .btn-close {
    left: 1rem;
    right: auto;
}

.form-control,
.form-select {
    text-align: end !important;
}

.modal-content {
    text-align: end;
}

.btn-custom {
    border: 1px solid #fff;
    margin-bottom: 15px;
    color: #fff;
    background: transparent;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-custom:hover,
.btn-custom:focus {
    background: #fff;
    color: #372f24;
    border-color: #ccbca2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn-custom:active {
    background: #ccbca2;
    color: #372f24;
    border-color: #ccbca2;
}
