/**
* 
*/

/* Variables */
:root{
  --qasha-parimary: #002452;
  --qasha-text: #001533;
  --qasha-light: #EDF1F7;
  --qasha-danger: #991B1B;
  --qasha-dark-gray: #3D4852;
}

/* Global Styles */
html {
  scroll-padding-top: 70px;
}

a {
  text-decoration: none;
}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Alexandria", sans-serif;
  color: #001533;
}

/* colors */
.bg-light {
  background-color: var(--qasha-light) !important;
}

/* Typography */
b {
  font-weight: 500!important;
}
.fw-600 {
  font-weight: 600!important;
}
h2 {
  font-weight: 600;
}
h6 {
  font-size: 18px;
}
.text-danger {
  color: var(--qasha-danger)!important;
}
.text-warning {
  color: #FFA500!important;
}
.text-dark-gray {
  color: var(--qasha-dark-gray)!important;
}

/* buttons */
.btn {
  border-radius: 12px;
  padding: 13px 22px;
}
.btn.disabled, .btn:disabled {
  background-color: #DCE1E5;
  opacity: 1;
  color: #8494A4;
}
.btn:focus, .btn:active {
  outline: none !important;
  box-shadow: none !important;
}
.site-btn {
  background: var(--qasha-parimary);
  color: #fff;
}
.site-btn:hover {
  color: #fff;
}
.site-btn-outline {
  background: transparent;
  color: var(--qasha-parimary);
  border: 2px solid var(--qasha-parimary);
}
.site-btn-outline.muted {
  border-color: var(--qasha-light);
}
.site-btn-outline.active {
  background-color: #EDF1F7;
}
.btn-danger {
  background: var(--qasha-danger);
  border-color: var(--qasha-danger);
}

/* alerts */
.alert {
  border-radius: 12px;
}
.alert.alert-bottom {
  position: fixed;
  bottom: 10px;
  left: 10px;
  min-width: 300px;
}
.alert.alert-success {
  background-color: var(--bs-success);
  color: #fff;
}
.alert.alert-danger {
  background-color: var(--bs-danger);
  color: #fff;
}
.alert.alert-info {
  background-color: var(--bs-info);
  color: #fff;
}

/** Modals */
.fullscreen-modal .modal-dialog {
  max-width: 100%;
  margin: 0;
  height: 100%;
}
.fullscreen-modal .modal-content {
  height: 100vh;
  border: none;
  border-radius: 0;
}
.fullscreen-modal .image-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
}
.fullscreen-modal .image-container img {
  width: 50%;
  margin-bottom: 20px;
}
.modal-content {
  border-radius: 22px;
  overflow: hidden;
  background-color: #f8f8f8;
}
.modal-content .btn-close {
  background-color: #fff;
  border-radius: 50px;
  font-size: 12px;
  padding: 6px;
}
@media (min-width: 576px) {
  .modal-dialog {
    max-width: 660px;
  }
  .modal-dialog.modal-lg {
    max-width: 800px;
  }
  .modal-dialog.modal-sm {
    max-width: 440px;
  }
}
@media (max-width: 576px) {
  .fullscreen-modal .image-container img {
    width: 90%;
  }
  #registerModal .row,
  #loginModal .row,
  #confirmationModal .row {
    flex-direction: column-reverse;
  }
}
.modal-auth-left {
  background-image: url(../images/modal-auth-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.modal-close-btn {
  background-color: var(--qasha-light);
  position: absolute;
  left: 20px;
  top: 20px;
  border-radius: 50px;
  padding: 4px;
}
#filterModal .modal-body,
#appointmentModal .modal-body {
  padding: 2rem!important;
}

/* TimeLine */
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline-line {
  position: absolute;
  top: 38px;
  right: 10%;
  height: 3px;
  background-color: #8494A4;
  width: 80%;
  z-index: 1;
}
.timeline-line-progress {
  position: absolute;
  top: 38px;
  right: 13%;
  height: 3px;
  background-color: #0070FF;
  width: 23%;
  z-index: 1;
  transition: width 0.5s ease;
}
.timeline-point {
  position: relative;
  z-index: 2;
  text-align: center;
}
.timeline-point-circle {
  width: 40px;
  height: 40px;
  background-color: var(--qasha-light);
  border: 3px solid #8494A4;
  color: #8494A4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 14px;
  transition: all 0.3s ease;
  /*box-shadow: 0px 0px 0px 1px var(--qasha-light);*/
}
.timeline-point.active .timeline-point-circle {
  border-color: #0070FF;
  color: #0070FF;
}
.timeline-point.active .timeline-title {
  color: var(--qasha-text);
}
.timeline-point.completed .timeline-point-circle {
  border-color: #0070FF;
  background-color: #0070FF;
  color: transparent;
  position: relative;
}
.timeline-point.completed .timeline-title {
  color: #0070FF;
}
.timeline-point.completed .timeline-point-circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25%;
  height: 50%;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -60%) rotate(45deg);
}
.timeline-title {
  margin-top: 10px;
  color: #8494A4;
}
.tm-count-3 .timeline-line {
  width: 66.66%;
  right: 17%;
}
.tm-count-3 .timeline-line-progress {
  right: 18%;
  width: 33.33%;
}
.tm-count-3 .timeline-point-circle {
  background-color: #fff;
}
@media (max-width: 767px) {
  .timeline-point-circle {
    font-size: 14px;
  }
  .timeline-title {
    font-size: 14px;
  }
}

