/***start Global*/
body {
  overflow-x: hidden;
}
img {
  max-width: 100%;
}
a {
  text-decoration: none;
}
ul {
  list-style-type: none;
  margin: 0;
}
#header {
  position: relative;
}

/*start nav***/
/* Navigation Bar */

#header {
  min-height: 100vh;
}

.nav {
  padding: 1.2rem 0;
  background: #ddc7bb;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 12;
}

/* الروابط الرئيسية */
.main-list li a {
  color: #2b1b12;
  font: 700 1.2rem "Montserrat", sans-serif;
  transition: 0.3s ease;
}
.main-list li a:hover {
  color: #ed017f;
}

/* زر ثابت */
.static-btn {
  padding: 0.8rem 1.2rem;
  background: #2b1b12;
  color: #fff;
  border-radius: 0.5rem;
  font: 600 1rem "Montserrat", sans-serif;
  transition: 0.3s ease;
}
.static-btn:hover {
  background: #ed017f;
}

/* أيقونات يمين */
.btn-of-nav button {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: #2b1b12;
  cursor: pointer;
  transition: 0.3s ease;
}
.btn-of-nav button:hover {
  color: #ed017f;
}

/* زر المينو */
.navbar-toggler {
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.navbar-toggler .line {
  width: 1.5rem;
  height: 3px;
  background: #2b1b12;
  border-radius: 2px;
}

/* زر إغلاق القائمة الجانبية */
.btn-close-white {
  border: none;
  font-size: 1.5rem;
}

/* الروابط داخل القائمة الجانبية */
.offcanvas-body .navbar-nav .nav-item .nav-link {
  color: #fff;
  font: 600 1.2rem "Montserrat", sans-serif;
  transition: 0.3s ease;
}
.offcanvas-body .navbar-nav .nav-item .nav-link:hover {
  color: #ed017f;
}

/* Burger Menu */

/* Offcanvas Menu */

/***start hero section****/
/* Hero Section */
.hero-section {
  background: #ddc7bb;
  padding: 4rem 0;
}

.hero-title h1 {
  color: #2b1b12;
  font: 800 4.5rem/100% "Montserrat", sans-serif;
}
.hero-title h1 span {
  font-size: 4rem;
  color: #ed017f;
}

.hero-title p {
  color: #4f3527;
  font: 700 1.2rem/160% "Montserrat", sans-serif;
  max-width: 30rem;
}

.btn-hero .static-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #ed017f;
  color: #fff;
  font: 600 14px/20px "Montserrat", sans-serif;
  text-transform: uppercase;
  border-radius: 0.25rem;
  transition: 0.3s ease;
}
.btn-hero .static-btn:hover {
  background: #d0006f;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/***start register-on-home*****/
/* Register Section */
.register-on-home form {
  background: #ddc7bb;
  box-shadow: 0 8px 30px rgba(43, 27, 18, 0.12);
  padding: 3rem 1rem;
  transform: translateY(-50%);
  border-radius: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.register-on-home form .input {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
}

.register-on-home form .input input {
  width: 100%;
  padding: 1rem 2.5rem 1rem 1rem;
  border: 1px solid #fbf5f1;
  border-radius: 0.5rem;
  background: #fbf5f1;
  font: 700 1rem/100% "Montserrat", sans-serif;
  color: #2b1b12;
}

.register-on-home form .input input::placeholder {
  color: #695346;
  font: 700 1rem/100% "Montserrat", sans-serif;
}

.register-on-home form .input i {
  position: absolute;
  right: 2.5rem;
  color: #695346;
  font-size: 1.2rem;
}

.register-on-home .form-btn .static-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: #ed017f;
  color: #fff;
  font: 600 14px/20px "Montserrat", sans-serif;
  text-transform: uppercase;
  border-radius: 0.5rem;
  transition: 0.3s ease;
}

.register-on-home .form-btn .static-btn:hover {
  background: #d0006f;
}

/****start counts-part-title****/
/* Counts Section */
/* Counts of Houses Section */
.counts-of-houses {
  padding: 6rem 0;
}

.counts-part-img img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.counts-part-title h2 {
  color: #2b1b12;
  font: 800 2.5rem/140% "Montserrat", sans-serif;
}
.counts-part-title p {
  color: #4f3527;
  font: 700 1.2rem/160% "Montserrat", sans-serif;
  max-width: 30rem;
}

.the-counts {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 20px;
}

.count h2 {
  color: #4f3527;
  font: 700 3rem/100% "Montserrat", sans-serif;
}
.count p {
  color: #4f3527;
  font: 600 1.2rem/100% "Montserrat", sans-serif;
}

/***start choose us****/
/* Choose Us Section */
.choose-us {
  margin-block: 7rem;
}

.choose-us-title h3 {
  color: #2b1b12;
  font: 800 2.3rem/140% "Montserrat", sans-serif;
  text-align: center;
}
.choose-us-title p {
  color: #4f3527;
  font: 700 1.2rem/160% "Montserrat", sans-serif;
  text-align: center;
  max-width: 40rem;
}

.card-choose-us {
  background: #ddc7bb;
  box-shadow: 0 4px 30px rgba(43, 27, 18, 0.12);
  border-radius: 1.2rem;
  padding: 1.5rem;
  transition: 0.3s ease;
}
.card-choose-us:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 40px rgba(43, 27, 18, 0.18);
}

