/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: #fff;
}

/* INTRO SCREEN */
#intro {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;

  opacity: 1;
  transition: opacity 0.8s ease;
}

#intro::after {
  content: "";
  position: absolute;
  inset: 0;

  z-index: 1;
}

/* BACKGROUND IMAGE */
.intro-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  /* behaves like background-size: cover */
  z-index: 1;
  animation: zoomBg 6s ease forwards;
}


.logo-box {
  position: relative;
  /* REQUIRED */
  z-index: 2;
  /* ABOVE background */
  text-align: center;
  animation: logoIntro 2s ease forwards;
}


.logo-box img {
  width: 350px;
  margin-bottom: 15px;
}

.logo-box h1 {
  color: #000000;
  font-size: 22px;
  letter-spacing: 3px;
}

/* MAIN CONTENT HIDDEN INITIALLY */
#main-content {
  opacity: 0;
  visibility: hidden;
}

/* LOGO ANIMATION */
@keyframes logoIntro {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}


/* ===== NAVBAR ===== */
.main-navbar .real-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

/* CONTAINER */
.nav-container {
  max-width: 1600px;
  margin: auto;
  padding: 30px 100px;

  display: flex;
  align-items: center;
  position: relative;
}

/* LOGO - LEFT */
.logo {
  flex-shrink: 0;
}

.logo img {
  width: 200px;
  height: auto;
}

/* RIGHT SIDE GROUP */
.nav-right {
  margin-left: auto;
  /* ⭐ creates white space */
  display: flex;
  align-items: center;
  gap: 40px;
}

/* MENU */
.menu {
  list-style: none;
  /* ❌ remove dots */
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
}

.menu li {
  margin: 0;
  padding: 0;
}

/* LINKS */
.menu-link {
  position: relative;
  color: #000;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.menu-link:hover {
  color: #666666;
}

/* UNDERLINE HOVER */
.menu-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #666666;
  transition: width 0.3s ease;
}

.menu-link:hover::after {
  width: 100%;
}

/* SEARCH */
.search-box {
  width: 42px;
  height: 42px;
  border: 1px solid #000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-box img {
  width: 25px;
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  pointer-events: none;
}

.search-box:hover {
  background: #8b8b8b;
  border-color: #8b8b8b;
}

.search-box:hover img {
  filter: invert(1);
  transform: scale(1.1);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: #000;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.hamburger span {
  transition: all 0.3s ease;
}




/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  width: 100%;
  display: flex;
  overflow: hidden;
  position: relative;
}


/* COMMON PANEL */
.panel {
  position: relative;
  width: 50%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
  transition: width 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  will-change: width, transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.panel.expanding {
  transition: none !important;
}

.panel-left {
  background: url("image/list-property-second.jpg") center/cover no-repeat;
}

.panel-right {
  background: url("image/find-property-bg3.jpeg") center/cover no-repeat;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* CONTENT */
.content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 400px;
}

.tag {
  display: inline-block;
  padding: 0 20px;

}

.tag-img {
  width: 250px;
  /* adjust size as needed */
  height: auto;
  display: block;
}

.text h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  max-width: 350px;
  ;
}


/* BUTTON */
.hero .hero-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 26px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 30px;
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition:
    opacity 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.hero .panel-right .hero-btn::after {
  content: "→";
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.3s ease;
}


.hero .hero-btn:hover {
  background-color: #000;
  color: #fff;
  transform: translateY(-2px);
}

.hero .panel-right .hero-btn:hover::after {
  transform: translateX(6px);
}

.hero .panel-left .hero-btn::before {
  content: "←";
  display: inline-block;
  margin-right: 6px;
  transition: transform 0.3s ease;
}

.hero .panel-left .hero-btn:hover::before {
  transform: translateX(-6px);
}

/* ===== HOVER-ONLY ANIMATIONS (NO CLICK STATES) ===== */

/* Smooth width animation */
.hero .panel {
  transition:
    width 2.2s cubic-bezier(0.4, 0.0, 0.2, 1.0),
    filter 1.6s ease;
}

/* LEFT panel hover → 70% */
.hero:has(.panel-left:hover) .panel-left {
  width: 70%;
  filter: brightness(1.02);
}

.hero:has(.panel-left:hover) .panel-right {
  width: 30%;
}

/* RIGHT panel hover → 70% */
.hero:has(.panel-right:hover) .panel-right {
  width: 70%;
  filter: brightness(1.02);
}

.hero:has(.panel-right:hover) .panel-left {
  width: 30%;
}

/* Overlay soften on hover */
.hero .panel:hover .overlay {
  background: rgba(0, 0, 0, 0.25);
  transition: background 1.6s ease;
}

/* Text lift on hover */
.hero .panel:hover .content {
  transform: translateY(-20px) scale(1.08);
  transition: transform 1.4s cubic-bezier(0.4, 0.0, 0.2, 1.0);
}

/* Smooth reset */
.content {
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== CLICK ANIMATIONS (EXPAND TO 100%) ===== */

/* Disable hover animations when expanding */
.hero.is-expanding .panel {
  pointer-events: none;
}

.hero.is-expanding:has(.panel-left:hover) .panel-left,
.hero.is-expanding:has(.panel-left:hover) .panel-right,
.hero.is-expanding:has(.panel-right:hover) .panel-right,
.hero.is-expanding:has(.panel-right:hover) .panel-left {
  width: 50% !important;
  filter: none !important;
}

/* Keyframe animation for panel expansion to 100% */
@keyframes expandPanel {
  0% {
    width: 50%;
  }

  100% {
    width: 100%;
  }
}

/* Keyframe animation for panel collapse to 0% */
@keyframes collapsePanel {
  0% {
    width: 50%;
  }

  100% {
    width: 0%;
  }
}

/* Apply expand animation to left panel on click */
.panel-left.expanding {
  animation: expandPanel 2.2s cubic-bezier(0.4, 0.0, 0.2, 1.0) forwards;
  filter: brightness(1.02);
  z-index: 10;
}

.panel-left.expanding~.panel-right {
  animation: collapsePanel 2.2s cubic-bezier(0.4, 0.0, 0.2, 1.0) forwards;
  z-index: 9;
}

/* Apply expand animation to right panel on click */
.panel-right.expanding {
  animation: expandPanel 2.2s cubic-bezier(0.4, 0.0, 0.2, 1.0) forwards;
  filter: brightness(1.02);
  z-index: 10;
}

.panel-right.expanding~.panel-left {
  animation: collapsePanel 2.2s cubic-bezier(0.4, 0.0, 0.2, 1.0) forwards;
  z-index: 9;
}

/* Fade out content during expansion */
.expanding .content {
  animation: fadeOut 1.6s cubic-bezier(0.4, 0.0, 0.2, 1.0) forwards;
}

/* Keyframe for content fade out */
@keyframes fadeOut {
  0% {
    opacity: 1;
    transform: translateY(-8px);
  }

  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}


/* ===== FOOTER ===== */
/* Footer Styles */
.footer {
  width: 100%;
  min-height: 100vh;
  /* keeps same visual height */
  display: flex;
  align-items: flex-end;
  /* push content to bottom */
  /*background-image: url("sketch-img-footer.jpg");*/
  background: #000;
  background-repeat: no-repeat;
  background-position: center bottom;
  /* force bottom */
  background-size: 100% 100%;
  /* wider image */
  padding: 80px 0 30px;
  font-family: 'Montserrat', sans-serif;
}

.footer .container {
  max-width: 1600px;
  margin: auto;
  padding: 150px 100px 0;
  /* EXACT same as navbar */
}


/* ---------- ROW 1 ---------- */
.footer-row-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  margin-bottom: 100px;
}



.footer-social h4,
.footer-subscribe-text h4 {
  font-weight: 600;
  font-size: 24px;
  color: #ffffff;
}

.footer-social {
  display: flex;
  flex-direction: column;
  margin-top: 35px;

}

