/* ================= TRUSTED PARTNER SECTION ================= */

.trusted-section {
  padding: 75px 0;
  background:
    radial-gradient(circle at top left, rgba(24, 169, 107, 0.07), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f4fbfc 100%);
}

.trusted-container {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
}

.trusted-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 70px rgba(8, 22, 59, 0.12);
  border: 1px solid rgba(8, 22, 59, 0.06);
}

.trusted-content {
  padding: 54px 52px;
}

.section-tag {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(24, 169, 107, 0.1);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.section-tag i {
  color: var(--green);
}

.trusted-content h2 {
  max-width: 500px;
  color: var(--navy);
  font-size: clamp(30px, 2.6vw, 42px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -1px;
}

.trusted-content p {
  max-width: 540px;
  margin-top: 20px;
  color: #344054;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
}

.trusted-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn-primary,
.btn-outline {
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(8, 22, 59, 0.2);
}

.btn-primary:hover {
  background: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(24, 169, 107, 0.24);
}

.btn-outline {
  color: var(--navy);
  background: #ffffff;
  border: 1px solid rgba(8, 22, 59, 0.16);
}

.btn-outline:hover {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-3px);
}

.trusted-image {
  height: 100%;
  min-height: 430px;
  position: relative;
  overflow: hidden;
}

.trusted-image::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  z-index: 2;
  pointer-events: none;
}

.trusted-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  display: block;
  transition: 0.5s ease;
}

.trusted-card:hover .trusted-image img {
  transform: scale(1.035);
}



/* ================= RESPONSIVE ================= */

@media (max-width: 1050px) {
  .trusted-card {
    grid-template-columns: 1fr;
  }

  .trusted-content {
    padding: 52px 44px;
  }

  .trusted-image,
  .trusted-image img {
    min-height: 360px;
  }
}

@media (max-width: 650px) {
  .trusted-section {
    padding: 58px 0;
  }

  .trusted-container {
    width: min(100% - 32px, 520px);
  }

  .trusted-card {
    border-radius: 20px;
  }

  .trusted-content {
    padding: 34px 24px;
  }

  .trusted-content h2 {
    font-size: 29px;
  }

  .trusted-content p {
    font-size: 15px;
    line-height: 1.75;
  }

  .trusted-actions {
    align-items: stretch;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }

  .trusted-image,
  .trusted-image img {
    min-height: 290px;
  }

  .trusted-image::after {
    left: 18px;
    bottom: 18px;
  }
}
/* ================= RESPONSIVE ================= */

@media (max-width: 1050px) {
  .trusted-card {
    grid-template-columns: 1fr;
  }

  .trusted-content {
    padding: 64px 52px;
  }

  .trusted-image {
    min-height: 420px;
  }

  .trusted-image img {
    min-height: 420px;
  }
}

@media (max-width: 650px) {
  .trusted-section {
    padding: 72px 0;
  }

  .trusted-container {
    width: min(100% - 32px, 520px);
  }

  .trusted-card {
    border-radius: 22px;
  }

  .trusted-content {
    padding: 42px 26px;
  }

  .trusted-content h2 {
    font-size: 32px;
  }

  .trusted-content p {
    font-size: 16px;
    line-height: 1.75;
  }

  .trusted-actions {
    align-items: stretch;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }

  .trusted-image {
    min-height: 320px;
  }

  .trusted-image img {
    min-height: 320px;
  }

  .trusted-image::after {
    left: 20px;
    bottom: 20px;
  }
}


/* ================= DREAM HOME CTA SECTION ================= */

.dream-home-section {
  min-height: 340px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(8, 22, 59, 0.42) 0%,
      rgba(8, 22, 59, 0.28) 48%,
      rgba(24, 169, 107, 0.18) 100%
    ),
    url("../images/pexels-siddanth-sawant-178759136-28464697-scaled.jpg") center/cover no-repeat;
}

.dream-home-overlay {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 24px;
}

.dream-home-content {
  max-width: 880px;
  text-align: center;
  color: #ffffff;
}