.card-choose-us h4 {
  color: #2b1b12;
  font: 700 1.2rem/100% "Montserrat", sans-serif;
}
.card-choose-us p {
  color: #4f3527;
  font: 600 1rem/130% "Montserrat", sans-serif;
}

/* Card Icons */
.img-of-card1-choose::before {
  content: url("/image/map pin.png");
}
.img-of-card2-choose::before {
  content: url("/image/service.png");
}
.img-of-card3-choose::before {
  content: url("/image/document.png");
}
.img-of-card4-choose::before {
  content: url("/image/handshake.png");
}

.img-of-card1-choose::before,
.img-of-card2-choose::before,
.img-of-card3-choose::before,
.img-of-card4-choose::before {
  margin-right: -4rem;
  margin-top: 0.8rem;
  position: relative;
  z-index: 2;
}

/***start our-popular-residences****/
/* Popular Residences Section */
.our-popular-residences {
  margin-bottom: 5rem;
}

.our-popular-title h4 {
  color: #2b1b12;
  font: 800 2.25rem/140% "Montserrat", sans-serif;
  text-align: center;
}

.img-card-popular img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
}

.card-popular-title {
  background: #ddc7bb;
  padding: 1rem;
  border-radius: 0 0 1rem 1rem;
  transform: translateY(-50%);
}

.location-home a,
.location-home i {
  color: #2b1b12;
  font: 700 1.3rem/100% "Montserrat", sans-serif;
}

.price-home p {
  color: #4f3527;
  font: 700 1.5rem/100% "Montserrat", sans-serif;
}

.sign-up-home .static-btn {
  padding: 1rem;
  background: #ed017f;
  color: #fff;
  border-radius: 0.5rem;
  transition: 0.3s ease;
}
.sign-up-home .static-btn:hover {
  background: #d0006f;
}

/* About Dwello Section */
/* About Dwello Section */
.about-dwello {
  background: #fbf5f1;
  padding: 3rem 0;
}

.about-dwello-title h4 {
  color: #2b1b12;
  font: 800 2.25rem/140% "Montserrat", sans-serif;
  margin-bottom: 3rem;
  text-align: center;
}

/* Card Slide */
.card-slide {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  background: #fff;
}

.img-slide img {
  width: 100%;
  border-radius: 1rem 1rem 0 0;
  object-fit: cover;
}

.card-slide-title {
  background: #ddc7bb;
  padding: 1.5rem;
  border-radius: 0 0 1rem 1rem;
}