.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.social-icons a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-icons img {
  width: 22px;
  height: 22px;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover img {
  opacity: 1;
  transform: scale(1.1);
}


.footer-subscribe-form {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-subscribe-form input {
  width: 280px;
  padding: 14px 22px;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 500;
  color: #0a0a0a;
  transition: all 0.3s ease;
}

.footer-subscribe-form input::placeholder {
  color: #353535;
  font-weight: 500;
}

.footer-subscribe-form input:focus {
  outline: none;
  border-color: #f0f0f0;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.footer-subscribe-form button {
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  padding: 14px 22px;
  margin-bottom: 20px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.footer-subscribe-form button:hover {
  background: #cacaca;
  opacity: 1;
  transform: scale(1.05);
}

/* ---------- ROW 2 ---------- */
.footer-row-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 50px;
}

.footer-brand .footer-logo {
  width: 200px;
  /* same visual width as text logo */
  height: auto;
  margin-bottom: 20px;
  display: block;
}

.footer-brand p {
  margin-top: 28px;
  font-weight: 600;
  font-size: 24px;
  color: #ffffff;
}

.footer-links h5,
.footer-location h5 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #ffffff;


}

.footer-links ul {
  list-style: none;
  padding: 0;
  color: #ffffff;
}

.footer-links li {
  margin-bottom: 10px;
  opacity: 0.85;
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-links li:hover {
  opacity: 1;
  transform: translateX(6px);
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
}


.footer-location p {
  margin-bottom: 10px;

  color: #ffffff;
}

/* ---------- COPYRIGHT ---------- */
.footer-copy {
  text-align: center;
  margin-top: 80px;
  font-size: 14px;
  opacity: 0.9;
  color: #ffffff;
}


/* ====== About Us ======= */
.about-section {
  padding: 100px 0;
  background: #fff;

}

.about-wrapper {
  max-width: 1600px;
  padding: 0 100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: start;
}

/* LEFT */
.about-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* SLOGAN */
.about-slogan {
  position: relative;
  padding-left: 40px;

  opacity: 0;
  transform: translateX(-40px);

}




.about-slogan::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 25px;
  height: 170px;
  background: linear-gradient(to bottom, #888, #ddd);
}

.about-label {
  font-size: 18px;
  font-weight: 600;
  color: #777;
  display: block;
  margin-bottom: 16px;
}

.about-slogan h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
  color: #000000;
}

.about-slogan span {
  color: #777;
}

/* IMAGE */

/* ABOUT IMAGE */
.about-image img {
  width: 100%;
  height: 400px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);

  opacity: 0;
  transform: translateX(-50px);

}

