:root {
  --primary: #c8a165;
  --primary-dark: #b08c50;
  --primary-light: #f0e6d6;
  --dark: #0a3d62;
  --dark-light: #1e5f8c;
  --gray: #666666;
  --light-gray: #e0e0e0;
  --lighter-gray: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", serif;
  font-weight: 700;
  line-height: 1.3;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(0, 0, 0, 0.1);
  transition: height 0.3s ease;
  z-index: -1;
}

.btn:hover::after {
  height: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--dark);
  border: 1px solid var(--light-gray);
}

.btn-secondary:hover {
  background-color: var(--lighter-gray);
}

.btn-dark {
  background-color: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background-color: var(--dark-light);
}

.w-100 {
  width: 100%;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

header.scrolled {
  padding: 5px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  transition: var(--transition);
}

.scrolled .header-container {
  padding: 10px 0;
}

.logo {
  font-family: "Montserrat", serif;
  font-size: 24px;
  font-weight: 700;
  color: #966F33;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--primary);
}

nav ul {
  display: none;
}

@media (min-width: 768px) {
  nav ul {
    display: flex;
    gap: 40px;
  }

  nav ul li a {
    color: var(--gray);
    font-weight: 500;
    font-size: 15px;
    position: relative;
  }

  nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
  }

  nav ul li a:hover {
    color: var(--dark);
  }

  nav ul li a:hover::after {
    width: 100%;
  }

  .menu-toggle {
    display: none;
  }
}

.menu-toggle {
  padding-right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--dark);
  transition: var(--transition);
}

.menu-toggle:hover {
  color: var(--primary);
}

.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  z-index: 999;
}

.mobile-menu.active {
  max-height: 400px;
}

.mobile-menu a {
  display: block;
  padding: 15px 20px;
  color: var(--gray);
  border-bottom: 1px solid var(--light-gray);
  transition: var(--transition);
}

.mobile-menu a:hover {
  background-color: var(--lighter-gray);
  color: var(--primary);
  padding-left: 25px;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* Hero Section */
.hero {
  position: relative;
  /* background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9), rgba(26, 26, 26, 0.7)); */
  color: var(--white);
  overflow: hidden;
  height: 100vh;
  min-height: 750px;
  display: flex;
  align-items: center;
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0;
  /* margin-top: 45px; */
  /* max-width: 800px; */
}

.badge {
  display: inline-block;
  /* background-color: var(--primary); */
  color: black;
  /* padding: 6px 16px; */
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  /*margin-bottom: 24px;*/
  /* border: 1px solid black; */
  /* box-shadow: 0 5px 15px rgba(200, 161, 101, 0.3); */
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  /* max-width: 800px; */
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 56px;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 45px;
  }
}

.hero p {
  font-size: 18px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

@media (min-width: 768px) {
  .hero p {
    font-size: 20px;
  }
}

.features-list {
  /* display: flex; */
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-icon {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  background-color: var(--primary);
}

.feature-icon i {
  color: var(--primary);
  transition: var(--transition);
}

.feature-item:hover .feature-icon i {
  color: var(--white);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Section Styles */
.section {
  padding: 70px 0;
  position: relative;
  /* display: block !important; Force display of sections */
}

@media (min-width: 768px) {
  .section {
    padding: 90px 0;
  }
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  /* display: inline-block; */
}

.section-subtitle {
  font-size: 20px;
  color: var(--gray);
  margin-bottom: 30px;
  font-weight: 300;
}

.divider {
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  margin-bottom: 30px;
  position: relative;
}

.divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 3px;
  background-color: var(--primary-dark);
}

/* About Section */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

@media (min-width: 768px) {
  .about-grid {
    flex-direction: row;
    align-items: center;
  }

  .about-image,
  .about-content {
    width: 50%;
  }
  
}
@media (max-width: 768px) {
 /* .qr {
    position: fixed !important;
    top: -110px !important;
    right: 2px !important;
    z-index: 1000;
  } */
  .hero p{
    font-size: 16px;
    margin-bottom: 8px;
  }
  /* .feature-icon{
    width: 25px;
    height: 25px;
  } */
  .mister{
    padding: 35px 9px 20px 10px !important;

  }
  .logo h2{
    font-size: 20px !important;
  }

}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.about-image::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 3px solid var(--primary);
  border-left: 3px solid var(--primary);
  z-index: -1;
}

.about-image::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-bottom: 3px solid var(--primary);
  border-right: 3px solid var(--primary);
  z-index: -1;
}

