*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --clr-gold: #c9a84c;
  --clr-white: #ffffff;
  --clr-bg-light: #f5f5f5;
  --clr-text-muted: #555555;
  --clr-border: #dddddd;
  --clr-border-light: #eeeeee;

  --space-sm: clamp(1rem, 3vw, 1.875rem);
  --space-md: clamp(1.5rem, 5vw, 3.75rem);
  --space-lg: clamp(2.5rem, 8vw, 6.25rem);

  --page-x: clamp(1.25rem, 6vw, 5rem);
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 100%;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.875rem) var(--page-x);
  flex-wrap: wrap;
}

#Logo {
  color: var(--clr-white);
  font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}

.nav-links {
  display: flex;
  gap: clamp(0.75rem, 3vw, 1.875rem);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--clr-white);
  font-weight: 500;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  white-space: nowrap;
}

.work-btn {
  border: none;
  padding: clamp(0.625rem, 2vw, 0.9375rem) clamp(1.125rem, 3vw, 1.875rem);
  border-radius: 0.5rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--clr-white);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  white-space: nowrap;
}

header {
  background-image: url(images/house.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 100vh;
  margin-bottom: clamp(3.75rem, 12vw, 9.375rem);
}

.hero-text {
  color: var(--clr-white);
  margin-left: var(--page-x);
  padding-top: clamp(5rem, 15vw, 8.75rem);
}

h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: min(17.5rem, 80vw);
  font-family: 'Inter', sans-serif;
}

.hero-text p {
  max-width: min(15rem, 80vw);
  line-height: 1.4;
  font-weight: 300;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.foot {
  display: flex;
  justify-content: center;
}

.foot1 {
  margin-top: clamp(3.75rem, 10vw, 10rem);
  background-color: var(--clr-white);
  width: min(75%, 60rem);
  padding: clamp(1.5rem, 4vw, 3.125rem) clamp(1.25rem, 4vw, 3.125rem);
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 3vw, 1.875rem);
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.about {
  display: flex;
  align-items: stretch;
  background: var(--clr-white);
  overflow: hidden;
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 20rem;
  min-height: 18.75rem;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  flex: 1 1 20rem;
  padding: var(--space-md) var(--page-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.about-text h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  padding-top: 1rem;
  max-width: 37.5rem;
}

.about-text p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.6;
  color: var(--clr-text-muted);
  max-width: min(20rem, 100%);
}

.learn-btn {
  color: var(--clr-white);
  border: none;
  padding: clamp(0.625rem, 2vw, 0.875rem) clamp(1.125rem, 3vw, 1.75rem);
  cursor: pointer;
  font-weight: 500;
  width: fit-content;
  border-radius: 0.25rem;
  font-size: clamp(0.85rem, 2vw, 1rem);
}

.search-section {
  background: var(--clr-bg-light);
  padding: var(--space-md) var(--page-x);
}

.search-section h3 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.search-bar {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--clr-border);
  border-radius: 1rem;
  overflow: hidden;
  width: 100%;
  max-width: 50rem;
  background: var(--clr-white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.search-item {
  padding: clamp(0.875rem, 2.5vw, 1.5rem) clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  flex: 1 1 7.5rem;
  justify-content: space-between;
  gap: 0.5rem;
  cursor: pointer;
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 500;
  border-right: 1px solid var(--clr-border-light);
  white-space: nowrap;
}

.search-item:last-child {
  border-right: none;
}

.search-item:hover {
  background: var(--clr-bg-light);
}

.arrow {
  display: inline-block;
  transform: rotate(90deg);
  font-size: 1rem;
  color: black;
  font-weight: 600;
  margin-left: 0.5rem;
}

.Malto-house {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
  gap: 1.5rem;
  padding: var(--space-md) var(--page-x);
}

.Malto-house div {
  cursor: pointer;
}

.section4 {
  display: flex;
  align-items: stretch;
  background: var(--clr-white);
  overflow: hidden;
  flex-wrap: wrap;
}

.section4-text {
  flex: 1 1 20rem;
  padding: var(--space-md) var(--page-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  order: 1;
}

.section4-text h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  padding-top: 1rem;
  max-width: 37.5rem;
}

.section4-text p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.6;
  color: var(--clr-text-muted);
  max-width: min(20rem, 100%);
}

.section4-img {
  flex: 1 1 20rem;
  min-height: 18.75rem;
  order: 2;
}

.section4-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section5 {
  display: grid;
  justify-content: center;
  align-items: center;
  background-image: url(images/goldenbgc.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  font-family: 'Inter', sans-serif;
  color: var(--clr-white);
  padding: var(--space-lg) var(--page-x);
}

.section5 h2 {
  text-align: center;
  margin-bottom: 0;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
}

.section5-text {
  display: grid;
  justify-content: center;
  align-items: center;
  color: var(--clr-text-muted);
  max-width: min(20rem, 90vw);
  margin-left: clamp(0px, 5vw, 2.5rem);
  line-height: 1.4;
  gap: 0.25rem;
}

.golden-line {
  margin-left: clamp(1.25rem, 8vw, 6.25rem);
}

.learn-btn2 {
  color: black;
  border: none;
  padding: clamp(0.625rem, 2vw, 0.875rem) clamp(1.125rem, 3vw, 1.75rem);
  cursor: pointer;
  font-weight: 500;
  width: fit-content;
  border-radius: 0.25rem;
  font-size: clamp(0.85rem, 2vw, 1rem);
}

.section6 {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: stretch;
  padding: var(--space-md) var(--page-x);
}

.section6-container {
  display: grid;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.section6-text {
  width: min(15rem, 80vw);
  font-weight: 700;
  text-align: center;
  margin: auto;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.section6-grid {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 1.25rem;
  margin-top: 1.875rem;
}

.section7 {
  background-image: url(images/goldenbgc.png);
  background-size: cover;
  font-family: 'Inter', sans-serif;
  color: var(--clr-white);
  padding: var(--space-md) var(--page-x);
}

.section7-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 2.5rem;
}

.section7-text span {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.column-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.75rem, 1fr));
  gap: clamp(1.25rem, 4vw, 2.5rem);
}

.footer-logo-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.column-heading {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--clr-white);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.column-container div div {
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.625rem;
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
}

.social-icons {
  display: flex;
  gap: 1rem;
  color: rgba(255,255,255,0.7);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .search-item {
    border-right: none;
    border-bottom: 1px solid var(--clr-border-light);
    flex: 1 1 100%;
  }
  .search-item:last-child {
    border-bottom: none;
  }

  .section4-img {
    order: 3;
  }
}