/* KEYFRAMES */
@keyframes slideFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* RIGHT */
.about-right {
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

/* LOGO */
.about-logo {
  display: flex;
  padding-left: 60px;
  align-items: center;
  justify-content: start;

  opacity: 0;
  transform: translateX(50px);
  /* start from right */


}

.logo-img {
  width: 260px;
  height: auto;
  object-fit: contain;
}


/* TEXT */
.about-text {
  margin-top: 50px;
  font-size: 16px;
  color: #000000;
  line-height: 1.8;
  max-width: 480px;
  text-align: justify;

  opacity: 0;
  transform: translateX(50px);
  /* start from right */

}

/* BUTTON */
/* BUTTON */
.about-btn {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  position: relative;
  transition: color 0.3s ease;

  opacity: 0;
  transform: translateX(50px);
  /* start from right */

}

/* ARROW MOVE */
.about-btn::after {
  content: "→";
  transition: transform 0.3s ease;
}

/* HOVER */
.about-btn:hover {
  color: #777;
}

.about-btn:hover::after {
  transform: translateX(6px);
}

/* KEYFRAMES */
@keyframes slideFromRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* LEFT SIDE ANIMATIONS WHEN VISIBLE */
.about-section.visible .about-slogan {
  animation: slideFromLeft 0.8s ease-out forwards;
}

.about-section.visible .about-image img {
  animation: slideFromLeft 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

/* RIGHT SIDE ANIMATIONS WHEN VISIBLE */
.about-section.visible .about-logo {

  animation: slideFromRight 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.about-section.visible .about-text {

  animation: slideFromRight 0.8s ease-out forwards;
  animation-delay: 0.5s;
}

.about-section.visible .about-btn {

  animation: slideFromRight 0.8s ease-out forwards;
  animation-delay: 0.8s;
}





/*===== About Us page ===*/
/* first about */
.about-card {
  padding: 80px 0;
  width: 100%;
  background: #ffffff;

  /* BACKGROUND IMAGE */
  background:
    linear-gradient(rgba(255, 255, 255, 0.88),
      rgba(255, 255, 255, 0.88)),
    url("image/real-img-2.png");

  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.about-container {
  max-width: 1400px;
  margin: auto;
  margin-top: 30px;
  background: transparent;
  padding: 40px 40px;
  text-align: center;
  border-radius: 20px;




}

/* TITLE */
.about-title {
  font-size: 50px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #000000;

  /* animation */
  opacity: 0;
  transform: translateY(-30px);
  /* 🔥 start from top */
  animation: titleSlideDown 1s ease forwards;
}

@keyframes titleSlideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* LOGO */
/* LOGO */
.about--first-logo img {
  width: 220px;
  margin-bottom: 30px;

  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.2s;
}

/* Reuse same keyframes */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


/* SUBTITLE */
.about-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 20px;

  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.4s;
}

/* DESCRIPTION */
.about-desc {
  max-width: 100%;
  margin: 0 auto 60px;
  font-size: 16px;
  color: #000000;
  line-height: 1.8;
  text-align: justify;
  text-align-last: center;
  /* centers last line */

  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.6s;
}

/* KEYFRAMES */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}



/* STATS */
/* STATS */
.about-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  /* reduced gap so stats sit closer */
  margin-bottom: 40px;

  opacity: 0;
  transition: opacity 1.5s ease;
}

/* when visible */
.about-stats.show {
  opacity: 1;
}


.stat h3 {
  display: flex;
  /* 🔥 IMPORTANT */
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: 45px;
  font-weight: 500;
  color: #111;
  font-variant-numeric: tabular-nums;
  /* 🔒 same-width digits */
}

/* number only */
.stat h3 .count {
  display: inline-block;
  min-width: 2ch;
  /* allow single-digit counts to be tight */
  padding: 0 2px;
  /* small breathing room */
  text-align: right;
  font-size: 45px;
  font-weight: 600;
  color: #111;
}

/* + sign */
.stat h3 .plus {
  margin-left: 2px;
  font-size: 28px;
  line-height: 1;
}

.stat span {
  font-size: 17px;
  font-weight: 500;
  color: #000000;
}

.divider {
  width: 1px;
  height: 70px;
  background: #000000;
}


/* BUTTONS */
/* BUTTONS WRAPPER */
.about-buttons {
  display: flex;
  justify-content: center;
  gap: 500px;
  /* FIXED (was 500px ❌) */
}

/* BASE BUTTON */
.about-buttons .btn {
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  position: relative;
  transition: color 0.3s ease, background 0.3s ease;

  /* animation */
  opacity: 0;
  transform: translateX(-30px);
  animation: btnSlideIn 0.8s ease forwards;
  animation-delay: 1s;
  /* comes after stats */
}

@keyframes btnSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* ARROW */
.btn::after {
  content: "→";
  display: inline-block;
  transition: transform 0.3s ease;
}

/* HOVER ARROW MOVE */
.btn:hover::after {
  transform: translateX(6px);
}

/* LIGHT BUTTON */
.btn-light {
  background: #000000;
  color: #ffffff;
}

.btn-light:hover {
  background: #777;
  color: #ffffff;
}

/* DARK BUTTON */
.btn-dark {
  background: #000000;
  color: #fff;
}

.btn-dark:hover {
  background: #777;
  color: #fff;
}

/* ===== SERVICES SECTION ===== */
.services {
  width: 100%;
  padding: 60px 70px;
  padding-bottom: 100px;
  background: #fff;
}

.services-grid {
  display: grid;
  padding: 30px 100px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
}

/* INTRO CARD */
.services-intro {
  padding: 20px;

  /* animation base */
  opacity: 0;
  transform: translateX(-60px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ACTIVE STATE */
.services-intro.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* STAGGER CHILD ELEMENTS */
.services-intro h2,
.services-intro .line,
.services-intro p,
.services-intro .serv-logo {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.services-intro.is-visible h2 {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateX(0);
}

.services-intro.is-visible .line {
  transition-delay: 0.25s;
  opacity: 1;
  transform: translateX(0);
}

.services-intro.is-visible p {
  transition-delay: 0.4s;
  opacity: 1;
  transform: translateX(0);
}

.services-intro.is-visible .serv-logo {
  transition-delay: 0.55s;
  opacity: 1;
  transform: translateX(0);
}

.services-intro h2 {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 400;
}

.services-intro h2 span {
  font-weight: 700;
}

.line {
  width: 250px;
  height: 15px;
  background: linear-gradient(to right, #525151, #a09f9f);
  margin: 15px 0;
}

.services-intro p {
  font-size: 14px;
  color: #000000;
  max-width: 400px;
  text-align: justify;
}

.serv-logo {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.serv-logo img {
  width: 250px;
  height: auto;
}


/* SERVICE CARDS */
/* IMAGE SERVICE CARD */
.service-card.image-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  height: 100%;

  /* animation base */
  opacity: 0;
  transform: translateX(-60px);
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ACTIVE ON SCROLL */
.service-card.image-card.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* BACKGROUND IMAGE */
.service-card.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* DARK GRADIENT OVERLAY */
.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.075),
      rgba(0, 0, 0, 0.829));
  color: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background 0.3s ease;

  /* animation base */
  opacity: 0;
  transform: translateY(-30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ACTIVE STATE (ON SCROLL) */
.service-card.image-card.is-visible .service-overlay {
  opacity: 1;
  transform: translateY(0);
}

.service-icon,
.service-overlay h3,
.service-overlay p {
  opacity: 0;
  transform: translateY(-15px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.service-card.image-card.is-visible .service-icon {
  transition-delay: 0.15s;
  opacity: 1;
  transform: translateY(0);
}

.service-card.image-card.is-visible .service-overlay h3 {
  transition-delay: 0.25s;
  opacity: 0.9;
  transform: translateY(0);
}

.service-card.image-card.is-visible .service-overlay p {
  transition-delay: 0.35s;
  opacity: 0.8;
  transform: translateY(0);
}

/* ICON */
.service-icon {
  width: 55px;
  height: 55px;
  background: transparent;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.service-icon img {
  width: 55px;
}

/* TEXT */
.service-overlay h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.service-overlay p {
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.9;
  text-align: justify;
}

/* HOVER EFFECT */
.service-card.image-card:hover .service-overlay {
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0.8));
}

.service-card.image-card:hover img {
  transform: scale(1.06);
}

.service-card.image-card img {
  transition: transform 0.4s ease;
}


/* IMAGE CARD */
.service-image {
  background: url("image/hero-bg.jpg") center/cover no-repeat;
  border-radius: 15px;
  position: relative;
  overflow: hidden;

  /* animation base */
  opacity: 0;
  transform: translateX(60px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ACTIVE STATE */
.service-image.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.service-image .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.274),
      rgba(0, 0, 0, 0.863));
  color: #ffffff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* TEXT BASE */
.service-image .overlay h3,
.service-image .overlay a,
.service-image .overlay p {
  opacity: 0;
  transform: translateY(-25px);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* STAGGERED REVEAL */
.service-image.is-visible .overlay h3 {
  transition-delay: 0.25s;
  opacity: 1;
  transform: translateY(0);
}

.service-image.is-visible .overlay p {
  transition-delay: 0.35s;
  opacity: 1;
  transform: translateY(0);
}

.service-image.is-visible .overlay a {
  transition-delay: 0.45s;
  opacity: 1;
  transform: translateY(0);
}


.service-image h3 {
  font-size: 25px;
  line-height: 1.3;
  margin-bottom: 25px;
}

.service-image a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  display: inline-flex;
  gap: 6px;
  transition: transform 0.3s ease;
}

.service-image a:hover {
  transform: translateX(6px);
}


/* Contact Page */
/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 20px 100px;
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #ffffff;
}



.contact-content {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  margin: auto;
  padding: 80px 20px;
  color: #000000;
}

.contact-content h1 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 20px;
  font-weight: 600;

  animation: fadeInTop 0.9s ease forwards;
  animation-delay: 0.1s;
}

.contact-content h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 10px;

  animation: fadeInTop 0.9s ease forwards;
  animation-delay: 0.35s;
}

@keyframes fadeInTop {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== CONTACT CARD ===== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  background: transparent;
  padding: 50px 40px;
  border-radius: 18px;
  color: #000;
}


@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}



/* ===== FORM ===== */
.contact-form .form-group {
  margin-bottom: 18px;
  animation: fadeInLeft 0.9s ease forwards;
  animation-delay: 0.15s;

}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 15px;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-btn {
  padding: 14px 24px;
  border-radius: 40px;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  background: #000000;
  font-weight: 500;
  transition: all 0.3s ease;

  animation: fadeInLeft 0.9s ease forwards;
  animation-delay: 0.20s;
}

.contact-btn:hover {
  background: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-btn:active {
  transform: translateY(0);
}

/* ===== POPUP ===== */
.popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #0071bb;
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(-20px);
  transition: 0.4s ease;
  z-index: 9999;
}

.popup.show {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none;
}



/* ===== CONTACT INFO ===== */
/* ===== INDIA MAP ===== */
.india-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  padding-left: 30px;
  margin-top: 30px;
  animation: fadeInRight 0.9s ease forwards;
  animation-delay: 0.35s;
}

.india-map {
  width: 100%;
  height: 71vh;
  display: block;
}

/* Pune marker (adjust if needed) */
.pune-marker {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #030303;
  border-radius: 50%;

  /* ✅ Correct Pune position */
  top: 58.5%;
  left: 26%;

  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(31, 31, 31, 0.25);
}


/* Info box */


.location-box {
  position: absolute;
  top: 55%;
  left: 33%;
  background: #ffffff;
  padding: 14px 16px;
  border-radius: 8px;
  width: 230px;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

  /* Animation */
  animation: fadeInRightbox 0.8s ease forwards;
  animation-delay: 0.4s;
}

@keyframes fadeInRightbox {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* Arrow pointer */
.location-box::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: transparent #ffffff transparent transparent;
}

.location-logo {
  width: 130px;
  height: auto;
  margin-bottom: 8px;
}

.location-box h4 {
  font-size: 15px;
  margin-bottom: 6px;
  color: #0071bb;
}

.location-box .contact {
  margin-top: 6px;
  font-size: 13px;
}


/* ===================
 FOR ALL PAGE – HEADING SECTION 
 ========================= */
.head {

  padding-top: 125px;
  padding-bottom: 15px;
  background: #ffffff;

}

.head .head-content {
  margin-top: 80px;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  text-align: center;
}

.head .head-content h1 {
  font-size: 50px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #000000;

  opacity: 0;
  transform: translateY(-30px);
  animation: HeadfadeFromTop 0.8s ease-out forwards;
}

/* KEYFRAMES */
@keyframes HeadfadeFromTop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* ===== LIST YOUR PROPERTY FORM ===== */

.list-property-section {
  display: flex;
  justify-content: center;
  padding: 80px 20px;
  background: #ffffff;


}

.form-card {
  width: 100%;
  max-width: 1000px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.192);
  overflow: hidden;

}