.about-content p {
  color: var(--gray);
  margin-bottom: 24px;
  font-size: 16px;
}

.about-features {
  margin-top: 30px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: var(--transition);
  padding: 10px;
  border-radius: 4px;
}

.about-feature:hover {
  background-color: var(--lighter-gray);
  transform: translateX(5px);
}

.about-feature i {
  color: var(--primary);
  margin-top: 5px;
  font-size: 18px;
}

/* Floor Plans Section */
.bg-gray {
  background-color: var(--lighter-gray);
}

.text-center {
  text-align: center;
}

.section-header {
  max-width: 800px;
  margin: 0 auto 40px;
}

.divider.center {
  margin-left: auto;
  margin-right: auto;
}

.table-container {
  overflow-x: auto;
  margin-bottom: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
}

thead {
  background-color: var(--dark);
  color: var(--white);
}

th,
td {
  padding: 18px 24px;
  text-align: left;
}

th {
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 15px;
}

tbody tr {
  border-bottom: 1px solid var(--light-gray);
  transition: var(--transition);
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:hover {
  background-color: rgba(200, 161, 101, 0.05);
}

tbody td {
  font-size: 15px;
}

tbody td:first-child {
  font-weight: 500;
}

tbody td:last-child {
  font-weight: 600;
  color: var(--primary-dark);
}

/* Amenities Section */
.amenities {
  background: var(--white);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.amenity-card {
  position: relative;
  height: 240px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amenity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.amenity-front,
.amenity-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  transition: opacity 0.4s ease, transform 0.4s ease;
  backface-visibility: hidden;
}

/* Desktop: Show image first, text on hover */
@media (min-width: 769px) {
  .amenity-front {
    background: #2e2e2e;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    transform: scale(1);
  }

  .amenity-back {
    background: #f5f5f5;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(154, 123, 79, 0.1);
    opacity: 0;
    transform: scale(0.95);
  }

  .amenity-card:hover .amenity-front {
    opacity: 0;
    transform: scale(1.05);
  }

  .amenity-card:hover .amenity-back {
    opacity: 1;
    transform: scale(1);
  }

  .amenity-back h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2e2e2e;
  }

  .amenity-back p {
    font-size: 14px;
    color: #777;
    line-height: 1.4;
  }

  .amenity-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .amenity-card:hover .amenity-image {
    transform: scale(1.1);
  }
}

/* Mobile: Show text first, image on scroll */
@media (max-width: 768px) {
  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  /* .amenity-card {
    height: 2000px;
  } */
   .location-item{
    padding: 8px !important;
    border-radius: 4px !important;
    transition: var(--transition);
    background-color: var(--white);
    margin-bottom: 5px !important;

   }

  .amenity-front {
    background: #f5f5f5;
    /* padding: 1.5rem; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(154, 123, 79, 0.1);
    opacity: 1;
    transform: scale(1);
  }

  .amenity-back {
    background: #2e2e2e;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.95);
  }

  .amenity-card.mobile-active .amenity-front {
    opacity: 0;
    transform: scale(0.95);
  }

  .amenity-card.mobile-active .amenity-back {
    opacity: 1;
    transform: scale(1);
  }

  .amenity-front h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2e2e2e;
  }

  .amenity-front p {
    font-size: 14px;
    color: #777;
    line-height: 1.4;
  }

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

/* Color variables for amenities */
:root {
  --white: #fff;
  --light-grey: #f5f5f5;
  --charcoal-grey: #2e2e2e;
  --muted-grey: #777;
}

.offer-box {
  background-color: var(--white);
  border: 1px solid var(--primary-light);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.offer-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--primary);
}

.offer-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--dark);
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .offer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.offer-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.offer-item i {
  color: var(--primary);
  margin-top: 5px;
  font-size: 18px;
}

.offer-item-title {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 16px;
}

.offer-item-value {
  color: var(--gray);
  font-size: 15px;
}

.offer-total {
  margin-top: 30px;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 20px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px dashed var(--light-gray);
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .floorp {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 280px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Position the caption at the top of the image */
.gallery-item .gallery-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--dark) !important;
  padding: 10px;
  text-align: center;
  font-weight: 600;
  z-index: 2;
}

/* Center the button on hover */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: var(--white);
  font-weight: 500;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Location Section */
.location-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

@media (min-width: 768px) {
  .location-grid {
    flex-direction: row;
    align-items: center;
  }

  .location-content,
  .location-map {
    width: 50%;
  }
}

.location-list {
  margin-bottom: 40px;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 10px;
  transition: var(--transition);
  padding: 5px;
  border-radius: 4px;
}

.location-item:hover {
  background-color: var(--lighter-gray);
  transform: translateX(5px);
}

.location-item i {
  color: var(--primary);
  margin-top: 5px;
  font-size: 18px;
}

.growth-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--dark);
}