/* flatpicker */
.numInputWrapper .arrowUp,
.numInputWrapper .arrowDown {
  display: none;
}

/* colors */
.text-dark {
  color: var(--qasha-text)!important;
}

/* inputs */
.form-control {
  border-radius: 12px;
  padding: 12px 22px;
  background-color: var(--qasha-light)!important;
  border: 2px solid var(--qasha-light);
  font-weight: 300;
  outline: none!important;
  box-shadow: none!important;
}
.form-control:focus {
  border: 2px solid var(--qasha-parimary)!important;
}
.form-control::placeholder {
  color: #5D6E7E;
  font-weight: 400;
}
[type="email"], [type="number"], [type="tel"], [type="url"] {
  direction: rtl;
}
.input-group-text {
  background-color: var(--qasha-light);
  border: none;
  border-radius: 12px;
  padding: .375rem 1rem;
}
.otp-input {
  padding: 10px 10px;
}

/* custom select */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  background-color: var(--qasha-light);
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  border: 1px solid var(--qasha-light);
  color: #5D6E7E;
}
#price-trigger {
  color: #5D6E7E;
  font-weight: 400;
}

.custom-select-button.open .bi.bi-caret-down-fill {
  transform: rotate(-180deg);
  transition: transform 0.3s;
}

.custom-select-options-container {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-top: none;
  border-radius: 12px;
  overflow: hidden;
  transition: max-height 0.3s;
  z-index: 100;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
  max-height: 300px;
}
.custom-select-options-container {
  scrollbar-color: #DCE1E5 transparent;
}
.custom-select-options-container.open {
  display: block;
  overflow-y: auto;
}

.custom-select-option {
  padding: 12px 16px;
  cursor: pointer;
}

.custom-select-option:hover {
  background: #f0f4f8;
}
.custom-select-option.selected {
  background: #ebf5ff;
  font-weight: 500;
  color: #2b6cb0;
}
.custom-select-selected-text {
  font-weight: 400;
}
@media (max-width: 576px) {
  .custom-select-button {
    padding: 13px 12px;
  }
  .checkbox-wrapper-19.d-flex.justify-content-end {
    justify-content: start!important;
  }
}

/* pagination */
.page-item:first-child .page-link {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}
.page-item:last-child .page-link {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.page-item .page-link {
  padding: 8px 16px;
}

/* price card */
.price-card {
  position: absolute;
  width: 310px;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  padding: 20px;
  margin-top: 5px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.slider-container {
  position: relative;
  height: 40px;
}
.slider-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
}
.slider-range {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  background: var(--qasha-parimary);
  border-radius: 3px;
}
.slider-thumb {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--qasha-parimary);
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
}
.slider-thumb.min {
  left: 0;
}
.slider-thumb.max {
  right: 0;
  transform: translate(50%, -50%);
}

/* cards */
.card {
  border-radius: 12px;
  padding: 20px;
  border: none;
}
@media (max-width: 576px) {
  .card {
    padding: 8px;
  }
  .col-md-6.text-end {
    text-align: start!important;
  }
}
.rounded {
  border-radius: 12px!important;
}
.shadow {
  box-shadow: 0 4px 12px #0024521A!important;
}

/* tables */
.table-userdata-card {
  border: 2px solid #DCE1E5;
}
.table-userdata table thead {
  background-color: var(--qasha-light);
}
.table-userdata table thead tr th {
  border-bottom-width: 0px;
  font-weight: 500;
  padding: .9rem .6rem;
  font-size: 18px;
}
.table-userdata table thead tr th:first-child {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}
.table-userdata table thead tr th:last-child {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}
.table-userdata table tbody tr td {
  border-bottom-width: 0px;
  padding: 1rem .6rem;
  font-size: 18px;
}