/* Header */
.form-header {
  background: #63636341;
  padding: 25px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;

}

.icon {
  font-size: 22px;
}

/* Form */
form {
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 30px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #000000;
}

.form-group span {
  color: red;
  margin-left: 4px;
}

.form-group input,
.form-group select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #d0d0d0;
  font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #000;
}

.form-group.full {
  grid-column: span 2;
}

/* File upload placed to the right and spanning two rows (paired with Carpet & Built Up area) */
.form-group.file-upload {
  margin-top: 0;
  grid-column: 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.form-group.file-upload label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #000000;
}

.form-group.file-upload input[type="file"] {
  flex: 1;
  min-height: 110px;
  padding: 15px 12px;
  border-radius: 8px;
  border: 1px solid #d0d0d0;
  background: #ffffff;
  font-size: 14px;
  cursor: pointer;

}


.form-group.file-upload input[type="file"]:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.form-help {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #242424;
  line-height: 1.4;
}

.form-group.submit-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Footer */
.form-footer {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkbox-group {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #000;
}

button {
  padding: 12px 34px;
  background: linear-gradient(180deg, #2b2f33, #000);
  color: #fff;
  border: none;
  border-radius: 22px;
  font-size: 15px;
  margin-top: 20px;
  cursor: pointer;
}

button:hover {
  opacity: 0.8;
}

.note {
  text-align: center;
  font-size: 14px;
  color: #383838;
  margin-top: 18px;
}


/* ===== LIST YOUR PROPERTY HERO SECTION ===== */
/* HERO */
.list-hero {
  position: relative;
  height: 100vh;
  background: url("image/list-property-second.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Animation */

}

/* Left-side slide animation */
@keyframes listslideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.45));

  animation: fedInFromsameplace 1.6s ease-out forwards;
}

.hero-content {
  position: relative;
  max-width: 1000px;
  text-align: center;
  padding: 40px;
  color: #fff;


}

@keyframes contentSlideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.list-head-logo {
  display: inline-flex;
  align-items: center;


  opacity: 0;
  transform: translateX(60px);
  animation: contentSlideLeft 1s ease-out forwards;
  animation-delay: 0.4s;
}

.list-logo {
  height: auto;
  /* adjust as needed */
  width: 250px;
  display: block;
}




.hero-content h1 {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 25px;

  opacity: 0;
  transform: translateX(60px);
  animation: contentSlideLeft 1s ease-out forwards;
  animation-delay: 0.5s;

}

.hero-content h2 {
  font-size: 28px;
  font-weight: 500;

  margin-bottom: 30px;

  opacity: 0;
  transform: translateX(60px);
  animation: contentSlideLeft 1s ease-out forwards;
  animation-delay: 0.8s;
}

.hero-content p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 750px;
  margin: 0 auto 50px;


  opacity: 0;
  transform: translateX(60px);
  animation: contentSlideLeft 1s ease-out forwards;
  animation-delay: 0.7s;
}

/* SCROLL ARROW */
.scroll-down {
  width: 46px;
  height: 46px;
  border: 2px solid #fff;
  border-radius: 50%;
  margin: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;

  opacity: 0;
  transform: translateX(-60px);
  animation-delay: 0.6s;

}

.scroll-down span {
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(8px);
  }

  60% {
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}



/* Section Wrapper */
.form-call-btn {
  margin-top: 30px;
  text-align: center;
}

/* Heading */
.form-call-btn h1 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #111;

  opacity: 0;
  transform: translateY(-24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Active visible state */
.form-call-btn h1.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Contact Strip Wrapper */
.form-contact-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;

  /* align with form width */
  max-width: 750px;
  width: 100%;
  margin: 0 auto;

  /* match form padding */
  padding: 20px;
}

/* Button Base */
.form-contact-btn {
  width: 70%;
  /* IMPORTANT: equal width buttons */
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 30px;
  border-radius: 60px;
  text-decoration: none;
  color: #fff;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;

  opacity: 0;
  transform: translateY(30px);
}

.form-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}


/* Active reveal state */
.form-contact-btn.animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay);
}

/* Icons */
.form-contact-btn .icon {
  font-size: 26px;
  flex-shrink: 0;
}

.icon img {
  width: 25px;
  /* small size */
  height: 25px;
  object-fit: contain;
}

/* Text */
.form-contact-btn .text {
  text-align: left;
}

.form-contact-btn .text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.form-contact-btn .text small {
  font-size: 12px;
  opacity: 0.85;
}

/* Specific Styles */
.form-contact-btn.call {
  background: linear-gradient(135deg, #1d1d1df1, #525252);
}

.form-contact-btn.whatsapp {
  background: linear-gradient(135deg, #179445, #22cc60);
}



/* ===== FIND YOUR PROPERTY HERO SECTION ===== */
/* HERO */
.find-hero {
  position: relative;
  min-height: 100vh;
  background: url("image/find-property-bg3.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 80px 20px;

}


.find-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  animation: fedInFromsameplace 1.6s ease-out forwards;
}

@keyframes fedInFromsameplace {
  from {
    opacity: 0;

  }

  to {
    opacity: 1;

  }
}

.find-hero-content {
  position: relative;
  max-width: 1400px;
  width: 100%;
  margin: auto;
  margin-top: 80px;
  color: #ffffff;
  padding: 30px 10px;

}

.find-head-logo {
  display: inline-flex;
  align-items: left;
  margin-left: -18px;


  opacity: 0;
  transform: translateX(-60px);
  animation: contentSlideLeft 1s ease-out forwards;
  animation-delay: 0.4s;
}

.find-logo {
  height: auto;
  /* adjust as needed */
  width: 250px;
  display: block;
  flex-shrink: 0;
  /* prevents logo from shrinking */
  margin-right: 20px;
}

/* Logo with heading wrapper */
.find-hero-heading-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.find-hero h1 {
  font-size: 44px;
  margin-bottom: 0px;
  font-weight: 700;

  opacity: 0;
  transform: translateX(-60px);
  animation: contentSlideLeft 1s ease-out forwards;
  animation-delay: 0.5s;
}

.find-hero h2 {
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 25px;

  opacity: 0;
  transform: translateX(-60px);
  animation: contentSlideLeft 1s ease-out forwards;
  animation-delay: 0.6s;
}

.hero-tagline {
  max-width: 700px;
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 10px;

  opacity: 0;
  transform: translateX(-60px);
  animation: contentSlideLeft 1s ease-out forwards;
  animation-delay: 0.7s;

}

/* SEARCH BOX */
.find-search-wrapper {
  max-width: 1000px;
  display: flex;
  background: #fff;
  padding: 5px 16px;
  border-radius: 16px;
  gap: 12px;

  opacity: 0;
  transform: translateX(-60px);
  animation: contentSlideLeft 1s ease-out forwards;
  animation-delay: 0.8s;

}

.find-search-wrapper input {
  flex: 1;
  border: none;
  font-size: 14px;
  outline: none;
}

.find-search-btn {
  background: #000;
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  margin: 5px;
  border: none;
  cursor: pointer;

  opacity: 0;
  transform: translateX(-60px);
  animation: contentSlideLeft 1s ease-out forwards;
  animation-delay: 0.9s;
}

/* FILTER PANEL */
.advanced-filter {
  width: 100%;
  max-width: 1000px;
  background: #fff;
  margin-top: 12px;
  padding: 20px;
  border-radius: 16px;

  position: relative;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.advanced-filter.show {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.filter-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.deal-type {
  display: flex;
  gap: 8px;
}

.deal-type button {
  position: relative;
}


.deal-type button,
.measure-type button {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 40px;
  cursor: pointer;
  color: #000000;
  transition: background 0.2s ease, color 0.2s ease;
}

.deal-type button:hover,
.measure-type button:hover {
  background: #e8e8e8;
}

.deal-type button.active,
.measure-type button.active {
  background: #000;
  color: #ffffff;
  font-weight: 500;
  border-color: #000;
}

.filter-top>.deal-type button.active {
  background: #000;
  color: #fff;
  border-color: #000;
}




hr {
  margin: 16px 0;
  border: none;
  border-top: 1px solid #e5e5e5;
}

/* BOTTOM */
.filter-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  pointer-events: auto;
}

.property-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  pointer-events: auto;
  z-index: 10000;
}

.property-tabs button {
  background: #ffffff;
  color: #000;
  border: 1px solid #ddd;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.2s ease;
}

.property-tabs button:hover {
  background: #f5f5f5;
  border-color: #999;
}

.property-tabs button.active {
  background: #000000;
  color: #fff;
  border-color: #000;
}

/* RANGE */
.range-box {
  min-width: 260px;
  border-radius: 20px;
}

.range-group {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.range-group.active {
  display: flex;
}

.range-group select {
  padding: 12px;
  border-radius: 20px;
  font-size: 14px;
  border: 1px solid #ddd;

}


.filter-note {
  font-size: 13px;
  color: #1d1d1d;
  margin-top: 10px;
}



/* ===== FEATURED PROPERTIES SECTION ===== */
.featured-section {
  padding: 40px 250px;

  background: #ffffff;
  overflow: hidden;

  /* initial hidden state (start from right) */
  opacity: 0;
  transform: translateX(60px);
}

/* run animation ONLY after visible */
.featured-section.is-visible {
  animation: featuredfadeFromRight 0.9s ease-out forwards;
}

.featured-section h2 {
  text-align: center;
  font-size: 35px;
  font-weight: 600;
  margin-bottom: 35px;
  color: #000000;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;

  opacity: 0;
  transform: translateX(60px);

}

/* delayed animation after section visible */
.featured-section.is-visible .carousel-wrapper {
  animation: featuredfadeFromRight 0.9s ease-out forwards;
  animation-delay: 0.3s;
}

/* ===== Keyframes ===== */
@keyframes featuredfadeFromRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.carousel {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 20px 0;
  transform: translateX(0);
  will-change: transform;
  transition: none;
}


.card {
  max-width: 400px;
  width: 400px;
  height: 250px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: none;
  cursor: pointer;



}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.card:hover img {
  transform: scale(1.08);
}


.card-title {
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  z-index: 2;
  text-align: center;

  padding: 14px;
  background: linear-gradient(to top, rgb(0, 0, 0), transparent);
}

/* Navigation Buttons */
.feat-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 60%;
  border: none;
  background: transparent;

  cursor: pointer;
  font-size: 30px;
  z-index: 10;
}

.feat-btn.left {
  left: -10px;
}

.feat-btn.right {
  right: 10px;
}

.feat-btn:hover {
  background: transparent;
  color: #242424;
}



/* ===== BRAND NETWORK SECTION ===== */
.brand-network {
  padding: 80px 20px;
  background: #ffffff;
}

.brand-container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.brand-tagline {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #383838;

  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.brand-heading {
  font-size: 34px;
  font-weight: 700;
  color: #030303;
  margin-bottom: 48px;

  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 0.15s;

}

/* Active state when visible */
.brand-tagline.animate,
.brand-heading.animate {
  opacity: 1;
  transform: translateY(0);
}


/* Grid */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;

}

/* Card */
.brand-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.144);
  transition: all 0.35s ease;

  opacity: 0;
  transform: translateY(30px);
}

