* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body,
html {
  height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  background: url("./assets/images/hero.jpg") no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
  padding: 20px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.hero > * {
  position: relative;
  z-index: 2;
}

/* NAVBAR */
.navbar {
  margin-top: clamp(20px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: clamp(10px, 2vw, 15px) clamp(20px, 4vw, 40px);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  max-width: 1300px;
  min-height: 60px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  width: clamp(24px, 4vw, 30px);
  height: auto;
}

.logo-name {
  font-weight: 700;
  font-size: clamp(20px, 4vw, 28px);
  font-family: "Maitree", serif;
  color: #2563eb;
}

.nav-links {
  display: flex;
  gap: clamp(15px, 3vw, 25px);
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: #111;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.cta {
  display: flex;
  gap: clamp(8px, 2vw, 15px);
  flex-shrink: 0;
}

.cta button {
  padding: clamp(8px, 1.5vw, 10px) clamp(15px, 3vw, 20px);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 600;
  border: 2px solid #2563eb;
}

.login {
  color: #2563eb;
  background: transparent;
}

.login:hover {
  background: #2563eb;
  color: white;
}

.signup {
  color: #fff;
  background: #2563eb;
}

.signup:hover {
  background: transparent;
  color: #2563eb;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #2563eb;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.hamburger:hover {
  background: rgba(37, 99, 235, 0.1);
}

/* Mobile dropdown menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  width: 95%;
  max-width: 400px;
  margin: 15px auto 0;
  padding: 20px;
  border-radius: 12px;
  gap: 15px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  font-weight: 500;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu a:hover {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.mobile-menu button {
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid #2563eb;
  transition: all 0.3s ease;
}

.mobile-menu .login {
  background: transparent;
  color: #2563eb;
}

.mobile-menu .login:hover {
  background: #2563eb;
  color: white;
}

.mobile-menu .signup {
  background: #2563eb;
  color: #fff;
}

.mobile-menu .signup:hover {
  background: transparent;
  color: #2563eb;
}

/* HERO CONTENT */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(40px, 8vw, 80px) 20px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(28px, 8vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: clamp(15px, 3vw, 20px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: clamp(16px, 3vw, 20px);
  line-height: 1.6;
  margin-bottom: clamp(25px, 5vw, 35px);
  opacity: 0.9;
}

.hero-content .btn {
  padding: clamp(12px, 2.5vw, 16px) clamp(25px, 5vw, 35px);
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: clamp(16px, 3vw, 18px);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;

  transform: translateY(0);
}

.hero-content .btn:hover {
  transform: translateY(-2px);
}

/* ===================== RESPONSIVE BREAKPOINTS ===================== */

/* Large tablets and small laptops */
@media (max-width: 1024px) {
  .navbar {
    padding: 12px 25px;
  }

  .nav-links {
    gap: 20px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .nav-links,
  .cta {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu.show {
    display: flex;
  }

  .navbar {
    padding: 12px 20px;
  }

  .hero {
    padding: 15px;
  }
}

/* Small tablets and large phones */
@media (max-width: 640px) {
  .navbar {
    width: 98%;
    margin-top: 15px;
    padding: 10px 15px;
  }

  .mobile-menu {
    width: 98%;
    padding: 15px;
  }

  .hero-content {
    padding: 30px 15px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .logo-name {
    font-size: 18px;
  }

  .navbar {
    min-height: 50px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .hero-content .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Extra small phones */
@media (max-width: 320px) {
  .logo-name {
    font-size: 16px;
  }

  .hamburger {
    font-size: 24px;
  }

  .hero-content h1 {
    font-size: 20px;
  }

  .hero-content p {
    font-size: 13px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .navbar {
    backdrop-filter: blur(15px);
  }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 10px;
  }

  .navbar {
    margin-top: 10px;
  }

  .hero-content {
    padding: 20px 15px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }
}
/* PROPERTIES SECTION */
.properties {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 700;
  margin-bottom: 15px;
  color: #111;
}

.section-header p {
  font-size: clamp(15px, 2.5vw, 18px);
  line-height: 1.6;
  color: #111;
}

/* Cards Layout */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: #f5f7fb;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
  color: #555;
}

.card a {
  text-decoration: none;
  font-weight: 600;
  color: #2563eb;
  transition: color 0.3s ease;
}

.card a:hover {
  color: #1e40af; /* darker blue */
}

/* POPULAR LISTINGS */
.listings {
  padding: 80px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.listings .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.listings .section-header h2 {
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.listings .section-header p {
  font-size: clamp(15px, 2.5vw, 18px);
  color: #555;
  line-height: 1.6;
}

/* Grid layout */
/* Grid layout - 2 rows, 3 columns */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Mobile & tablet responsiveness */
@media (max-width: 992px) {
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .listings-grid {
    grid-template-columns: 1fr;
  }
}

/* Individual card */
.listing-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}

.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.listing-card img {
  width: 100%;
  height: 270px;
  /* object-fit: cover; */
}

.listing-info {
  padding: 20px;
  text-align: left;
}

.listing-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.listing-info .name {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin-bottom: 6px;
}

.listing-info .location {
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
}
.location img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}
.location {
  display: flex;
  align-items: center;
  gap: 6px;
}

.features {
  padding: 80px 40px;
  background: #fff;
  text-align: center;
}

.features-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #111;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-card {
  background: #f5f7fb;
  padding: 30px 20px;
  border-radius: 15px;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: left;
  gap: 15px;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111;
}

.feature-card p {
  font-size: 16px;
  color: #111;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}
.faq-section {
  padding: 80px 40px;
  background: #fff;
}

.faq-container {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.faq-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.faq-content {
  flex: 1;
}

.faq-content h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #111827;
}

.faq-item {
  margin-bottom: 15px;

  padding-bottom: 10px;
  margin-top: 30px;
}

.faq-question {
  width: 100%;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #2563eb;
  background: none;
  border: none;
  padding: 12px 0;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-question:hover {
  color: #1e40af;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  font-size: 16px;
  color: #4b5563;
  margin-top: 5px;
  line-height: 1.6;
}

/* Open state */
.faq-item.active .faq-answer {
  max-height: 200px;
}

/* Responsive */
@media (max-width: 1024px) {
  .faq-container {
    flex-direction: column;
    align-items: center;
  }

  .faq-image img {
    max-width: 100%;
  }
}
.faq-question {
  width: 100%;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #2563eb;
  background: none;
  border: none;
  padding: 12px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question .arrow {
  font-size: 16px;
  transition: transform 0.3s ease;
}

/* Rotate arrow when active */
.faq-item.active .arrow {
  transform: rotate(180deg);
}

/* CTA Section */
.cta-section {
  position: relative;
  background: url("./assets/images/cta.jpg") no-repeat center center/cover;
  margin-left: 60px;
  margin-right: 60px;
  border-radius: 50px;
  padding: 80px 40px;
  text-align: center;
  color: #fff;
  margin-bottom: 80px;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50px;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: clamp(16px, 3vw, 20px);
  margin-bottom: 25px;
  opacity: 0.9;
}

.cta-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cta-form input {
  padding: 14px 18px;
  border-radius: 8px;
  border: none;
  outline: none;
  width: 280px;
  max-width: 100%;
  font-size: 16px;
}

.cta-form button {
  padding: 14px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  background: #2563eb;
  color: #fff;
  transition: all 0.3s ease;
}

.cta-form button:hover {
  background: #1742b5;
  transform: translateY(-2px);
}
.footer {
  background: linear-gradient(180deg, #101010 12.02%, #2563eb 100%);
  color: white;
  padding: 80px 40px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 15px;
}

.footer-brand h2 {
  font-family: "Maitree", serif;
  font-size: 28px;
  font-weight: 700;
  color: #2563eb;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-column a {
  color: #dcdcdc;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: left;
  margin-top: 40px;
  border-top: 1px solid #fff;
  padding-top: 40px;
  font-size: 24px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}
