@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap");
:root {
  --dir: -1; /* 1 for right, -1 for left */
  --white: #ffffff;
  --off-white: lab(96.54% 0.01 -0.01);
  --black: #000;
  --footer-color: #f5f5f5;
  --blue-2: #223448;
  --ash-2: rgba(94, 94, 94, 1);
  --ash: rgb(124, 124, 124);
  color: rgb(0, 0, 0, 1);
  --surface: rgba(250, 250, 250, 1);
  --border: #2a2a35;
}
body {
  font-family: "Inter", sans-serif;
}
/* header - nav */
.dropdown-container {
  background: var(--white);
  border-radius: 20px;
  position: relative;
}
.dropdown-content {
  position: absolute;
  min-width: 300px;
  height: 178px;
  margin-top: 10px;
  border-radius: 20px;
  width: 100%;
  display: none;
  box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.6);
  z-index: 1;
  padding: 1rem;
}
.dropdown-content li {
  cursor: pointer;
  height: 44px;
  margin-top: 10px;
  font-size: 18px;
}
#mobile-menu-btn {
  display: none;
}
.dropdown-container.active .dropdown-content {
  display: block;
  z-index: 9999;
}
.dropdown-items:hover {
  background: #f1f1f1;
}
.search-hero-section {
  background: blue;
}
.two__cons {
  white-space: nowrap;
  padding: 1rem;
}
.fia-link {
  max-width: 580px;
}
.search-div {
  min-width: 100px;
  height: 44px;
  background: var(--blue-2);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  margin-top: 1.3rem;
}
.apartment-locations {
  width: 100%;
  max-width: 1000px;
  height: 100px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.select-div {
  width: 292px;
}
.select-div select {
  padding: 2px;
  border-radius: 10px;
}
.explore-section {
  margin-bottom: 3rem;
}
.post {
  padding-block: 1.5rem;
}
.post p {
  background: #e9e0cf;
  max-width: 100%;
  width: 188px;
  height: 39px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.post p,
.post a {
  border-radius: 20px;
}
.post h2 {
  font-size: 48px;
  font-weight: 500;
}
.post a {
  background: var(--blue-2);
  color: var(--white);
  max-width: 148px;
  height: 44px;
  padding: 4px 15px;
}
.discover {
  max-width: 503px;
  height: 48px;
  color: var(--ash);
  text-align: right;
  padding-top: 1rem;
}
/* caurosel */
.testimonial-section {
  padding-block: 6rem;
}
.testimonial-heading {
  padding-left: 2rem;
  padding-block: 3rem;
}
.testimonial-heading p {
  font-family: "DM mono", san-serif;
  color: rgba(171, 171, 171, 1);
}
.testimonial-heading h2 {
  font-size: 48px;
}
.testimonial-heading span {
  font-family: "Inter", sans-serif;
}
.testimonial-heading span {
  color: var(--ash-2) !important;
}
.marquee-section {
  width: 100%;
}
.marquee-row {
  width: 100%;
  overflow: hidden;
  /* -webkit-mask-image: linear-gradient(
          to right,
          transparent 0%,
          black 8%,
          black 92%,
          transparent 100%
        );
        mask-image: linear-gradient(
          to right,
          transparent 0%,
          black 8%,
          black 92%,
          transparent 100%
        ); */
}
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: bounce 100s linear infinite;
}
.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes bounce {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
/* Review card */
.review-card {
  font-family: "Inter", sans-serif;
  width: 300px;
  height: 420px;
  flex-shrink: 0;
  background: var(--surface);
  border-radius: 12px;
  padding: 24px 26px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  cursor: default;
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  border: 1px solid var(--border);
}
.card-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  margin-top: auto;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 15px;
  color: var(--bg);
  flex-shrink: 0;
}
.reviewer-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.reviewer-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reviewer-meta {
  font-size: 12px;
  color: var(--ash-2);
  margin-top: 2px;
}
.review-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ash-2);
}
.review-text::before {
  content: "\201C";
  font-size: 22px;
  line-height: 0;
  vertical-align: -4px;
  margin-right: 2px;
}
.review-text::after {
  content: "\201D";
  font-size: 22px;
  line-height: 0;
  vertical-align: -4px;
  margin-left: 2px;
}
.review-side {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.avatar {
  border-radius: 50%;
  overflow: hidden;
  background: #e0e0e6;
}
.avatar img {
  width: 100%;
  height: 100%;
  display: block;
}
.explore-btn {
  visibility: hidden;
  justify-content: center;
  margin: auto;
}
.explore-btn a {
  display: flex;
  justify-content: center;
  text-decoration: none;
  background: var(--blue-2);
  color: var(--white);
  font-size: 14px;
  width: 124px;
  height: 44px;
  border-radius: 25px;
  align-items: center;
}

/* footer */
footer {
  background: var(--footer-color);
}
.infinite {
  max-width: 100%;
  width: 928px;
  position: relative;
  padding: 11rem 4rem;
}
.infinite strong {
  font-family: "Infinite Realities", sans-serif;
  letter-spacing: 5px;
}
.infinite p {
  font-family: "Gilroy light", sans-serif;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 400;
}
.infinite img {
  max-width: 196px;
  width: 100%;
  height: 474.33px;
  max-height: 100%;
  position: absolute;
  left: 33%;
  top: 0%;
  z-index: 9999;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-bottom: 4rem;
}
.find {
  padding-top: 1.2rem;
}
.contact-us {
  display: flex;
  gap: 1.5rem;
}
.info span,
.find p:nth-of-type(1) {
  font-family: "Gilroy light", sans-serif;
  font-size: 14px;
  padding-bottom: 0.7rem;
}
.info {
  display: flex;
  flex-direction: column;
}
.info a {
  color: var(--black);
}
.email,
.state {
  font-family: "Gilroy light", sans-serif;
}
@media (max-width: 820px) {
  .subscribe-frame {
    padding: 14px;
  }
}
@media (max-width: 770px) {
  .faq-header {
    height: 90px;
  }
  #mobile-menu-btn {
    display: block;
  }
}
@media (max-width: 769px) {
  .explore-section {
    background: none;
  }
  .dream-apartment h1 {
    font-size: 28px;
  }
  .dream-apartment {
    color: rgba(128, 128, 128, 1);
  }
  .infinite {
    padding: 3rem 1rem;
  }
  .infinite img {
    height: 300px;
    position: absolute;
    left: 10%;
  }
  .faq-header h2 {
    font-size: 24px;
  }
  .hide {
    display: none;
  }
  .explore-btn {
    visibility: visible;
  }
  .post {
    display: block;
    text-align: center;
  }
  .post p,
  .discover p,
  .post a {
    display: none;
  }
  .post h2 {
    text-align: center;
    padding-block: 1rem;
    font-size: 24px;
  }
  .explore-prop {
    padding-inline: 10px;
  }
  .explore-prop h2 {
    font-size: 20px;
  }
  .right-roommie-div {
    color: var(--ash);
    padding-block: 1rem;
  }
  .right-roommie {
    font-size: 32px;
  }
  .fia-link,
  .apartment-locations {
    background: transparent;
  }
  .testimonial-heading h2 {
    font-size: 20px;
  }
  .testimonial-heading p {
    font-size: 14px;
  }
  .subscribe-text h2 {
    font-size: 28px;
    padding-bottom: 5px;
  }
}
@media (max-width: 745px) {
  .subscribe-frame {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
  }
  .subscribe-bt {
    margin-top: 1.5rem;
  }
}
@media (max-width: 630px) {
  .faq-section,
  .faq-container {
    padding: 1rem;
  }
  .faq-question,
  .faq-answer,
  .faq-header p {
    font-size: 14px;
  }
  .why-us-text h3 {
    font-size: 20px;
  }
}
@media (max-width: 639px) {
  .wwd-card-parent {
    flex-direction: row;
    gap: 20px;
  }
  .wwd-card-parent-2 {
    flex-direction: row-reverse;
    gap: 20px;
  }
}
@media (max-width: 592px) {
  .fia-link a,
  .select-div p,
  .select-div select {
    font-size: 12px;
  }
  .subscribe-text h2 {
    font-size: 20px;
  }
  .subscribe-text span,
  .subscribe-text a {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .logo a {
    font-size: 18px;
  }
  .footer-bottom,
  .contact-us {
    flex-direction: column;
  }
  .socials {
    margin-top: 30px;
    justify-content: center;
    order: 3;
  }
  .choose-your-rommie {
    text-align: center;
    color: var(--ash);
  }
  .choose-your-rommie h2 {
    font-size: 24px;
  }
  .infinite strong {
    font-size: 34px;
  }
  .subscribe-text span {
    margin-top: 5spx;
  }
}
@media (max-width: 440px) {
  .faq-container {
    padding: 1rem;
  }
  .faq-header {
    margin-bottom: 10px;
  }
  .fia-link,
  .fia-links {
    flex-wrap: wrap;
    padding: 3px;
  }
  .apartment-locations {
    height: 200px;
  }
}
@media (max-width: 418px) {
  .search-div {
    margin-top: 5px;
  }
}
@media (max-width: 400px) {
  .fia-link {
    justify-content: center;
    gap: 10px;
  }
}
@media (max-width: 367px) {
  figure img {
    max-width: 250px;
  }
  .select-div select {
    font-size: 10px;
  }
  .bg-bg {
    height: auto;
  }
  @media (max-width: 320px) {
    .faq-question,
    .faq-answer {
      font-size: 12px;
    }
  }
  @media (min-width: 769px) {
    #mobile-menu-btn {
      display: none;
    }
  }
}