/* Active animation state */
.brand-card.animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Stagger effect using CSS variable */
.brand-card.animate {
  transition-delay: var(--delay);
}

.brand-card img {
  max-width: 180px;
  height: auto;
  object-fit: contain;

}

/* Hover effect */
.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}




/* ===== CAREER SECTION ===== */
/* SECTION BASE */
.career-section {
  padding: 10px 20px;
  background: rgb(255, 255, 255);
  font-family: "Inter", system-ui, sans-serif;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

/* INTRO CONTENT */
.career-intro-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
}

.career-content {
  max-width: 1100px;
  margin-bottom: 50px;
}

.career-content h2 {
  font-size: 34px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 14px;

  opacity: 0;
  transform: translateX(-40px);
  animation: careerfadeFromLeft 0.8s ease-out forwards;
  animation-delay: 0.1s;
}

.career-content p {
  font-size: 17px;
  color: #202020;
  line-height: 1.7;


  opacity: 0;
  transform: translateX(-30px);
  animation: careerfadeFromLeft 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

.career-points {
  list-style: none;

  opacity: 0;
  transform: translateX(-30px);
  animation: careerfadeFromLeft 0.8s ease-out forwards;
  animation-delay: 0.5s;
}

.career-points li {
  margin-bottom: 13px;
  padding-left: 26px;
  position: relative;
  color: #202020;

}

.career-points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #000;
}

.career-image img {
  width: 100%;
  height: 300px;
  border-radius: 18px;
  object-fit: cover;

  opacity: 0;
  transform: translateX(-30px);
  animation: careerfadeFromLeft 0.8s ease-out forwards;
  animation-delay: 0.5s;
}



/* KEYFRAMES */
@keyframes careerfadeFromLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* ================= JOB CARDS ================= */
.career-right {
  
  text-align: left;
  padding: 40px 20px;
}

.career-right h2 {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #111;

  opacity: 0;
  transform: translateX(-30px);
  animation: careerfadeFromLeft 0.8s ease-out forwards;
  animation-delay: 0.7s;
}

.career-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;

  opacity: 0;
  transform: translateX(-30px);
  animation: careerfadeFromLeft 0.8s ease-out forwards;
  animation-delay: 0.9s;
}

/* CARD — now a horizontal row */
.job-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: transparent;
  padding: 18px 10px;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  transition: background 0.2s ease;
}

.job-card:first-child {
  border-top: 1px solid #e5e5e5;
}

.job-card:hover {
  background: #f9f9f9;
}

/* NUMBER */
.job-num {
  font-size: 13px;
  font-weight: 600;
  color: #575757;
  min-width: 28px;
  flex-shrink: 0;
}

/* JOB INFO — grows to fill available space */
.job-info {
  flex: 1;
}

/* TITLE */
.job-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #111;
}

/* META ROW */
.job-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

/* PILLS / BADGES */
.meta-badge {
  font-size: 12px;
  color: #000000;
  background: #f1f1f1;
  border: 1px solid #e0e0e0;
  padding: 3px 10px;
  border-radius: 20px;
  line-height: 1.4;
}

/* OPENINGS PILL */
.meta-badge.openings {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #333333;
  color: #fff;
  
  font-weight: 500;
}

/* GREEN LIVE DOT */
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ee86e;
  flex-shrink: 0;
  display: inline-block;
}

/* APPLY BUTTON */
.apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 50px;
  background: #111111;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.apply-btn:hover {
  background: #383838;
  transform: translateX(4px);
}

/* ================= ANIMATION ================= */
@keyframes careerfadeFromLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* ================= CAREER FORM SECTION ================= */

.career-form-section {
  padding: 90px 20px;
  background: #ffffff;
}

.career-form-section .container {
  max-width: 980px;
  margin: auto;
}

/* ================= FORM WRAPPER ================= */

.career-form-wrapper {
  background: #ffffff;
  padding: 30px 50px;
  border-radius: 22px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.151);
}

/* ================= HEADER ================= */

.career-form-header {
  text-align: center;
  margin-bottom: 35px;
  background: #dfdfdf7c;
  border-radius: 10px;
  padding: 10px 16px;
  padding-top: 20px;
}

.career-form-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: #111;
  padding-top: 5px;
  margin-bottom: 8px;
}

.career-form-header p {
  font-size: 14px;
  color: #555;
}

/* ================= GRID ================= */

.career-form-grid {

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

/* ================= FORM GROUP ================= */

.career-form-group {
  display: flex;
  flex-direction: column;
}

.career-form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 6px;
}

.required {
  color: #d32f2f;
}