.map-container {
  height: 450px;
  background-color: var(--lighter-gray);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

.map-container::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-top: 3px solid var(--primary);
  border-right: 3px solid var(--primary);
  z-index: 1;
}

.map-container::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-bottom: 3px solid var(--primary);
  border-left: 3px solid var(--primary);
  z-index: 1;
}

.map-container i {
  font-size: 48px;
  color: var(--gray);
  margin-bottom: 20px;
}

.map-placeholder {
  color: var(--gray);
  font-size: 16px;
}

/* Contact Section */
.contact-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-info {
  background-color: var(--dark);
  color: var(--white);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://source.unsplash.com/random/600x800/?luxury,building") center / cover no-repeat;
  opacity: 0.2;
}

.contact-info-content {
  position: relative;
  z-index: 1;
}

.contact-info-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.contact-detail:hover .contact-icon {
  background-color: var(--primary);
}

.contact-icon i {
  color: var(--primary);
  font-size: 20px;
  transition: var(--transition);
}

.contact-detail:hover .contact-icon i {
  color: var(--white);
}

.contact-detail-content p:first-child {
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-detail-content p:last-child {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.contact-buttons {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form {
  padding: 50px 40px;
}

.contact-form-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--dark);
}

/* Form Styles */
.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-control {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  transition: var(--transition);
  background-color: var(--white);
  color: var(--dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200, 161, 101, 0.1);
}

.form-label {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--gray);
  pointer-events: none;
  transition: var(--transition);
  background-color: var(--white);
  padding: 0 5px;
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
  top: 0;
  background-color: var(--white);
  padding: 0 5px;
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
  top: 0;
  font-size: 12px;
  color: var(--primary);
}

.form-textarea-label {
  top: 25px;
}

.form-control:focus + .form-textarea-label,
.form-control:not(:placeholder-shown) + .form-textarea-label {
  top: 0;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
  padding-top: 20px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--white);
  /*padding: 80px 0 40px;*/
  position: relative;
}

/* footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://source.unsplash.com/random/1600x900/?pattern") center / cover no-repeat;
  opacity: 0.05;
} */

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--white);
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-text {
  color: rgb(255, 255, 255);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  font-size: 15px;
  display: inline-block;
  position: relative;
  padding-left: 15px;
}

.footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--white);
  padding-left: 20px;
}

.footer-link:hover::before {
  left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  /* margin-top: 60px; */
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  padding-bottom: 20px;
}

/* Popup Form */
.popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-container {
  background-color: var(--white);
  border-radius: 8px;
  width: 100%;
  max-width: 550px;
  margin: 0 20px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
  overflow: hidden;
}

