@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

header {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

header a {
  background: linear-gradient(135deg, #228ee6, #02569c);
  border: none;
  color: white !important;
}

.text-gradient {
  background: linear-gradient(135deg, #228ee6, #02569c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.5rem;
}

/* ===== Hero Section ===== */
.hero-section {
  padding: 6rem 0 6rem;
  text-align: center;
  position: relative;
  background-image: url("hero-bg.png");
  background-size: cover;
  background-position: 50% 0;
  color: white;
}
.hero-section h1 {
  font-size: 3rem;
  max-width: 900px;
  margin: 0 auto;
}
.hero-section .text-gradient {
  font-size: 1.5rem;
  max-width: 700px;
  margin: 14px auto;
}

.hero-buttons .btn-gradient {
  background: linear-gradient(135deg, #228ee6, #02569c);
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 6px;
  padding: 0.6rem 1.5rem;
}

.btn-gradient:hover {
  opacity: 0.9;
}

.floating-msg {
  position: absolute;
  background: #dfe1ec;
  color: #333;
  padding: 12px 18px;
  border-radius: 4px;
  box-shadow: 24px 17px #00000005;
  opacity: 1;
  transition: all 0.6s ease-out;
  font-weight: 500;
  font-size: 0.8rem;
}

/* Close to phone on desktop */
.msg-top-left {
  top: 0;
  left: 12%;
}

.msg-top-right {
  top: 0;
  right: 12%;
}

.msg-bottom-left {
  top: 15%;
  left: 10%;
}

.msg-bottom-right {
  top: 15%;
  right: 15%;
}

/* ===== Phone Frame ===== */
.phone-frame {
  position: relative;
  width: 340px;
  height: 620px;
  border: 3px solid #c9c9c9;
  background: linear-gradient(145deg, #111 0%, #222 100%);
  border-radius: 45px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  padding: 12px;
  box-sizing: border-box;
}

/* ===== Inner Screen ===== */
.phone-inner {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 35px;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 14px;
  position: relative;
}

/* ===== Notch ===== */
.phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 14px;
  z-index: 10;
}

.volume-buttons {
  position: absolute;
  left: -6px;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* space between buttons */
  z-index: 10;
}

.volume-buttons span {
  width: 4px;
  height: 60px;
  background: linear-gradient(to right, #d0d0d0, #f2f2f2, #c0c0c0);
  border-radius: 2px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.power-button {
  position: absolute;
  right: -5px;
  top: 220px;
  width: 5px;
  height: 40px;
  background: linear-gradient(to right, #d0d0d0, #f2f2f2, #c0c0c0);
  border-radius: 2px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

/* ===== Chat & Image ===== */
.property-slide img {
  width: 100%;
  height: 180px;
  border-radius: 1rem;
  object-fit: cover;
  margin-top: 20px;
}

.property-slide {
  background: #f9fafb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}

.property-slide img {
  width: 100%;
  height: 150px;
  /* smaller image as you asked */
  object-fit: cover;
  display: block;
}

.property-info {
  padding: 10px 12px;
}

.property-name {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin: 0 0 4px;
}

.property-location {
  font-size: 13px;
  color: #666;
  margin-bottom: 0;
}

.chat-message {
  background: #dde3eb;
  color: #333;
  padding: 8px;
  border-radius: 16px;
  margin-top: 15px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.chat-message.show {
  opacity: 1;
  transform: translateY(0);
}

.floating-msg.hide {
  opacity: 0;
  transform: translateY(30px);
}

.desk-messages {
  display: block;
}

.mobile-messages {
  display: none;
}

.searchBar {
  background: transparent;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: fit-content;
}

.waitlist-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.waitlist-form input {
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
  width: 200px;
  transition: all 0.3s ease;
}

.waitlist-form input:focus {
  border-color: #228ee6;
  /* accent color */
}

.waitlist-form button {
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: white;
  font-weight: 600;
  background: linear-gradient(135deg, #e8e2dc, #c49b66);
  transition: all 0.3s ease;
}

.waitlist-form button:hover {
  background: linear-gradient(135deg, #c49b66, #e8e2dc);
}

/* JOIN US SECTION */
.joinus-section {
  position: relative;
  width: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 16px;
  background-image: url("8.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Heading */
.joinus-section .heading {
  font-size: 3rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.joinus-section .subtext {
  font-size: 1.1rem;
  color: #d1d5db;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out 0.2s;
}

/* Form */
.joinus-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  padding: 10px 12px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  margin: 0 auto;
  transition: all 0.6s ease-out 0.3s;
  opacity: 0;
  transform: scale(0.95);
}

/* Inner input area with icon */
.input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 50px;
  padding: 10px 16px;
}

.input-wrapper i {
  color: #228ee6;
  font-size: 1.1rem;
}

.joinus-form input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 1rem;
  color: #333;
}

.joinus-form input::placeholder {
  color: #999;
}

/* Button */
.joinus-form button {
  border: none;
  background: linear-gradient(135deg, #228ee6, #02569c);
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.joinus-form button:hover {
  background: linear-gradient(135deg, #3489ce, #02569c);
  transform: translateY(-2px);
}

/* Animation when visible */
.animate-on-scroll.visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* ===== Section Wrapper ===== */
.business-section {
  background: linear-gradient(to bottom right, #f8fafc, #eff6ff);
  padding: 60px 0;
  font-family: "Inter", sans-serif;
}

/* Responsive card container using CSS Grid */
.business-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

/* ===== Card Style ===== */
.business-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.business-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

/* ===== Image ===== */
.business-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

/* ===== Text ===== */
.business-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #222;
}

.business-card small {
  color: #777;
  font-size: 0.9rem;
}

/* Testimonials */
.testimonials-section {
  background: linear-gradient(to bottom right, #f8fafc, #eff6ff);
  /* from-slate-50 to-blue-50 */
  padding: 100px 20px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 60px;
  text-align: center;
}

.testimonial-card {
  max-width: 700px;
  height: 300px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 2.5rem 2rem;
}

.testimonial-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  font-style: italic;
}

.stars i {
  color: #ffc107;
  font-size: 1.2rem;
  margin: 0 2px;
}

.author img {
  width: 65px;
  height: 65px;
  object-fit: fill;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-size: 60%;
}

/* Footer */

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* Logo */
.footer-logo {
  width: 180px;
  margin-bottom: 20px;
}

/* Text */
.footer-text {
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Headings */
.footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Social icons */
.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #1f2937;
  color: #fff;
  transition: background 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: #2563eb;
}

/* Contact section */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #9ca3af;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.contact-item a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #fff;
}

.contact-icon {
  color: #60a5fa;
  font-size: 1rem;
  margin-top: 3px;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

/* Newsletter */
.newsletter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter input {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #374151;
  background: #1f2937;
  color: #fff;
  outline: none;
  font-size: 0.95rem;
}

.newsletter input::placeholder {
  color: #9ca3af;
}

.newsletter button {
  padding: 10px 16px;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter button:hover {
  background: #1d4ed8;
}

/* Footer bottom */
.footer {
  background: #111827;
  color: #fff;
  padding: 80px 20px 40px;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  margin-top: 50px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #9ca3af;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #fff;
}

.app-download-section {
  background-image: url("8.png");
  background-size: cover;
  background-position: 0 50%;
  color: #fff;
}

/* ===== Container Flex Layout ===== */
.app-download-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Left Image ===== */
.app-download-image {
  flex: 1 1 45%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-download-image img {
  max-width: 100%;
  height: 450px;
  border-radius: 30px;
  align-items: end;
}

/* ===== Right Text ===== */
.app-download-text {
  flex: 1 1 45%;
}

.app-download-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.app-download-text p {
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 500px;
}

/* ===== Buttons ===== */
.app-download-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: start;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #000;
  border-radius: 50px;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  min-width: 200px;
  justify-content: center;
}
.app-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.app-btn i {
  font-size: 1.4rem;
}

.app-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);
}

.faq-section {
  padding: 60px 0;
}

.faq-title {
  color: #1b1c57;
  font-weight: 700;
  font-size: 36px;
}

.faq-title span {
  color: #228ee6;
}

.faq-subtitle {
  color: #555;
  font-size: 16px;
  margin-bottom: 40px;
}

.accordion-item {
  border: none;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.05);
}

.accordion-button {
  color: #1b1c57;
  font-weight: 600;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  color: #333;
  background-color: #fff;
  border-radius: 0 0 10px 10px;
}

.faq-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  height: 400px;
}

.sticky-col {
  position: sticky;
  top: 120px;
  align-self: flex-start;
}

.property-section {
  text-align: center;
  padding: 60px 0;
  background: linear-gradient(to bottom right, #f8fafc, #eff6ff);
}

.property-section h2 {
  margin-bottom: 40px;
}

.property-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 25px 20px;
  transition: all 0.3s ease;
}

/* .property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
} */

.property-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.property-card h5 {
  color: #1b1c57;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}

.property-card .number {
  font-size: 28px;
  font-weight: 700;
  color: #001b73;
}

.modal-content {
  border-radius: 12px;
  overflow: hidden;
}

.modal-footer {
  background-color: white !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  /* .hero-buttons button:nth-child(2) {
    margin-top: 14px;
  } */

  .desk-messages {
    display: none;
  }

  .mobile-messages {
    margin-top: 14px;
    display: block;
  }

  .floating-msg {
    position: relative;
    display: block;
    margin: 10px auto;
    left: 0;
    right: 0;
    width: fit-content;
    text-align: center;
  }

  .msg-top-left,
  .msg-top-right,
  .msg-bottom-left,
  .msg-bottom-right {
    top: auto;
    bottom: auto;
  }

  .joinus-form {
    flex-direction: column;
    border-radius: 20px;
    padding: 16px;
    gap: 12px;
  }

  .input-wrapper {
    width: 100%;
    border-radius: 12px;
    padding: 12px 16px;
  }

  .joinus-form button {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
    border-radius: 12px;
  }

  .business-card {
    flex: 1 1 calc(50% - 25px);
  }

  .app-download-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 22px;
  }

  .app-download-text {
    padding: 20px;
  }

  .faq-title {
    color: #1b1c57;
    font-weight: 700;
    font-size: 20px;
    margin-top: 14px;
  }

  .faq-subtitle {
    font-size: 14px;
  }

  .sticky-col {
    position: static;
    align-self: unset;
  }

  .faq-image img {
    height: auto;
  }

  .text-gradient {
    font-size: 2rem;
  }

  .modal-dialog {
    max-width: 95%;
    margin: auto;
  }

  .chat-message {
    padding: 5px 10px;
    font-size: 14px;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .author img {
    width: 48px;
    height: 48px;
  }
  .testimonial-card {
    height: 360px;
  }
  .joinus-section {
    padding: 40px 16px;
  }
  .joinus-section .heading {
    font-size: 2rem;
  }
  .hero-section h1 {
    font-size: 2.5rem;
  }
  .hero-section .text-gradient {
    font-size: 1.2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 500px) {
  .phone-frame {
    width: 260px;
    height: 520px;
  }

  .message,
  .property-card {
    transform: translateY(40px);
  }

  .hero-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .display-3 {
    font-size: 2rem;
    line-height: 1.4;
  }

  .searchBar {
    position: static;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    justify-content: center;
  }

  .waitlist-form {
    flex-direction: column;
    gap: 8px;
  }

  .waitlist-form input {
    width: 90%;
  }

  .phone-frame {
    width: 260px;
    height: 500px;
  }

  .footer {
    padding: 50px 16px 30px;
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-logo {
    margin: 0 auto 16px;
  }

  .social-links {
    justify-content: left;
  }

  .contact-item {
    justify-content: left;
  }

  .footer-links a {
    display: inline-block;
    padding: 4px 0;
  }

  .newsletter {
    align-items: center;
  }

  .newsletter input {
    width: 100%;
  }

  .newsletter button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 6px;
  }

  .section-title {
    font-size: 1.7rem;
    margin-bottom: 20px;
  }

  .app-download-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .app-download-text h2 {
    font-size: 1.5rem;
    margin-top: 20px;
  }

  .app-download-text p {
    margin: 0 auto 25px;
    font-size: 1rem;
  }

  .app-download-buttons {
    justify-content: center;
  }

  .faq-section {
    padding: 20px;
  }

  .faq-section .accordion-button {
    font-weight: 500;
    font-size: 14px;
  }

  .faq-section .accordion-body {
    font-size: 12px;
    line-height: 1.8;
  }

  .faq-section .accordion-button::after {
    background-size: 14px;
  }

  .testimonials-section {
    padding: 40px 20px;
  }

  .business-card h5 {
    font-size: 1.5rem;
  }
  .testimonials-section .carousel-control-next,
  .carousel-control-prev {
    top: 60px;
  }
  .testimonials-section .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 32px;
    height: 32px;
  }
  .testimonials-section .carousel-control-next {
    right: -20px;
  }
  .testimonials-section .carousel-control-prev {
    left: -20px;
  }
  .input-wrapper input {
    font-size: 0.9rem;
  }

  .joinus-form button {
    font-size: 0.9rem;
  }
  .property-section {
    padding: 40px 0;
  }
  .property-section h2 {
    margin-bottom: 0px;
  }
}