/* ================= INPUTS ================= */

.career-form-group input,
.career-form-group select,
.career-form-group textarea {
  width: 100%;
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 12px;
  border: 1px solid #dcdcdc;
  background: #fafafa;
  transition: all 0.25s ease;
}

.career-form-group input::placeholder,
.career-form-group textarea::placeholder {
  color: #444444;
}

.career-form-group input:focus,
.career-form-group select:focus,
.career-form-group textarea:focus {
  outline: none;
  border-color: #000;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

/* ================= EMPLOYMENT STATUS ================= */

.employment-status {
  margin-top: 35px;
}

.status-options {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.status-option {
  position: relative;
  cursor: pointer;
}

.status-option input {
  display: none;
}

.status-label {
  padding: 10px 18px;
  border-radius: 15px;
  border: 1px solid #dcdcdc;
  background: #fafafa;
  font-size: 13px;
  transition: all 0.25s ease;
}

.status-option input:checked+.status-label {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* ================= FILE UPLOAD ================= */

.file-upload {
  margin-top: 35px;
}

.file-input-wrapper {
  position: relative;
  margin-top: 8px;
}

.file-input-wrapper input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-input-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 15px;
  border-radius: 16px;
  margin-bottom: 10px;
  border: 2px dashed #d0d0d0;
  background: #fafafa;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 100px;
  cursor: pointer;
}

.file-input-label:has(+ svg) {
  flex-direction: row;
  gap: 10px;
}

.file-input-wrapper:hover .file-input-label {
  background: #f0f0f0;
  border-color: #000;
}

.file-input-label svg {
  color: #000;
  flex-shrink: 0;
}

.file-input-label span:first-of-type {
  font-size: 14px;
  color: #050505;
  font-weight: 500;
  word-break: break-word;
}

.file-input-label span.file-info {
  font-size: 12px;
  color: #777;
}

/* ================= TEXTAREA ================= */

textarea {
  resize: vertical;
  min-height: 130px;
}

/* ================= ACTION BUTTONS ================= */

.career-form-actions {
  display: flex;
  justify-content: center;
  /* center horizontally */
  margin-top: 16px;
  padding: 10px 20px;
}

/* Button */
.career-submit-btn {
  flex: none;
  /* remove full width */
  min-width: 180px;
  /* control button size */
  padding: 12px 28px;
  /* smaller, cleaner */
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect */
.career-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}


/* ========================
 service section HEADING  
 =========================== */
.services-heading {
  padding: 60px 100px;
  padding-bottom: 80px;
  background: #ffffff;
}

.services-container {
  max-width: 1400px;
  margin: auto;
  padding: 0 20px;
}

.services-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* LEFT CONTENT */
.services-heading-content {
  flex: 1;
}

.services-heading-content .tagline {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #313131;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding-left: 40px;

  opacity: 0;
  animation: serviceheadfadeInLeft 0.9s ease forwards;
}

.services-heading-content .tagline::before {
  content: "";
  width: 30px;
  height: 2px;
  background: linear-gradient(to right, #c2c2c2, #666666);
  position: absolute;
  left: 0;
  top: 50%;
}

.services-heading-content h1 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #0a0a0a;

  opacity: 0;
  animation: serviceheadfadeInLeft 0.9s ease forwards;
  animation-delay: 0.2s;
}

.services-heading-content h2 {
  font-size: 20px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 25px;

  opacity: 0;
  animation: serviceheadfadeInLeft 0.9s ease forwards;
  animation-delay: 0.4s;
}

.services-heading-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #000000;
  margin-bottom: 15px;
  max-width: 550px;
  text-align: justify;

  opacity: 0;
  animation: serviceheadfadeInLeft 0.9s ease forwards;
  animation-delay: 0.6s;
}

.services-primary-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 28px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 30px;
  transition: 0.3s ease;

  opacity: 0;
  animation: serviceheadfadeInLeft 0.9s ease forwards;
  animation-delay: 0.8s;
}

.services-primary-btn:hover {
  background: #444444;
}

/* RIGHT IMAGE */
.services-image {
  flex: 1;
  position: relative;

  opacity: 0;
  animation: serviceheadfadeInRight 1s ease forwards;
  animation-delay: 0.4s;
}

.services-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* ================= KEYFRAMES ================= */

@keyframes serviceheadfadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes serviceheadfadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* ===== SERVICES SECOND SECTION ===== */
.services-main-section {
  position: relative;
  padding: 90px 0;
  width: 100%;
  height: 95vh;
  background: url('image/Property Consultancy.jpg') center / cover no-repeat;
  overflow: hidden;

  opacity: 0;
  transform: translateY(40px);
}

.services-main-section.in-view {
  animation: slideHeroUp 2.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}



/* BLACK BLUR OVERLAY */
.services-main-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  /* black overlay */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1;
  pointer-events: none;
}


@keyframes slideHeroUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5px 20px;
  position: relative;
  z-index: 2;
}

.services-main-container h1 {
  text-align: center;
  font-size: 38px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 80px;

  opacity: 0;
  transform: translateY(40px);

}

.services-main-section.in-view h1 {
  animation: slideHeroUp 2.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: 0.3s;
}

/* TOP ICON TABS */
.services-tabs {
  display: flex;
  justify-content: space-between;
  /* 🔴 aligns like navbar */
  align-items: center;
  gap: 20px;

  width: 100%;
  /* 🔴 IMPORTANT */
  flex-wrap: nowrap;
  margin: 0 auto 80px;

  opacity: 0;
  transform: translateY(40px);
}

.services-main-section.in-view .services-tabs {
  animation: slideHeroUp 2.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: 0.5s;
}



.service-tab {
  flex: 0 0 auto;
  /* prevent shrink */
  width: 160px;
  height: 140px;
  background: transparent;
  border: none;
  padding: 18px 22px;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;

  transition: all 0.3s ease;
}

.service-tab img {
  width: 60px;
}

