:root {
  --maroon: #8b1a4a;
  --maroon-dark: #6e1039;
  --maroon-light: #a83262;
  --maroon-tint: #f2e6eb;
  --gold: #d4943a;
  --gold-dark: #b87a2a;
  --gold-light: #e8b96e;
  --gold-tint: #fdf3e7;
  --charcoal: #3c3c3c;
  --charcoal-light: #555555;
  --accent-bg: #fbf7f2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
.container {
  max-width: 1300px;
}

body {
  background: #fff;
  color: #111;
}

/* ================= HEADER ================= */
.floating-header {
  position: fixed;
  top: 18px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 999;
}

.header-inner {
  width: 100%;
  max-width: 1600px;
  background: #fff;
  padding: 16px 34px;
  border-radius: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.logo {
  font-size: 20px;
  font-weight: 600;
}

.logo img {
  width: 150px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
}

.main-nav a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.btn-pill {
  padding: 10px 22px;
  background: var(--maroon);
  border-radius: 30px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-pill:hover {
  background: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 26, 74, 0.3);
}

/* ================= MEGA MENU ================= */
.big-menu {
  width: 1100px;
  padding: 40px 45px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.menu-column {
  border-right: 1px solid #eee;
  padding-right: 25px;
}

.menu-column:last-child {
  border-right: none;
}

.menu-tag {
  display: inline-block;
  background: var(--gold-tint);
  padding: 6px 13px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 500;
  margin: 15px 0px;
}

.menu-item {
  /* margin-bottom: 18px; */
  cursor: pointer;
  transition: 0.25s;
}

.menu-item p {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  margin-left: 6px;
  font-weight: 500;
}

/* .menu-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
} */

.menu-item:hover {
  transform: translateX(6px);
}

.mega-parent {
  position: relative;
}
.mega-menu {
  position: absolute;
  top: 140%;
  left: 50%;
  transform: translateX(-50%);
  width: 930px;
  background: #fff;
  border-radius: 30px;
  padding: 14px 10px 14px 36px;
  display: flex;
  gap: 40px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.menu-item img {
  padding-top: 50px;
  border-radius: 10px;
  width: 200px;
}
.mega-parent.show .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mega-menu1 {
  position: absolute;
  top: 140%;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  background: #fff;
  border-radius: 30px;
  padding: 22px;
  display: flex;
  gap: 40px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.mega-menu1.big-menu img {
  width: 150px;
}
.mega-parent.show .mega-menu1 {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-left {
  width: 60%;
  display: flex;
  gap: 40px;
}

.mega-column h4 {
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  margin-bottom: 12px;
}

.sub-list {
  list-style: none;
  display: none;
}

.sub-list li {
  font-size: 14px;
  padding: 6px 0;
  color: #444;
  cursor: pointer;
}

.mega-right {
  width: 40%;
}

.mega-right h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.mega-right p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.mega-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--maroon);
  text-decoration: none;
  font-weight: 500;
}

/* ================= HERO ================= */
.hero {
  height: 100vh;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.15)
    ),
    url("../images/real-estate/banner1.png");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  position: relative;
  border-radius: 0 0 24% 24%;
}

.hero-center {
  text-align: center;
  max-width: 900px;
  padding-top: 80px;
}

.hero-center h1 {
  font-size: 70px;
  line-height: 1.05;
  margin-bottom: 20px;
  text-transform: capitalize;
}

.hero-center p {
  font-size: 16px;
  opacity: 0.9;
  max-width: 650px;
  margin: auto;
}

.hero-bottom {
  position: absolute;
  bottom: 60px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.glass-card {
  width: 300px;
  padding: 50px 26px 26px;
  border-radius: 20px;
  background: linear-gradient(rgb(255 251 251 / 65%), rgb(255 255 255 / 8%));
  backdrop-filter: blur(14px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  height: 198px;
  margin-bottom: -150px;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}
.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 60px rgba(0, 0, 0, 0.35);
}

.glass-card h4 {
  margin-bottom: 8px;
  font-size: 22px;
  color: var(--maroon);
}

.glass-card p {
  font-size: 14px;
  opacity: 0.85;
  color: #000;
}

/* ================= SMOOTH SCROLL ================= */
html {
  scroll-behavior: smooth;
}

/* ================= NAV HOVER ACCENT ================= */
.main-nav a {
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--maroon);
  transition: width 0.3s ease;
}
.main-nav a:hover::after {
  width: 100%;
}

/* ================= MOBILE ================= */
/* MOBILE HEADER */

/* MOBILE HEADER */
.mobile-header {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  background: #fff;
  padding: 14px 20px;
  border-radius: 60px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* HIDE MOBILE UI BY DEFAULT (DESKTOP SAFE) */
.mobile-header,
.mobile-drawer {
  display: none;
}

.hamburger {
  background: var(--maroon);
  color: #fff;
  padding: 10px 14px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
}

.mobile-logo img {
  width: 110px;
  height: auto;
}

.drawer-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.drawer-menu li:last-child {
  border-bottom: none;
}

/* DRAWER */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: #fff;
  transform: translateX(100%);
  transition: 0.45s ease;
  z-index: 9999;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.drawer-header .close {
  font-size: 30px;
  cursor: pointer;
}

/* LEFT MENU */
.drawer-menu {
  list-style: none;
  padding: 25px;
}

.drawer-menu li {
  font-size: 20px;
  font-weight: 500;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

/* RIGHT SUB PANEL */
.mobile-subpanel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: 0.4s ease;
  padding: 25px;
}

.mobile-subpanel.active {
  transform: translateX(0);
}

.subpanel-header {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}

.back {
  font-size: 28px;
  cursor: pointer;
}

#subpanelList {
  list-style: none;
}

#subpanelList li {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .floating-header {
    display: none;
  }

  .mobile-header {
    display: flex;
  }

  .mobile-drawer {
    display: block;
  }

  .hamburger {
    display: block;
  }
}