.popup-overlay.active .popup-container {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.popup-header {
  padding: 30px 30px 20px;
  border-bottom: 1px solid var(--light-gray);
  position: relative;
}

.popup-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.popup-subtitle {
  color: var(--gray);
  font-size: 15px;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.popup-close:hover {
  color: var(--primary);
  background-color: var(--lighter-gray);
}

.popup-body {
  padding: 30px;
}

.popup-success {
  text-align: center;
  padding: 50px 30px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.success-icon i {
  font-size: 40px;
  color: #10b981;
}

.success-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.success-message {
  color: var(--gray);
  margin-bottom: 30px;
  font-size: 16px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}
.mister {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.811), rgba(150, 124, 69, 0.018));
  padding: 40px;
  border-radius: 30px;
  margin-top: 60px;
  /* width: 43vw; */
  opacity: 5;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scale-in.active {
  opacity: 1;
  transform: scale(1);
}

/* Staggered animations */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* Delay classes */
.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

.delay-500 {
  transition-delay: 0.5s;
}

.delay-600 {
  transition-delay: 0.6s;
}

.delay-700 {
  transition-delay: 0.7s;
}

.delay-800 {
  transition-delay: 0.8s;
}

/* Parallax effect */
.parallax {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Update the floor plans section styling */

.floorp {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .floorp {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Add styling for the floor plan items to properly position elements */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 280px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Position the caption at the top of the image */
.gallery-item .gallery-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--dark) !important;
  padding: 10px;
  text-align: center;
  font-weight: 600;
  z-index: 2;
}

/* Center the button on hover */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Reduce line gaps and margins throughout the page */
.section {
  padding: 70px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 90px 0;
  }
}

.section-header {
  margin: 0 auto 40px;
}

/* Update theme colors to blue and gold */
:root {
  --primary: #c8a165;
  --primary-dark: #b08c50;
  --primary-light: #f0e6d6;
  --dark: #0a3d62;
  --dark-light: #1e5f8c;
  --gray: #666666;
  --light-gray: #e0e0e0;
  --lighter-gray: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Enhance button styling */
.btn-dark {
  background-color: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background-color: var(--dark-light);
}

/* Fix the floor plan section buttons */
#floor-plans .gallery-item .btn {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

#floor-plans .gallery-item:hover .btn {
  opacity: 1;
}

/* Pricing Section */
.pricing-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
  border: 1px solid var(--primary-light);
  position: relative;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--primary);
}

.pricing-header {
  padding: 30px;
  border-bottom: 1px solid var(--light-gray);
  text-align: center;
}

.pricing-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
}

.price-highlight {
  color: var(--primary-dark);
  font-weight: 700;
}

.pricing-grid {
  filter: blur(2px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 30px;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
}

.pricing-subtitle {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--dark);
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.pricing-subtitle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--primary);
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-radius: 6px;
  background-color: var(--lighter-gray);
  transition: var(--transition);
}

.pricing-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.pricing-item.benefit {
  background-color: rgba(200, 161, 101, 0.1);
}

.pricing-item-name {
  font-weight: 500;
  font-size: 16px;
}

.pricing-item-value {
  font-weight: 600;
  color: var(--dark);
}

.waived {
  color: #10b981;
  font-weight: 700;
}

.pricing-footer {
  padding: 30px;
  border-top: 1px dashed var(--light-gray);
  text-align: center;
}

.total-benefit {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 25px;
}

/* Make sure the popup close button works properly */
.popup-close {
  cursor: pointer;
  z-index: 10;
}

/* Ensure the popup overlay is properly positioned */
.popup-overlay {
  z-index: 2000;
}

/* Responsive adjustments for small screens */
@media (max-width: 576px) {
  .hero h1 {
    font-size: 20px;
  }
  .pricing-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .pricing-item-value {
    align-self: flex-end;
  }

  .pricing-title {
    font-size: 24px;
  }

  .pricing-subtitle {
    font-size: 20px;
  }

  .total-benefit {
    font-size: 20px;
  }
  .badge{
    font-size: 9px !important;

  }
}
.qr{
  display: flex; justify-content: flex-end; align-items: center; gap: 5px; 
}
.typewriter-text {
  overflow: hidden;
  white-space: nowrap;
  /* border-right: 2px solid #000; */
  width: 0;
  animation: typing 2s steps(50, end) forwards, blink 0.3s step-end infinite;
  /* font-size: 2.2rem; */
  /* text-align: center; */
  /* margin: 2rem auto; */
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
  /* filter: brightness(0.5); Optional: darkens the video for better text contrast */
  pointer-events: none; /* Prevent video from blocking clicks on overlay content */
}