.service-tab span {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.service-tab.active,
.service-tab:hover {
  background: #9797973b;
  color: #fff;
  transform: translateY(-6px);
}

/* CONTENT AREA */
.services-content {
  position: relative;
  display: flex;
  justify-content: center;

  opacity: 0;
  transform: translateY(40px);

}

.services-main-section.in-view .services-content {
  animation: slideHeroUp 2.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: 0.7s;
}

.service-box {
  display: none;
  align-items: center;
  gap: 60px;
  animation: servicefadeUp 0.5s ease;
}

.service-box.active {
  display: flex;
}

.service-main-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.service-text h2 {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 18px;
  color: #ffffff;
}

.service-text p {
  font-size: 15px;
  line-height: 1.6;
  color: #ffffff;
  max-width: 500px;
}

/* ANIMATION */
@keyframes servicefadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== FORM & SUCCESS MESSAGE ANIMATIONS ===== */
@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }

  60% {
    opacity: 1;
    transform: scale(1.05) translateY(-5px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateX(-15px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-out {
  animation: fadeOut 0.3s ease-in-out forwards !important;
}

.fade-in {
  animation: fadeInUp 0.4s ease-out forwards !important;
}

.fade-in-scale {
  animation: fadeInScale 0.4s ease-out forwards !important;
}

.pop-in {
  animation: popIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1) forwards !important;
}

.fade-in-slide {
  animation: fadeInSlide 0.35s ease-out forwards !important;
}



/* ===== FIND BRAND NETWORK SECTION ===== */
.find-brand-network {
  padding: 60px 250px;
  padding-bottom: 80px;
  background: #fff;
  text-align: center;

  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* When section becomes visible */
.find-brand-network.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.find-brand-tagline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #464646;
}

.find-brand-heading {
  font-size: 36px;
  font-weight: 600;
  margin: 10px 0 25px;
}

.find-brand-location {
  font-size: 22px;
  font-weight: 00;
  margin-bottom: 30px;
  color: #111;
  transition: opacity 0.6s ease;
}

/* Grid */
.find-brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: all 0.6s ease;
  position: absolute;
  width: 100%;
  left: 0;
}

.find-brand-grid.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

/* Cards */
.find-brand-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.find-brand-card img {
  max-width: 160px;
  max-height: 60px;
  object-fit: contain;
}

/* Make cards initially hidden for staggered reveal (slide from bottom) */
.find-brand-card {
  opacity: 0;
  transform: translateY(18px);
}

@keyframes slideFromBottom {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }

  60% {
    opacity: 1;
    transform: translateY(-4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.find-brand-card.animate {
  animation: slideFromBottom 520ms cubic-bezier(0.2, 0.9, 0.3, 1) both;
  animation-delay: var(--delay);
  will-change: transform, opacity;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {

  .find-brand-card,
  .find-brand-card.animate {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.find-brand-tagline,
.find-brand-heading,
.find-brand-location {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s ease;
}

.find-brand-network.is-visible .find-brand-tagline {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.find-brand-network.is-visible .find-brand-heading {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.find-brand-network.is-visible .find-brand-location {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}


/* ===============================
   RESULT SEARCH BOX
================================ */

#resultsSection {
  padding: 5px 100px;
  margin-top: 0;
}

/* Align search box with navbar container and keep internal spacing */
.result-search-wrapper {
  max-width: 1400px;
  margin: 0 auto 5px;
  display: flex;
  background: #fff;
  padding: 6px 20px;
  border-radius: 40px;
  gap: 12px;
  align-items: center;
  border: 1px solid #e0e0e0;

  margin-top: 120px;
  /* adjust to navbar height */


  /* REMOVE floating behavior */
  position: relative;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);

  /* ANIMATION */
  opacity: 0;
  animation: slideFadeInLeft 0.6s ease-out forwards;
}




.result-search-wrapper input {
  flex: 1;
  border: none;
  font-size: 14px;
  outline: none;
  padding: 10px 10px;

  /* ANIMATION */
  opacity: 0;
  animation: slideFadeInLeft 0.6s ease-out forwards;
  animation-delay: 0.2s;
}

.result-search-btn {
  background: #000;
  color: #fff;
  padding: 10px 22px;
  border-radius: 40px;
  font-size: 14px;
  margin: 5px;
  border: none;
  cursor: pointer;

  /* ANIMATION */
  opacity: 0;
  animation: slideFadeInLeft 0.6s ease-out forwards;
  animation-delay: 0.4s;
}

/* ===============================
   RESULT FILTER PANEL
================================ */

.result-filter-panel {
  width: 100%;
  max-width: 1400px;
  background: #fff;
  /* center horizontally like the navbar */
  margin: 12px auto;
  /* Match navbar container padding (desktop) */
  padding: 30px 10px;
  border-radius: 16px;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;

  /* ANIMATION */
  opacity: 0;
  animation: slideFadeInLeft 0.6s ease-out forwards;

}

@keyframes slideFadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}


.result-filter-panel.show {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* TOP */

.result-filter-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* Sort control styles */
.result-sort-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

.result-sort-controls .sort-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.result-sort-controls .sort-label {
  font-size: 13px;
  font-weight: 600;
  color: #222;
}

.result-sort-controls .sort-btn {
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.15s, transform 0.12s;
}

.result-sort-controls .sort-btn:hover {
  background: #f7f7f7;
}

.result-sort-controls .sort-btn.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

.result-deal-type button,
.result-measure-type button {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 40px;
  gap: 20px;
  cursor: pointer;
  color: #000000;
  transition: background 0.2s ease, color 0.2s ease;


}

.result-deal-type button:hover,
.result-measure-type button:hover {
  background: #e8e8e8;
}

.result-deal-type button.active,
.result-measure-type button.active {
  background: #000;
  color: #ffffff;
  font-weight: 500;
  border-color: #000;
}

/* DIVIDER */

.result-filter-panel hr {
  margin: 16px 0;
  border: none;
  border-top: 1px solid #e5e5e5;
}

/* BOTTOM */

.result-filter-bottom {
  max-width: 1400px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;

  opacity: 0;
  animation: slideFadeInLeft 0.6s ease-out forwards;
  animation-delay: 0.3s;
}

/* PROPERTY TABS */

.result-property-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.result-property-tabs button {
  background: #ffffff;
  color: #000;
  border: 1px solid #ddd;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.result-property-tabs button:hover {
  background: #f5f5f5;
  border-color: #999;
}

.result-property-tabs button.active {
  background: #000000;
  color: #fff;
  border-color: #000;
}

/* RANGE */

.result-range-box {
  min-width: 260px;
  border-radius: 20px;
}

.result-range-group {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.result-range-group.active {
  display: flex;
}

.result-range-group select {
  padding: 12px;
  border-radius: 20px;
  font-size: 14px;
  border: 1px solid #ddd;
}

/* NOTE */

.result-filter-note {
  font-size: 13px;
  color: #1d1d1d;
  margin-top: 10px;

  opacity: 0;
  animation: slideFadeInLeft 0.6s ease-out forwards;
  animation-delay: 0.4s;
}



/* ===============================
   PROPERTY LIST WRAPPER
================================ */
.properties-section-demo {
  width: 100%;
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 16px;
  background: #ffffff;

  /* animation */
  opacity: 0;
  transform: translateY(24px);
  animation: resultsReveal 0.55s ease-out forwards;
  animation-delay: 0.8s;
}

@keyframes resultsReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*  SECTION TITLE */
.results-title {
  font-size: 24px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 18px;

  opacity: 0;
  transform: translateX(-20px);
  animation: titleSlideIn 0.4s ease-out forwards;
  animation-delay: 0.85s;
}

@keyframes titleSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===============================
   TABLE RESPONSIVE
================================ */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

/* ===============================
   PROPERTY TABLE
================================ */
.property-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;


  opacity: 0;
  transform: translateX(-20px);
  animation: titleSlideIn 0.4s ease-out forwards;
  animation-delay: 1s;

}




/* ===============================
   TABLE HEADER
================================ */
.property-table thead th {
  background: #f5f5f5;
  color: #000000;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 12px;
  border-bottom: 1px solid #ddd;

  white-space: nowrap;
  text-align: center;

  opacity: 0;
  transform: translateY(24px);
  animation: resultsReveal 0.55s ease-out forwards;

}

/* Sortable header visuals */
.property-table thead th.sortable {
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.property-table thead th.sortable::after {
  content: '\2195';
  /* up-down arrow */
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  font-size: 16px;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.property-table thead th.sortable.asc::after {
  content: '\25B2';
  /* up */
  opacity: 1;
}

.property-table thead th.sortable.desc::after {
  content: '\25BC';
  /* down */
  opacity: 1;
}

/* ===============================
   TABLE BODY
================================ */
.property-table tbody td {
  padding: 14px 12px;
  font-size: 14px;
  color: #000000;
  border-bottom: 1px solid #eee;
  text-align: center;
  vertical-align: middle;

  opacity: 0;
  transform: translateY(24px);
  animation: resultsReveal 0.55s ease-out forwards;
}

/* Remove last border */
.property-table tbody tr:last-child td {
  border-bottom: none;
}

/* ===============================
   TABLE HOVER
================================ */
.property-table tbody tr {
  transition: background 0.25s ease;
}

.property-table tbody tr:hover {
  background: #fafafa;
}

/* ===============================
   COLUMN TEXT STYLING
================================ */
.property-table .building-name {
  font-weight: 600;
  color: #111;

}

.property-table .type {
  text-transform: capitalize;
}

.property-table .location {
  color: #303030;
}

.property-table .measure {
  font-weight: 500;
}

.property-table .rent {
  font-weight: 600;
  color: #0a7d3c;
}

/* ===============================
   IMAGE
================================ */
.table-img {
  width: 85px;
  height: 55px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

/* ===============================
   TABLE BORDER (OPTIONAL)
================================ */
.table-bordered th,
.table-bordered td {
  border-left: 1px solid #e0e0e0;
}

.table-bordered th:first-child,
.table-bordered td:first-child {
  border-left: none;
}

/* ===============================
   SELECT ROW + PROCEED BAR
================================ */
.property-table tbody tr.selected {
  background: linear-gradient(120deg, #e8f4ff 0%, #f7fbff 100%);
  transform: scale(1.002);
  box-shadow: inset 0 0 0 2px rgba(10, 125, 60, 0.06);
  transition: background 0.2s ease, transform 0.12s ease;
}

.property-table tbody tr.selected td {
  color: #000000;
  background: rgba(44, 44, 44, 0.082);
}




/* ==============
 Proceed Bar 
 ================ */
.proceed-bar {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  margin: 30px auto;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;

  opacity: 0;
  transform: translateX(-20px);
  animation: titleSlideIn 0.4s ease-out forwards;
  animation-delay: 1.2s;
  flex-wrap: wrap;
}

.proceed-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  flex: 1;
  min-width: 280px;
  max-width: 480px;
}

.proceed-bar #proceedBtn {
  display: inline-block;
  margin: 0;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  background: linear-gradient(90deg, #080808 0%, #464646 100%);
  width: 100%;
  text-align: center;
  opacity: 1;

  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.proceed-bar #proceedBtn:hover {
  background: linear-gradient(90deg, #464646 0%, #080808 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);

}

.proceed-form-wrapper {
  margin: 0 !important;
  display: block;
  text-align: center;
  flex: 1;
  width: 100%;
  max-width: 480px;
  padding: 20px;
  border-radius: 12px;
  background: transparent;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}



.proceed-form-wrapper h3 {
  margin: 0 auto 20px auto;
  font-size: 18px;
  width: 100%;
  background: #e0e0e0;
  color: #222;
  padding: 18px 0 18px 0;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);

}

#enquiryForm {
  display: block;
  width: 100%;
}

#enquiryForm.fade-out {
  animation: fadeOut 0.3s ease-in-out forwards;
}



/* Selected summaries (compact cards: image left, data right) */
.selected-summaries {
  display: none;
  gap: 12px;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  height: 350px;
  /* fixed height so cards don't expand the section */
  max-height: 350px;
  padding-right: 6px;
  /* room for scrollbar */
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}



.selected-card {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  border-radius: 14px;
  height: 160px;
  width: 100%;
  max-width: 700px;
  min-height: 160px;
  flex-shrink: 0;
  border: none;
  background: white;
  gap: 20px;

  animation: selectcardfadeSlideUp 0.4s ease forwards;
}

@keyframes selectcardfadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.selected-card .card-image-fixed {
  flex: 0 0 250px;
  width: 250px;
  height: 90%;
  border-radius: 14px;
  overflow: hidden;
}

.selected-card .card-image-fixed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



.selected-card .card-info-left,
.selected-card .card-info-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.selected-card .card-info-left {
  padding-top: 15px;
}

.selected-card .card-line {
  margin: 0;
  line-height: 1.4;
}

.selected-card .card-line.main {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  text-shadow: none;
}

.selected-card .card-line.secondary {
  font-size: 13px;
  font-weight: 600;
  color: #1f1f1f;
  text-shadow: none;
}






/* make form sit to the right and take remaining space */
.proceed-form-wrapper {
  width: calc(100% - 360px);
  min-width: 300px;
}





/* Row layout for name + contact side-by-side */
.proceed-form-wrapper .form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;

}

.proceed-form-wrapper .form-row .form-group {
  flex: 1;
  margin-bottom: 0;
  text-align: left;
  /* handled by parent */
}


/* Form */
.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 13px;
}

/* ====== ENQUIRY FORM SUBMIT BUTTON ====== */
.proceed-form-wrapper .btn.btn-success {
  display: inline-block;
  width: 100%;
  max-width: 180px;
  margin: 24px auto 0 auto;
  background: linear-gradient(90deg, #080808 0%, #464646 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 40px;
  padding: 12px 0;
  box-shadow: 0 4px 16px rgba(10, 125, 60, 0.08);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  letter-spacing: 0.5px;
  text-align: center;
  cursor: pointer;
}

.proceed-form-wrapper .btn.btn-success:hover,
.proceed-form-wrapper .btn.btn-success:focus {
  background: linear-gradient(90deg, #464646 0%, #080808 100%);
  box-shadow: 0 6px 24px rgba(59, 59, 59, 0.16);
  transform: translateY(-2px) scale(1.02);
  outline: none;
}

/* ===== SUCCESS MESSAGE SECTION ===== */
#successMessage.success-message {
  background: white;
  border-radius: 16px;
  padding: 40px 32px 36px 32px;

  text-align: center;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  position: relative;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.95);
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out, transform 0.3s ease-out;
}



#successMessage.success-message.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  animation: popIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}

#successMessage.success-message h4 {
  font-size: 22px;
  font-weight: 700;
  color: #0a7d3c;
  margin: 0 0 16px 0;
  letter-spacing: 0.3px;
}

#successMessage.success-message p {
  font-size: 15px;
  color: #333333;
  margin: 0 0 28px 0;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  width: 100%;
}


.success-actions .btn {
  width: 100%;
  max-width: 250px;
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-align: center;
  cursor: pointer;
  border: none;
}

/* Center success message in the wrapper and full width */
.proceed-bar.show-success {
  justify-content: center;
  width: 100%;
}

.proceed-bar.show-success .proceed-left {
  display: none !important;
}

#proceedFormWrapper.show-success {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  width: 100%;
  flex: 1;
}

#proceedFormWrapper.show-success h3,
#proceedFormWrapper.show-success form,
#proceedFormWrapper.show-success .success-message-backdrop {
  display: none !important;
}

#proceedFormWrapper.show-success #successMessage {
  display: block !important;
  width: 100%;
  max-width: 420px;
}

