/* sans serif  */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Work+Sans:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

/* serifs */
@import url('https://fonts.googleapis.com/css2?family=Aleo:wght@400;700&family=Cardo:wght@400;700&family=Lora:wght@400;500;600;700&family=Merriweather:wght@400;700&display=swap');

/* Font sizes (px) */
/* 10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98 */

@import url('contact.css');
@import url('query.css');

a{
    text-decoration:none !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*:focus {
  outline: none;
  box-shadow: 0 0 0 0.6rem rgba(122, 93, 246, 0.1);
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  color: #555;
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  line-height: 1;
  overflow-x: hidden;
  position: relative;
}

/* *********************** */
/*      HEADER  */
/************************  */

.header {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 9.6rem;
  padding: 0 4.8rem;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4.8rem;
  margin-right: 4.8rem;
}

.nav-link:link,
.nav-link:visited {
  color: #222;
  font-size: 1.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease-in-out;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav-link:hover,
.nav-link:active {
  color: #643bae;
  border-bottom: 1px solid currentColor;
}

.logo-img {
  width: 15rem;
  height: auto;
}

.cta-link:link,
.cta-link:visited {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.6rem 2.2rem;
  border-radius: 0.8rem;
  background-color: #643bae;
  display: inline-block;
  transition: all 1s ease-out;
}

.cta-link:hover,
.cta-link:active {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.6rem 2.2rem;
  border-radius: 0.8rem;
  background-color: #744fb6;
  display: inline-block;
}

/* *********************** */
/*      MOBILE NAV */
/************************  */

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  color: #333;
  height: 4.8rem;
  width: 4.8rem;
}

.icon-mobile-nav[name='close-outline'] {
  display: none;
}

/* *********************** */
/*    HERO SECTION   */
/************************  */

.hero-section {
  height: 100vh;
  background-image: linear-gradient(
      rgba(28, 28, 28, 0.8),
      rgba(28, 28, 28, 0.8)
    ),
    url('../images/background-img-11.jpg');
  background-size: cover;
  margin-bottom: 9.6rem;
  position: relative;
}

.hero-content h2 {
  color: #e68327;
  font-size: 5.2rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  position: absolute;
  top: 20%;
  left: 40%;
}

/* used keyframes for the blinking animations */
@keyframes fadeInOut {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.4;
  }
}

.hero-content span {
  color: #7c0474;
  background-color: #fff;
  border-radius: 1rem;
  padding: 0.4rem 1rem;
  font-size: 5.4rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  animation: fadeInOut 3s ease-in-out infinite;
}

.hero-content p {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 3.8rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  position: absolute;
  top: 40%;
  left: 35%;
}

/* *********************** */
/*  CARD */
/************************  */

.card-section {
  padding-bottom: 9.6rem;
}