/* Navbar */
.navbar-expand-lg .navbar-nav .nav-link {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  color: var(--qasha-text);
}
.mobile-close-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}
.user-dropdown {
  border-radius: 12px;
  border: none;
  padding: 10px;
  min-width: 12rem;
}
.dropdown-item:focus, .dropdown-item:hover {
  background-color: unset;
  color: unset;
}
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    padding: 2rem 1.5rem;
    height: 100vh;
    width: 280px;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 1000;
  }
  .navbar-collapse.show {
    transform: translateX(0);
  }
  
  .mobile-close-btn {
    display: block;
  }
  
  .navbar-collapse {
    justify-content: flex-start;
  }
  .navbar-nav {
    width: 100%;
    margin: 4rem 0px 2rem 0px;
  }
  
  .navbar-action-buttons {
    width: 100%;
    flex-direction: column;
    align-items: flex-start !important;
    margin-top: auto;
  }
  
  .navbar-action-buttons a {
    margin: 0.5rem 0 !important;
    width: 100%;
    text-align: center;
  }
  
  .navbar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }
  .navbar-overlay.show {
    display: block;
  }
  .user-dropdown {
    left: unset !important;
    right: 0px !important;
    top: 50px !important;
  }
  .mobile-navbar-content {
    padding-bottom: 90px;
  }
  .navbar-profilepic {
    position: absolute;
    top: 12px;
    right: 38px;
  }
  .navbar-profilepic img {
    width: 46px;
    height: 46px;
  }
}

/** Sections */
.section-spad {
  padding: 60px 0;
}
.section-spad-dashboard {
  padding: 40px 0;
  margin-top: 140px;
}
@media (max-width: 576px) {
  .section-spad-dashboard {
    margin-top: 68px;
  }
}

/* hero */
.section-hero {
  background-image: url(../images/hero-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 500px;
  margin-bottom: 100px;
  padding-top: 160px;
}
.section-hero p {
  font-size: 18px;
  line-height: 30px;
}
.form-properties-search h6 {
  font-size: 18px;
}
@media (max-width: 576px) {
  .section-hero {
    background-image: url(../images/properties-hero-bg.png);
  }
}
@media (max-width: 360px) {
  .section-hero p {
    font-size: 16px;
  }
}

/* services */
.service-card {
  text-align: center;
  padding: 50px 26px;
  height: 332px;
  background-color: var(--qasha-light);
}
.service-card p {
  font-size: 14px;
  line-height: 26px;
  font-weight: 400;
}
@media (max-width: 991px) {
  .section-services {
    margin-top: 210px;
  }
}

/* premium estates */
.section-estates {
  background-color: var(--qasha-light);
  overflow-x: hidden;
}
.property-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.property-card a img {
  height: 260px;
}
.property-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 14px;
}
.property-card-badge.warning {
  background-color: #FFF1BD;
  color: #805300;
}
.property-card-badge.danger {
  color: #6D1322;
  background-color: #F8D3DA;
}
.property-card-badge.purple {
  color: #420F70;
  background-color: #E7CCFF;
}
.property-card-badge.info {
  color: #002B66;
  background-color: #CCE3FF;
}
.property-card-badge.success {
  color: #0C5A4A;
  background-color: #BCF6EA;
}
.property-card-body {
  background-color: #fff;
  padding: 22px 16px 30px 16px;
}
.property-card-price {
  color: var(--bs-primary);
  font-weight: 600;
}
.property-card-body p {
  font-size: 14px;
  color: #8494A4;
}
.property-card-body h6 {
  font-size: 18px;
  color: var(--qasha-dark-gray);
  font-weight: 400;
}
.property-card-options {
  color: #5D6E7E;
  font-size: 14px;
}
.property-card i.bi.bi-heart:hover {
  cursor: pointer;
  transform: scale(1.2);
  transition: .3s;
}
.properties-slider {
  width: 97%;
  position: relative;
  margin: auto;
}

.properties-slider .row {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none; /* For Firefox */
  -ms-overflow-style: none; /* For Internet Explorer and Edge */
  scroll-behavior: smooth;
}

.properties-slider .row::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Opera */
}
.properties-slider .col-md-4 {
  flex: 0 0 auto;
  width: 380px; /* Fixed width for each card */
}
@media (max-width: 991px) {
  .property-card-image {
    height: 240px!important;
  }
  .property-card-options .col-4:nth-child() {
    padding-left: 0px;
    padding-right: 0px;
  }
  .properties-slider {
    width: 93%;
  }
}
@media (max-width: 400px) {
  .property-card-options span {
    font-size: 14px;
  }
  .property-card-options img {
    width: 18px;
    height: 18px;
  }
}