.success-actions .btn-outline-primary {
  background: #fff;
  color: #000000;
  border: 2px solid #050505;

}

.success-actions .btn-outline-primary:hover,
.success-actions .btn-outline-primary:focus {
  background: #3d3d3d;
  color: #fff;
  border-color: #000000;
  transform: translateY(-2px) scale(1.02);
}

.success-actions .btn-secondary {
  background: linear-gradient(90deg, #080808 0%, #4b4b4b 100%);
  color: #fff;
  border: none;
}

.success-actions .btn-secondary:hover,
.success-actions .btn-secondary:focus {
  background: linear-gradient(90deg, #4b4b4b 0%, #080808 100%);
  box-shadow: 0 6px 24px rgba(51, 51, 51, 0.16);
  transform: translateY(-2px) scale(1.02);
  outline: none;
}


/* ===== PAGINATION CONTROLS ===== */
.pagination-controls {
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 5px 30px;
  margin: 10px auto;
  max-width: 800px;
  background: transparent;
  border-radius: 12px;
  border: none;

  box-shadow: none;
  animation: slideFadeInLeft 0.6s ease-out forwards;
}

.pagination-controls.show {
  display: flex;
}

.pagination-btn {
  padding: 10px 18px;
  min-width: 130px;
  border: 1px solid #333333;
  border-radius: 40px;
  background: linear-gradient(90deg, #080808 0%, #4b4b4b 100%);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.pagination-btn:hover:not(:disabled) {
  border-color: #fff;
  background: linear-gradient(90deg, #4b4b4b 0%, #080808 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.pagination-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.pagination-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: linear-gradient(90deg, #404040 0%, #2a2a2a 100%);
  border-color: #1a1a1a;
}

.pagination-info {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex: 1;
  min-width: 200px;
  padding-top: 20px;
}

#pageIndicator {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  white-space: nowrap;
}

#resultIndicator {
  font-size: 13px;
  color: #666666;
  white-space: nowrap;
}