.pepole-details {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.img-pepole img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.name-pepole a {
  color: #2b1b12;
  font: 700 1.3rem/100% "Montserrat", sans-serif;
}
.name-pepole p {
  color: #2b1b12;
  font: 600 1rem/100% "Montserrat", sans-serif;
}

.star {
  padding: 0.2rem 0.5rem;
  background: #fff;
  border-radius: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.star i {
  color: #ffc71e;
}

.paragraph-slide-title p {
  color: #4f3527;
  font: 600 1rem/130% "Montserrat", sans-serif;
  margin-top: 1rem;
}

/* Slider Pagination */
/* Pagination عام */
.pagination-my-slider {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* أسهم قبل وبعد */
.pagination-my-slider::before {
  content: "<";
  color: #fff;
  font-size: 1.2rem; /* أصغر */
  font-weight: 600; /* أنحف شوي */
  margin-right: 0.8rem; /* مسافة أنيقة */
}

.pagination-my-slider::after {
  content: ">";
  color: #fff;
  font-size: 1.2rem; /* أصغر */
  font-weight: 600;
  margin-left: 0.8rem;
}

/* النقاط */
.pagination-my-slider .swiper-pagination-bullet {
  width: 14px; /* أصغر */
  height: 14px;
  border-radius: 50%;
  background: #2b1b12;
  opacity: 0.6;
  transition: 0.3s ease;
}

/* النقطة النشطة */
.pagination-my-slider .swiper-pagination-bullet-active {
  background: #ed017f; /* لون مميز */
  opacity: 1;
  transform: scale(1.2); /* تكبير بسيط */
}

/* Stars & Cards */

/* Get Help Section */
.get-help-from-us {
  padding: 7rem 0;
}

.title-our-get-help-form-us h5 {
  color: #2b1b12;
  font: 800 2.5rem/140% "Montserrat", sans-serif;
  text-align: center;
  margin-bottom: 2rem;
}

.chat-team a,
.browse-our-faq a {
  color: #543e32;
  font: 700 1rem/100% "Montserrat", sans-serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.3s ease;
}
.chat-team a:hover,
.browse-our-faq a:hover {
  color: #ed017f;
}

.form-us {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.input {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
}
.input i {
  color: #543e32;

  font-size: 1rem;
}
.input input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 3rem;
  border-radius: 0.5rem;
  background: #ddc7bb;
  border: none;
  font: 600 1rem/100% "Montserrat", sans-serif;
  color: #2b1b12;
}
.input input::placeholder {
  color: #543e32;
}
.get-help-from-us .input i {
  position: relative;
  left: 2rem;
}
.submit-btn .static-btn {
  padding: 0.8rem 1.5rem;
  background: #ed017f;
  color: #fff;
  font: 600 14px/20px "Montserrat", sans-serif;
  text-transform: uppercase;
  border-radius: 0.5rem;
  transition: 0.3s ease;
}
.submit-btn .static-btn:hover {
  background: #d0006f;
}

/****start footer*****/
/* Footer */
#footer {
  background: #ddc7bb;
  padding: 4rem 0 8rem;
}

#footer h6 {
  color: #2b1b12;
  font: 700 1.4rem/100% "Montserrat", sans-serif;
}

#footer a {
  color: #4f3527;
  font: 700 1.2rem/100% "Montserrat", sans-serif;
  transition: 0.3s ease;
}
#footer a:hover {
  color: #ed017f;
}

#footer p {
  color: #4f3527;
  font: 700 1.2rem/130% "Montserrat", sans-serif;
  max-width: 20rem;
}

.logo-footer img {
  width: 120px;
  height: auto;
}

.logo-footer p {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.4rem;
}

/* Responsive Footer */

/****start Responsive Media query*****/