.card-item {
  width: 40rem;
  overflow: hidden;
  border-radius: 0.8rem;
  border: 3px solid transparent;
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.card {
  display: flex;
  gap: 6.4rem;
}

.card-item:hover {
  border-left: 3px solid #744fb6;
  border-bottom: 3px solid #744fb6;
  transform: translate(-5px);
  cursor: pointer;
}

.card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-image {
  height: 30rem;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: auto;
}

.card-content {
  padding: 2rem;
}

.card-title {
  font-size: 2.4rem;
  font-weight: 600;
  text-align: center;
}

.card-text {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 1.8rem 0;
}

.card-link:link,
.card-link:visited {
  color: #333;
  text-align: center;
  display: inline-block;
  margin-bottom: 4rem;
  padding: 1.2rem 2rem;
  font-size: 1.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #643bae;
  border-radius: 0.8rem;
  transition: all ease-in 0.3s;
}

.card-link:hover,
.card-link:active {
  color: #fff;
  background-color: #744fb6;
}

/* *********************** */
/*    FEATURED PROPERTIES   */
/************************  */

.featured-section {
  background-image: linear-gradient(to left top, #fff4ea, #d1c4e7);
  padding-bottom: 9.8rem;
}

.featured-section h2 {
  margin-bottom: 6.4rem;
}

.featured-nav {
  display: flex;
  gap: 9.8rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 6.4rem;
}

.btn {
  color: #333;
  font-size: 2rem;
  font-weight: 500;
  border: none;
  border-radius: 1rem;
  background: none;
  text-decoration: none;
  cursor: pointer;
  padding: 1rem 2rem;
  border-bottom: 2px solid transparent;
}

.btn-active {
  color: #ff922b;
  background: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  background: #fff;
  border-radius: 1rem;
}

.btn:hover {
  color: #cc7522;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  column-gap: 4.8rem;
  row-gap: 4.8rem;
  align-items: center;
  padding-top: 4.8rem;
  padding-bottom: 4.8rem;
}

.recent-box {
  border-radius: 1.2rem;
  box-shadow: 0 2rem 4.8rem rgba(0, 0, 0, 0.095);
  overflow: hidden;
  background-color: #fff;
  transition: all 0.4s;
  position: relative;
}

.for-sale::before {
  content: 'for sale';
  position: absolute;
  top: 4%;
  right: -9%;
  transform: rotate(48deg);
  font-size: 1.4rem;
  font-weight: 600;
  color: #222;
  padding: 0.8rem 3rem;
  background-color: #ffbe80;
  text-transform: uppercase;
}

.for-rent::before {
  content: 'for rent';
  position: absolute;
  top: 4%;
  right: -9%;
  transform: rotate(48deg);
  font-size: 1.4rem;
  font-weight: 600;
  color: #222;
  padding: 0.8rem 3rem;
  background-color: #ffbe80;
  text-transform: uppercase;
}

.recent-box:hover {
  transform: translateY(-0.8rem);
  cursor: pointer;
}

.for-rent {
  display: none;
}

.for-sale {
  display: block;
}

.recent-properties {
  padding: 2.4rem 0 2.4rem 2.4rem;
}

.recent-img {
  width: 100%;
  border-radius: 0.8rem;
}

.property-type {
  font-size: 1.4rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding-bottom: 3.4rem;
  padding-right: 20px;
}

.property-type p {
  background-color: #f0ebf7;
  color: #222;
  padding: 0.8rem 1.2rem;
  border-radius: 0.8rem;
}

.recent-features {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.recent-price {
  color: #ff922b;
  font-size: 2rem;
  font-weight: 600;
  padding-bottom: 3rem;
}

.recent-location {
  color: #8362be;
  font-size: 1.6rem;
  font-weight: 500;
  padding-bottom: 3rem;
}

.icon-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
}

.icon-img {
  height: 2.4rem;
}

.icon-number {
  font-size: 1.8rem;
  font-weight: 500;
}

.all-properties {
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
}

.all-property:link,
.all-property:visited {
  color: #8362be;
  text-decoration: none;
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  transition: all 0.3s ease-out;
}

.all-property:hover,
.all-property:active {
  color: #744fb6;
  border-bottom: 1px solid transparent;
}

/* *********************** */
/*  OFFERS */
/************************  */

.offers-section {
  padding-bottom: 9.8rem;
}

.offers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.offer-features {
  background-color: #fff;
  border-radius: 1rem;
  transition: all 0.3s ease-out;
  padding: 2.6rem;
}

.offer-icon {
  color: #744fb6;
  background-color: #f0ebf7;
  height: 3.2rem;
  width: 3.2rem;
  padding: 1.6rem;
  margin-bottom: 3.2rem;
  border-radius: 50%;
}

.offer-icons {
  width: 20%;
  border-radius: 50%;
  background-color: #e0d8ef;
  stroke: red;
}

.offer-features h3 {
  font-family: 'Work Sans', sans-serif;
  color: #333;
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
}

.offer-features p {
  color: #555;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.6;
}


/*PAGINATION*/
.pagination{
          width: 100%;
          height: 2rem;
          display:flex;
          justify-content:center;
          align-items:center;
          gap: .4rem;
      }
      .pagination a{
          padding: .5rem 1rem;
          background: purple;
          color: #fff;
          font-weight:bold;
      }
      #period{
  background-color: #ed3c0d;
  color: #fff;
  padding: 5px 3px 5px 3px;
  font-size: 13px;
  border-radius: 5px;
          
}

/*PAGINATION ENDS HERE*/


/* *********************** */
/*    TESTIMONIALS   */
/************************  */

.testimonial-section {
  background-color: #ccc;
  background-image: linear-gradient(to right top, #fff4ea, #d1c4e7);
  background-repeat: no-repeat;
  margin-bottom: 9.8rem;
}

.slider {
  position: relative;
  margin: 0 auto;
  max-width: 100rem;
  height: 50rem;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s;
}

.testimonial {
  width: 60%;
  position: relative;
}

.testimonial__header {
  font-family: 'Lato', sans-serif;
  font-size: 2.4rem;
  margin-bottom: 2.6rem;
}

.ab {
  text-align: center;
}

.testimonial::before {
  content: '\201c';
  color: #744fb6;
  font-size: 14rem;
  position: absolute;
  left: -12%;
  top: -8%;
  z-index: -1;
  line-height: 1;
}

.testimonial__text {
  margin-bottom: 4rem;
  font-size: 2rem;
  line-height: 1.5;
  margin-bottom: 3rem;
}

.testimonial__name {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.testimonial__address {
  font-size: 1.4rem;
}

.slider__btn {
  font-size: 2rem;
  position: absolute;
  top: 25%;
  border: none;
  background-color: #fff;
  border-radius: 10rem;
  padding: 1.6rem;
  z-index: 10;
  cursor: pointer;
}

.slider__btn-right {
  right: 6%;
  transform: translate(50%, -50%);
}

.slider__btn-left {
  left: 6%;
  transform: translate(-50%, -50%);
}

.dots {
  position: absolute;
  display: flex;
  gap: 1rem;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
}

.dots__dot {
  background-color: #bbb;
  border: none;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.5s;
}

.dots__dot-active {
  background-color: #744fb6;
  opacity: 1;
}

/* *********************** */
/*   SELL PROPERTY  */
/************************  */

.sell-property {
  height: 100vh;
  background-image: linear-gradient(
      to left,
      rgba(28, 28, 28, 0.9),
      rgba(28, 28, 28, 0.9)
    ),
    url('../images/background-img-33.jpg');
  background-size: cover;
  background-position: center;
  margin-bottom: 9.8rem;
}

.sell-property h2 {
  color: #fff;
  margin-bottom: 6.4rem;
}

.sell-property h3 {
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 6.4rem;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4.8rem;
}

.contact-text {
  color: #fff;
  display: flex;
  gap: 1.8rem;
  margin-bottom: 3rem;
  padding: 1.8rem 2rem 0 2rem;
}

.contact-icon {
  height: 2.4rem;
  width: 2.4rem;
}

.contact-text h4 {
  color: #fff;
  font-size: 2rem;
  font-weight: 500;
}

.contact-info {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  width: 30rem;
  padding: 0 2rem;
  margin-bottom: 1.4rem;
}

.contact-link:link,
.contact-link:visited {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 400;
  text-align: center;
  background-color: #744fb6;
  padding: 1.4rem;
  text-decoration: none;
  display: inline-block;
  border-radius: 1rem;
  margin-bottom: 1.2rem;
  transition: all 0.2s ease-in;
}

.contact-link:hover,
.contact-link:active {
  background-color: #643bae;
}

/* *********************** */
/*   CLEANING  */
/************************  */

.cleaning-section {
  margin-bottom: 9.8rem;
}

.cleaning-services {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
}

.cleaning-section h3 {
  font-size: 2.6rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 3.4rem;
  letter-spacing: 2px;
  line-height: 1.5;
  text-transform: uppercase;
}

.cleaning-section p {
  font-size: 2.6rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 3rem;
}

.cleaning-section span {
  color: #e68327;
  font-size: 3.6rem;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
}

.clean {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.cleaning-icon {
  color: #e68327;
  height: 3.4rem;
  width: 3.4rem;
}

.clean-img {
  width: 100%;
}

/* *********************** */
/*    FOOTER   */
/************************  */

.footer {
  padding: 14rem;
  border-top: 1px solid #ddd;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  column-gap: 4.8rem;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  width: 40%;
  margin-bottom: 3rem;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.social-links ion-icon {
  color: #767676;
  height: 2.4rem;
  width: 2.4rem;
  margin-bottom: 3.2rem;
}

.social-links ion-icon:hover {
  color: #444;
}

.copyright {
  color: #767676;
  font-size: 1.6rem;
  line-height: 1.5;
  margin-top: auto;
}

.footer-heading {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 4rem;
}

.address {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  justify-content: center;
}
.address-link {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.address p:first-child {
  color: #767676;
  font-size: 1.6rem;
  margin-bottom: 2.4rem;
}

.footer-link:link,
.footer-link:visited {
  color: #767676;
  font-size: 1.6rem;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #444;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

/* *********************** */
/*   RESUSABLE */
/************************  */

.container {
  max-width: 130rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

.offers {
  display: flex;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.heading-secondary {
  font-family: 'Lato', sans-serif;
  color: #333;
  font-size: 3.6rem;
  text-align: center;
  padding-top: 4.8rem;
  margin-bottom: 9.6rem;
}

.grid-2-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 6.4rem;
}

@media screen and (max-width: 600px) {
    .swiper-slider{
        width: 357px;
    }
}