/* Navigation buttons */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
  border: none;
  color: #444;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

/* About */
.section-about p {
  font-weight: 400;
  line-height: 30px;
  font-size: 18px;
}

/* How it works */
.section-how_it_works {
  background-image: url('../images/how-it-works-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #F8F8F8;
}
.section-how_it_works * {
  color: #F8F8F8;
}
.how_it_works-card {
  background-color: #192C47;
  text-align: center;
  padding: 40px 16px;
  border-radius: 12px;
  height: 200px;
}
.how_it_works-card h6 {
  font-weight: 400;
  font-size: 18px;
}
@media (max-width: 576px) {
  .how_it_works-card h6 {
    font-size: 14px;
  }
}

/* Contact */
.section-contact hr {
  height: 2px;
  color: #aaa;
}
.section-contact-icon {
  padding: 6px 8px;
}
@media (max-width: 576px) {
  .section-contact form {
    margin-bottom: 60px!important;
  }
}

/* Footer */
footer {
  background-color: var(--qasha-light);
  padding: 50px 0;
}
.footer-important-links {
  font-size: 18px;
}
.footer-copyright {
  font-size: 14px;
  color: var(--qasha-dark-gray);
}
@media (max-width: 576px) {
  .footer-important-links {
    font-size: 16px;
  }
  .footer-important-links .col-md-2 {
    text-align: center;
  }
}

/** property page */
.property-video {
  width: 100%;
  height: auto;
  display: block;
  height: 412px;
  background-color: #000;
}
.section-property-images {
  overflow: hidden;
}
.property-images-container {
  height: 100%;
}
.rounded-big-image {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  overflow: hidden;
}
.rounded-left-image {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  overflow: hidden;
}
.property-img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.section-property-images .row.h-100 {
  min-height: 428px;
}
.section-property-images .row.g-3 {
  margin-left: -6px;
  margin-right: -6px;
}
.section-property-images h6 {
  font-size: 18px;
}
.section-property-images .property-card-options {
  font-size: 18px;
}
.property-feautures-card {
  background-color: var(--qasha-light);
  border-radius: 12px;
  padding: 20px 14px;
}
.time-selection label.selected {
  border: 2px solid var(--qasha-parimary)!important;
}
.property-pricing-card .nav-link {
  padding: .5rem 0rem;
  color: #000;
}
.property-pricing-card .nav-link.active {
  color: var(--bs-primary);
}
@media (max-width: 576px) {
  .property-images-container {
    border-radius: 12px!important;
    overflow: hidden;
  }
  .btn-property-images-all {
    width: 100%;
  }
  #appointmentModal .modal-body.p-5 {
    padding: 1rem!important;
  }
  .flatpickr-wrapper {
    padding: 10px 4px!important;
  }
  .flatpickr-day {
    max-width: 50px!important;
    height: 50px!important;
  }
  .modal-close-btn {
    left: 10px;
    top: 10px;
  }
  .property-details-images {
    flex-direction: column-reverse;
  }
  .property-pricing-card .row {
    flex-direction: column-reverse;
  }
  .property-feautures-card {
    padding: 16px 8px;
  }
  .property-feautures-card img {
    width: 32px;
    height: 32px;
  }
  .property-feautures-card h6 {
    font-size: 14px;
  }
}

/* properties page */
.section-properties-hero {
  background-image: url(../images/properties-hero-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 250px;
  margin-bottom: 120px;
  padding-top: 160px;
}
.section-properties-properties {
  background-color: var(--qasha-light);
}
@media (max-width: 991px) {
  .section-properties-properties {
    margin-top: 220px;
  }
}

/* faq page */
.faq-item {
  background-color: var(--qasha-light);
  border-radius: 12px;
  padding: 30px 20px;
  cursor: pointer;
}
.faq-item i {
  background-color: #fff;
  border-radius: 50px;
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

/* user dashboard */
.user-dashboard-card .card {
  padding-top: 35px;
  padding-bottom: 35px;
}
.user-dashboard-card h6 {
  font-size: 18px;
  font-weight: 400;
}
.user-dashboard-empty {
  font-size: 18px;
  color: var(--qasha-dark-gray);
}

/*
* Privacy Policy
*/
.privacy_policy-content h2 {
  margin-top: 60px;
}
.privacy_policy-content p {
  line-height: 30px;
}