.dream-home-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.dream-home-content h2 {
  color: #ffffff;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -1.2px;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}

.dream-home-content p {
  max-width: 720px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 600;
}

.dream-home-btn {
  margin-top: 30px;
  height: 54px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-radius: 10px;
  background: var(--blue);
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(6, 71, 168, 0.28);
  transition: 0.25s ease;
}

.dream-home-btn:hover {
  background: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(24, 169, 107, 0.28);
}

.dream-home-btn i {
  font-size: 14px;
  transition: 0.25s ease;
}

.dream-home-btn:hover i {
  transform: translateX(4px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .dream-home-section,
  .dream-home-overlay {
    min-height: 300px;
  }

  .dream-home-overlay {
    padding: 58px 22px;
  }

  .dream-home-content h2 {
    font-size: 36px;
  }

  .dream-home-content p {
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .dream-home-content {
    text-align: left;
  }

  .dream-home-tag {
    justify-content: flex-start;
    font-size: 12px;
  }

  .dream-home-content h2 {
    font-size: 32px;
  }

  .dream-home-btn {
    width: 100%;
  }
}

/* ================= HOME TYPES SECTION ================= */

.home-types-section {
  padding: 80px 0 90px;
  background: #ffffff;
}

.home-types-container {
  width: min(1320px, calc(100% - 72px));
  margin: 0 auto;
}

.home-types-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.home-types-line {
  width: 84px;
  height: 4px;
  display: block;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--navy);
}

.home-types-heading h2 {
  color: #050505;
  font-size: clamp(34px, 3vw, 54px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -1px;
}

.home-types-heading p {
  margin-top: 14px;
  color: #49b99a;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
}

/* Grid */
.home-types-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* Card */
.home-type-card {
  min-height: 116px;
  display: grid;
  grid-template-columns: 110px 1fr 44px;
  align-items: center;
  gap: 18px;
  padding: 12px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(8, 22, 59, 0.12);
  text-decoration: none;
  transition: 0.28s ease;
  box-shadow: 0 8px 24px rgba(8, 22, 59, 0.04);
}

.home-type-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 169, 107, 0.32);
  box-shadow: 0 16px 34px rgba(8, 22, 59, 0.1);
}

.home-type-image {
  width: 110px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e5e7eb;
}

.home-type-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.35s ease;
}

.home-type-card:hover .home-type-image img {
  transform: scale(1.06);
}

.home-type-content h3 {
  color: #111827;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 6px;
}

.home-type-content span {
  color: #8a8a8a;
  font-size: 15px;
  font-weight: 500;
}

.home-type-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 22, 59, 0.06);
  color: var(--navy);
  transition: 0.25s ease;
}

.home-type-card:hover .home-type-icon {
  background: var(--blue);
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1100px) {
  .home-types-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .home-types-section {
    padding: 65px 0 75px;
  }

  .home-types-container {
    width: min(100% - 32px, 560px);
  }

  .home-types-heading {
    margin-bottom: 30px;
  }

  .home-types-heading h2 {
    font-size: 34px;
  }

  .home-types-heading p {
    font-size: 16px;
  }

  .home-types-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-type-card {
    grid-template-columns: 92px 1fr 40px;
    gap: 14px;
    min-height: 100px;
    padding: 10px;
  }

  .home-type-image {
    width: 92px;
    height: 74px;
  }

  .home-type-content h3 {
    font-size: 16px;
  }

  .home-type-content span {
    font-size: 14px;
  }
}

/* ================= TESTIMONIALS SECTION ================= */

.testimonials-section {
  padding: 85px 0 95px;
  background:
    radial-gradient(circle at top left, rgba(24, 169, 107, 0.08), transparent 30%),
    linear-gradient(180deg, #f5fbfc 0%, #ffffff 100%);
}

.testimonials-container {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
}

.testimonials-header {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.testimonials-tag {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.testimonials-header h2 {
  color: #050505;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -1px;
}

.testimonials-header p {
  max-width: 680px;
  margin: 18px auto 0;
  color: #475467;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
}

/* Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Card */
.testimonial-card {
  position: relative;
  min-height: 360px;
  padding: 34px 32px 30px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(8, 22, 59, 0.08);
  box-shadow: 0 24px 65px rgba(8, 22, 59, 0.09);
  overflow: hidden;
  transition: 0.28s ease;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--green);
}

.testimonial-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 32px 80px rgba(8, 22, 59, 0.13);
}

.featured-testimonial {
  border-color: rgba(24, 169, 107, 0.25);
  transform: translateY(-12px);
}

.featured-testimonial:hover {
  transform: translateY(-17px);
}

/* Quote */
.quote-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(24, 169, 107, 0.1);
  color: var(--green);
  font-size: 18px;
}

.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 18px;
  color: #f5b301;
  font-size: 14px;
}

.testimonial-card p {
  color: #1f2937;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 500;
}

/* Author */
.testimonial-author {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  border: 3px solid rgba(24, 169, 107, 0.22);
}

.testimonial-author h4 {
  color: #050505;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.testimonial-author span {
  display: block;
  margin-top: 4px;
  color: #667085;
  font-size: 14px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 1000px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-testimonial {
    transform: none;
  }

  .featured-testimonial:hover {
    transform: translateY(-7px);
  }
}

@media (max-width: 700px) {
  .testimonials-section {
    padding: 65px 0 75px;
  }

  .testimonials-container {
    width: min(100% - 32px, 520px);
  }

  .testimonials-header {
    margin-bottom: 34px;
    text-align: left;
  }

  .testimonials-tag {
    font-size: 12px;
    letter-spacing: 4px;
  }

  .testimonials-header h2 {
    font-size: 32px;
  }

  .testimonials-header p {
    font-size: 15px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-height: auto;
    padding: 30px 26px;
  }
}