/**medium***/
@media (min-width: 573px) and (max-width: 768px) {
  .cards-of-choose {
    display: grid !important;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(2, auto);
  }
  .choose-us-title p {
    width: 100%;
  }
  .register-on-home .col-3 {
    width: 100%;
  }
  .register-on-home form {
    gap: 2rem;
  }
  .card-slide {
    width: 100%;
  }
}
/****mobile***/
@media (max-width: 573px) {
  .main-list,
  .static-btn {
    display: none !important;
  }

  /* ترتيب العناصر داخل الـ row */
  .nav .row {
    display: flex;
    align-items: center;
  }
  .hero-section {
    min-height: 100vh;
  }
  .hero-section .row {
    flex-direction: column-reverse;
    flex-basis: 100%;
  }
  .hero-section .hero-title {
    margin-top: 1.5rem;
    text-align: center;
  }
  .hero-title h1,
  .hero-title h1 span {
    font-size: 2rem;
  }
  .hero-section .mobile {
    width: 100%;
  }
  .hero-title p {
    font-size: 1rem;
  }
  .register-on-home form {
    flex-direction: column;
    transform: translateY(-10%);
    -webkit-transform: translateY(-10%);
    -moz-transform: translateY(-10%);
    -ms-transform: translateY(-10%);
    -o-transform: translateY(-10%);
  }
  .register-on-home .row .col-11 {
    padding: 0;
  }
  .register-on-home form .input {
    margin-bottom: 1rem;
    width: 80%;
  }
  .register-on-home form .static-btn {
    padding: 1rem;
    margin-top: 1rem;
  }
  .nav .row .mobile {
    width: 20%;
  }
  .container {
    max-width: 100%;
  }
  .counts-of-houses .row {
    flex-direction: column;
  }
  .counts-of-houses .row .col-5 {
    width: 100%;
  }
  .counts-of-houses .row .col-7 {
    width: 100%;
  }
  .counts-part-title {
    text-align: left;
    margin-top: 2rem;
    align-items: center;
  }
  .counts-part-title h2 {
    width: 100%;
    font-size: 1.6rem;
    text-align: left;
  }
  .counts-part-title p {
    font-size: 0.8rem;
    text-align: left;
    width: 100%;
  }
  .the-counts {
    justify-content: space-around !important;
  }
  .the-counts .count {
    align-items: center !important;
  }
  .the-counts .count p {
    font-size: 1rem;
  }
  .the-counts .count h2 {
    font-size: 2rem;
  }
  .choose-us-title h3 {
    font-size: 1.5rem;
    text-align: left;
    width: 100%;
  }
  .choose-us-title p {
    font-size: 0.8rem;
    width: 100%;
    text-align: left;
  }
  .our-popular-residences {
    margin: 0;
  }
  .cards-of-choose {
    flex-direction: column;
  }
  .cards-of-choose .col-3 {
    width: 100%;
    margin-bottom: 2rem;
  }
  .our-popular-title h4 {
    font-size: 1.5rem;
  }
  .our-popular-title p {
    font-size: 0.8rem;
  }
  .about-dwello {
    padding: 0;
  }
  .cards-of-popular .card-popular {
    width: 100%;
    margin-bottom: 1rem;
  }
  .about-dwello-title h4 {
    font-size: 1.5rem;
  }
  .about-dwello-title p {
    font-size: 0.8rem;
  }
  .about-dwello-title {
    width: 100%;
  }
  .choose-us {
  }

  .img-slide img {
    max-width: 100%;
  }
  .pepole-details {
    justify-content: flex-start !important;
    gap: 2rem;
  }
  .get-help-from-us .col-6 {
    text-align: center;
    width: 100%;
  }
  .title-our-get-help-form-us h5 {
    font-size: 1.6rem;
  }
  .title-our-get-help-form-us p {
    font-size: 0.8rem;
  }
  .our-link {
    flex-direction: column;
    gap: 1rem;
  }
  .form-us {
    width: 100%;
    gap: 2rem;
    flex-direction: column;
    align-items: center;
  }
  .form-us .input {
    width: 80%;
  }
  #footer {
    padding-bottom: 1rem;
  }

  #footer .row .col-4 {
    width: 100%;
    margin-bottom: 3rem;
  }
  #footer .row {
    flex-wrap: wrap;
  }
  #footer .row .col-2 {
    width: 50%;
    margin-bottom: 3rem;
  }
  #footer .row .col-2 a {
    margin-bottom: 0.6rem;
  }
  #footer .row .col-2:last-child {
    margin: 0;
  }
  .footer .col-2 .mt {
    margin-block-end: 2rem;
  }
}
/***larg***/
@media (min-width: 768px) and (max-width: 992px) {
  .card-slide {
    width: 100%;
  }
  .about-dwello .swiper-slide {
    width: 100%;
  }
  .card-popular {
    width: 100%;
  }
  .counts-part-img img {
    width: 100%;
  }
  .register-on-home .input {
    margin-bottom: 1.5rem;
    width: 75%;
  }
}
