* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Montserrat", sans-serif;
}

.hero-section {
  background: url("images/home_section_top.png") no-repeat center center/cover;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 5%;
}

.form-box {
  background: rgba(25, 42, 104, 0.7);
  padding: 30px;
  width: 450px;
  height: 535px;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.form-box h3 {
  color: #ffffff;
  margin-bottom: 20px;
  text-align: center;
}

.form-box form input {
  width: 100%;
  color: #ffffff;
  background-color: transparent;
  border: 1px solid #ffffff;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 12px;
  border-radius: 5px;
}
.tall-input {
  width: 100%;
  font-size: 14px;
  padding: 10px 12px;
  color: #ffffff;
  background-color: transparent;
  border: 1px solid #ffffff;
  border-radius: 5px;
  resize: none; /* prevent manual resizing */
  line-height: 1.5;
  height: calc(1.5em * 3 + 24px); /* 3 lines + vertical padding */
}

.tall-input::placeholder {
  color: #ffffff;
  opacity: 1;
}
.form-box form input::placeholder {
  color: #ffffff;
  opacity: 1;
}

.form-box form button {
  width: 100%;
  padding: 12px;
  background-color: #f36e2e;
  border: none;
  color: #ffffff;
  font-weight: bold;
  margin-top: 25px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-box form button:hover {
  background-color: #d85d1d;
}

/* ✅ Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    justify-content: center;
    padding: 20px;
  }

  .form-box {
    width: 100%;
  }
}

/* 2 section */
.why-choose-section {
  background-color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.why-choose-section h2 {
  font-size: 40px;
  color: #2d1b0b;
  font-weight: 1500;
  margin-bottom: 10px;
}

.why-choose-section .subtitle {
  font-size: 22px;
  color: #4e4037;
  font-weight: 800;
  margin-bottom: 50px;
  line-height: 1.6;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  text-align: left;
  justify-content: center;
  gap: 30px;
}
.card .icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 10px;
}

.card {
  background-color: #d8bfae;
  border-radius: 15px;
  padding: 25px 20px;
  width: 250px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.card .icon {
  font-size: 30px;
  background-color: #fff;
  border-radius: 10px;
  padding: 10px;
  display: inline-block;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 18px;
  color: #2d1b0b;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: #4e4037;
}

/* 3 section */
.dream-home-section {
  background-color: #fff;
  padding: 80px 20px;
}

.dream-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.image-box img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.text-box {
  flex: 1;
}

.text-box h2 {
  font-size: 28px;
  color: #2d1b0b;
  margin-bottom: 15px;
  font-weight: 700;
}

.text-box p {
  font-size: 16px;
  color: #4e4037;
  line-height: 1.6;
  margin-bottom: 30px;
}

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

.stat h3 {
  font-size: 24px;
  color: #2d1b0b;
  margin: 0;
}

.stat p {
  font-size: 14px;
  color: #4e4037;
  margin: 5px 0 0;
}

/* 4 section */
.happy-clients-section {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: left;
  margin-left: 150px;
  margin-bottom: 50px;
}

.section-header-1 {
  display: flex;
  flex-direction: column;
  align-items: left;
  font-weight: 1500;
  margin-bottom: 50px;
}

.dot-icon {
  width: 12px;
  height: 12px;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 28px;
  color: #2d1b0b;
}

.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
  justify-content: center;
}

.testimonial {
  background-color: #f9f9f9;
  padding: 25px;
  width: 250px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
}

.client-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.testimonial p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  min-height: 100px;
}

.client-name {
  font-weight: 600;
  color: #1f50ff;
  margin-bottom: 5px;
}

.client-role {
  font-size: 13px;
  color: #777;
}

/* section 5 */

.listing-banner {
  background: url("images/banner_img.png") no-repeat center center/cover;
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5); /* 50% opacity black */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay h2 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}

/* footer section */

.footer {
  background-color: #1c1b2d;
  color: #ffffff;
  padding: 20px 30px;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer .copyright {
  font-size: 14px;
  margin-left: 10px;
}

.footer .social-icons a {
  margin-left: 10px;
  background-color: #ffffff;
  color: #1c1b2d;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 16px;
  transition: 0.3s;
}

.footer .social-icons a:hover {
  background-color: #f36e2e;
  color: #ffffff;
}
.footer .social-icons {
  display: flex;
  gap: 12px;
}

/* section aboutus */
.about-section {
  position: relative;
  background: #fff;
  padding: 0px 20px 0px;
  text-align: center;
  overflow: hidden;
  margin-top: -50px;
}

/* Decorative shapes */
.circle-bg {
  position: absolute;
  opacity: 0.1;
  width: 180px;
}
.circle-bg.left {
  top: 20%;
  left: -50px;
}
.circle-bg.right {
  top: 10%;
  right: -50px;
}
.square-bg {
  position: absolute;
  width: 60px;
  top: 50%;
  left: 35%;
  opacity: 0.2;
}

/* Image grid layout */
.image-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  position: relative;
}

.img-wrapper {
  position: relative;
  width: 200px;
}

.img-wrapper img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Blue box behind center image */
.h2-box {
  z-index: 1;
}
.h2-box .blue-bg {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background: #e6f0ff;
  border-radius: 10px;
  z-index: -1;
}

/* Corner highlights */
.corner {
  position: absolute;
  width: 12px;
  height: 12px;
  background: transparent;
  border: 4px solid;
}
.top-left.orange {
  top: -6px;
  left: -6px;
  border-color: #f36e2e transparent transparent #f36e2e;
}
.bottom-right.blue {
  bottom: -6px;
  right: -6px;
  border-color: transparent #1d4ed8 #1d4ed8 transparent;
}
.top-right.blue {
  top: -6px;
  right: -6px;
  border-color: #1d4ed8 #1d4ed8 transparent transparent;
}
.bottom-left.orange {
  bottom: -6px;
  left: -6px;
  border-color: transparent transparent #f36e2e #f36e2e;
}

/* About Text */
.about-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}
.about-content .underline {
  width: 60px;
  height: 4px;
  background-color: #000;
  margin: 0 auto 25px;
  border-radius: 5px;
}
.about-content p {
  max-width: 750px;
  margin: 0 auto;
  font-size: 16px;
  color: #444;
  line-height: 1.8;
}

.about-us-bg {
  min-height: 100dvh;
  background: url("./images/about-us-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat !important;
}

@media screen and (max-width: 575.98px) {
  .about-us-bg {
    min-height: 300px;
    background-size: 100% !important;
    background: url("./images/about-us-mobile.png");
  }
}
