*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
  scroll-padding-top: 80px;
  font-size: 16px;
  overflow-x: hidden;
}

html, body {
  overflow-x: hidden;
}

#price-nav{
  scroll-padding-top: 90px;
}

#project-nav{
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  scroll-behavior: smooth;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #2c2c2c;
  line-height: 1.7;
  background-color: #fafafa;
  animation: fadeInBody 1s ease-in;
}

@keyframes fadeInBody {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#cursor-circle {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  pointer-events: none;
  border-radius: 50%;
  border: 2px solid #8b6f47;
  background: transparent;
  box-shadow: 0 2px 8px rgba(139, 111, 71, 0.2);
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#cursor-circle::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8b6f47;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

#cursor-circle:hover {
  border-color: #6b5637;
  transform: translate(-50%, -50%) scale(1.2);
}

#cursor-circle:hover::after {
  background: #6b5637;
  transform: translate(-50%, -50%) scale(1.3);
}

/* Navbar */
.navbar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  z-index: 1000;
  border-bottom: 2px solid rgba(139, 111, 71, 0.3);
  transition: all 0.4s ease;
  animation: slideDownNav 0.8s ease-out;
}

@keyframes slideDownNav {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.logo-nav img {
  height: 70px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo-nav img:hover {
  transform: scale(1.05);
}

.menu-list-nav {
  list-style: none;
  display: flex;
  gap: 40px;
  align-items: center;
}

.menu-list-nav li a {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 0.95rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-list-nav li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #8b6f47;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-list-nav li a:hover {
  color: #8b6f47;
  letter-spacing: 0.15em;
}

.menu-list-nav li a:hover::before {
  width: 100%;
}

/* Active dotted underline */
.menu-list-nav li a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 0;
  height: 2px;
  border-bottom: 2px solid #8b6f47;
  transform: translateX(-50%);
  animation: underlineExpand-nav 0.6s forwards;
}

@keyframes underlineExpand-nav {
  0% { width: 0; }
  100% { width: 100%; }
}

/* Call Button */

.call-btn-nav i {
  margin-right: 8px;
}

.close-btn-nav{
    display: none;
}

.call-btn-nav  {
  text-decoration: none;
  background: transparent;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
  border-radius: 0;
  padding: 12px 28px;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  font-family: 'Georgia', serif;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  margin: 10px 0;
  text-transform: uppercase;
}

.call-btn-nav:hover {
  border: 2px solid #8b6f47;
  background: #8b6f47;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 111, 71, 0.3);
}
/* Mobile Toggle */
.menu-toggle-nav {
  display: none;
  font-size: 28px;
  cursor: pointer;
  padding: 5px 10px;
  border: 2px dotted rgb(7, 115, 186);
  border-radius: 5px;
}

@media (max-width: 1266px) {
  .menu-list-nav {
    position: fixed;
    top: 0;
    right: -100%;
    background: white;
    height: 100vh;
    width: 250px;
    flex-direction: column;
    align-items: start;
    padding: 50px 20px;
    gap: 20px;
    transition: 0.3s ease-in-out;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  }

  .menu-list-nav.open {
    right: 0;
  }

  .menu-toggle-nav {
    display: block;
  }

  .close-btn-nav {
    display: block;
    font-size: 28px;
    cursor: pointer;
    margin-bottom: 20px;
    padding: 5px 10px;
    border: 2px dotted rgb(7, 115, 186);
    border-radius: 5px;
  }

  /* Hide call button on mobile */
  .call-btn-nav {
    display: none;
  }
}

/* ===========================
   HERO SECTION STYLES
=========================== */
.hero-section {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  font-family: 'Georgia', 'Times New Roman', serif;
  margin-top: 80px;
  animation: fadeInHero 1.2s ease-out;
}

@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===========================
   BANNER IMAGES
=========================== */
.hero-banner-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  background-color: #1a1a1a;
  max-width: 100vw;
}

.hero-banner {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  top: 0;
  left: 0;
  transform: scale(1.05);
  transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.98) contrast(1.02);
  display: block;
  max-width: 100%;
}

.hero-banner.active {
  opacity: 1;
  transform: scale(1);
  filter: brightness(1) contrast(1);
}

/* ===========================
   OVERLAY (LOGO + CARD)
=========================== */
.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
  color: #000;
}

/* Logo Styling */
.hero-logo img {
  margin-top: 30%;
  max-width: 350px;
  margin-bottom: 30px;

  /* Makes black-text logos visible */
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 20px;
  border-radius: 8px;
  filter: drop-shadow(1px 1px 3px rgba(0,0,0,0.2));
}

/* ===========================
   CARD CONTAINER
=========================== */
.hero-card {
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 20px 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Card Item */
.hero-card-item {
  flex: 1;
  text-align: center;
  padding: 20px 30px;
  transition: background 0.3s ease, transform 0.3s ease;
}

/* Hover Effect */
.hero-card-item:hover {
  background: #f5deb3; /* Sandal color */
  transform: scale(1.05);
  border-radius: 8px;
  z-index: 1;
}

/* Divider (Vertical Line) */
.hero-divider {
  width: 1px;
  background: rgba(0, 0, 0, 0.2);
}

/* ===========================
   CARD TEXT STYLES
=========================== */
.hero-card-title {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #444;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.hero-card-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #000;
  margin: 6px auto 0 auto;
}

.hero-card-text {
  font-size: 16px;
  font-weight: bold;
  color: rgb(7, 115, 186);
  margin-top: 5px;
}

/* ===========================
   RESPONSIVE DESIGN
=========================== */
@media (max-width: 768px) {
  .hero-section {
    height: 60vh;
    min-height: 400px;
    max-height: 500px;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .hero-banner-container {
    position: absolute;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
  }

  .hero-banner {
    position: absolute;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    top: 0;
    left: 0;
    right: 0;
    transform: scale(1);
    min-width: 100%;
    min-height: 100%;
  }

  .hero-banner.active {
    transform: scale(1);
  }

  .hero-card {
    flex-direction: column;
    padding: 20px;
  }

  .hero-divider {
    display: none; /* remove vertical lines on mobile */
  }

  .hero-card-item {
    padding: 15px 20px;
  }
}

/* Initial hidden state */
.hero-logo, .hero-card {
  opacity: 0;
  transform: translateY(100px); /* start from bottom */
  transition: all 0.8s ease-out;
}

/* When visible */
.hero-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ===========================
   Overview Section
=========================== */
.overview-section {
  position: relative;
  padding: 100px 8%;
  background: #ffffff;
  font-family: 'Georgia', 'Times New Roman', serif;
  overflow: hidden;
}

.overview-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #8b6f47, transparent);
  opacity: 0.3;
}

/* ===========================
   Title with Diamond & Lines
=========================== */
.overview-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 80px;
  position: relative;
  letter-spacing: 0.08em;
  font-style: italic;
}

.overview-title div {
  margin-top: 10px;
  font-family: 'Georgia', 'Times New Roman', serif;
  display: inline-block;
  position: relative;
  padding: 0 20px;
}

.overview-line {
  display: inline-block;
  width: 120px;
  height: 2px;
  background: linear-gradient(to right, transparent, #8b6f47, transparent);
  margin: 0 20px;
  vertical-align: middle;
  position: relative;
  animation: expandLine 1.5s ease-out 0.5s both;
}

.overview-line::before,
.overview-line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  background: #8b6f47;
  border-radius: 50%;
  transform: translateY(-50%);
}

.overview-line::before {
  left: -2px;
}

.overview-line::after {
  right: -2px;
}

.overview-diamond {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #8b6f47;
  transform: rotate(45deg);
  vertical-align: middle;
  animation: rotateDiamond 1s ease-out 0.8s both;
  box-shadow: 0 0 8px rgba(139, 111, 71, 0.4);
}

@keyframes expandLine {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 120px;
    opacity: 1;
  }
}

@keyframes rotateDiamond {
  from {
    transform: rotate(0deg) scale(0);
    opacity: 0;
  }
  to {
    transform: rotate(45deg) scale(1);
    opacity: 1;
  }
}

/* ===========================
   Layout
=========================== */
.overview-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.overview-text {
  flex: 0.9;
  position: relative;
  animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.overview-subtitle {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 2.2rem;
  color: #1a1a1a;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
  line-height: 1.3;
  position: relative;
  padding-bottom: 15px;
}

.overview-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: #8b6f47;
  animation: expandUnderline 1s ease-out 0.5s both;
}

@keyframes expandUnderline {
  from {
    width: 0;
  }
  to {
    width: 60px;
  }
}

.overview-text p {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #4a4a4a;
  font-size: 1.15rem;
  margin-bottom: 45px;
  max-width: 95%;
  line-height: 1.9;
  text-align: justify;
  animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
  Enquire Button
=========================== */
.overview-btn {
  text-decoration: none;
  background: transparent;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
  padding: 16px 40px;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  font-family: 'Georgia', serif;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.overview-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #8b6f47;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.overview-btn:hover {
  border: 2px solid #8b6f47;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 111, 71, 0.4);
  letter-spacing: 0.22em;
}

.overview-btn:hover::before {
  left: 0;
}

/* ===========================
   Right Image
=========================== */
.overview-image {
  flex: 1;
  animation: fadeInRight 1s ease-out;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  min-height: 500px;
  max-height: 600px;
  width: 100%;
  background-color: #f5f5f5;
}

/* Removed decorative border cards to prevent overlapping */

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInFrame {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 0.3;
    transform: scale(1);
  }
}

.overview-image img {
  width: 100%;
  height: auto;
  min-height: 500px;
  max-height: 600px;
  max-width: 100%;
  border-radius: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  object-fit: contain;
  object-position: center;
  border: none;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  display: block;
}

.overview-image:hover img {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

/* ===========================
   Background Palm Leaf
=========================== */
.overview-bg-leaf {
  position: absolute;
  left: 30%;
  top: 55%;
  width: 800px;
  height: 800px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'><path d='M30.648 90h-4.666c-0.276 0-0.54-0.114-0.729-0.315c-0.189-0.202-0.287-0.473-0.269-0.748c1.473-23.129 7.78-37.706 23.516-52.984c-11.987 6.803-23.657 18.781-25.661 35.247c-0.051 0.42-0.361 0.763-0.774 0.854c-0.414 0.094-0.84-0.086-1.065-0.443c-8.808-14.02-8.505-26.712 0.952-39.944c5.454-7.272 13.28-11.279 20.185-14.815c8.346-4.273 15.554-7.964 17.098-16.04c0.078-0.407 0.398-0.723 0.807-0.796c0.407-0.073 0.818 0.113 1.032 0.467c10.854 17.977 19.798 35.828 10.159 56.542c-7.694 13.752-20.459 20.112-37.994 18.96c-1.01 4.324-1.531 8.595-1.59 13.028C31.641 89.561 31.195 90 30.648 90zM27.052 88h2.617c0.129-4.515 0.728-8.881 1.825-13.313c0.118-0.475 0.554-0.793 1.049-0.757c17.367 1.366 29.437-4.464 36.911-17.814c8.859-19.047 1.472-35.189-8.879-52.575c-2.563 7.429-9.851 11.161-17.526 15.091c-7.04 3.604-14.319 7.332-19.483 14.216c-8.376 11.72-9.128 23.011-2.278 35.324c3.534-18.634 18.924-31.329 32.625-37.12c0.452-0.192 0.977-0.027 1.237 0.39c0.261 0.416 0.181 0.959-0.188 1.283C36.16 49.192 28.777 63.753 27.052 88z' fill='%23000'/></svg>") no-repeat center/contain;
  opacity: 0.08;
  z-index: 1;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 992px) {
  .overview-container {
    flex-direction: column;
    text-align: center;
  }

  .overview-bg-leaf {
    left: 50%;
    top: 55%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
  }
}

/* ===========================
   Scroll Animations
=========================== */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeRight {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeLeft {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Hidden by default */
.scroll-reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Visible state */
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced scroll reveal animations */
.scroll-reveal.fade-up.visible {
  animation: fadeInUpScroll 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.scroll-reveal.fade-right.visible {
  animation: fadeInRightScroll 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.scroll-reveal.fade-left.visible {
  animation: fadeInLeftScroll 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.scroll-reveal.zoom-in.visible {
  animation: zoomInScroll 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUpScroll {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRightScroll {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeftScroll {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomInScroll {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation variations */
.fade-up.visible {
  animation: fadeUp 0.8s ease-out forwards;
}
.fade-right.visible {
  animation: fadeRight 0.9s ease-out forwards;
}
.fade-left.visible {
  animation: fadeLeft 0.9s ease-out forwards;
}
.zoom-in.visible {
  animation: zoomIn 1s ease-out forwards;
}

/* ========== Base Section ========== */
.gallery-section {
  position: relative;
  padding: 100px 8%;
  background: #fafafa;
  text-align: center;
  font-family: 'Georgia', 'Times New Roman', serif;
  overflow: hidden;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #8b6f47, transparent);
  opacity: 0.3;
}

/* Title */
.gallery-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 80px;
  letter-spacing: 0.08em;
  font-style: italic;
}

.gallery-line {
  display: inline-block;
  width: 100px;
  height: 1px;
  background: #8b6f47;
  margin: 0 15px;
  vertical-align: middle;
}

.gallery-diamond {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #8b6f47;
  transform: rotate(45deg);
  vertical-align: middle;
}

/* ========== Container & Leaf ========== */
.gallery-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Gallery arrows and leaves removed - using grid layout instead */

/* ========== Grid Layout (2:4 ratio) ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  animation: fadeInUp 0.8s ease-out;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  cursor: pointer;
  border: 2px solid rgba(139, 111, 71, 0.2);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s ease, filter 0.3s ease;
  filter: brightness(0.95) contrast(1.05);
  display: block;
  opacity: 0;
  animation: fadeInGrid 0.6s ease-out forwards;
}

.gallery-grid img:nth-child(1) { animation-delay: 0.1s; }
.gallery-grid img:nth-child(2) { animation-delay: 0.15s; }
.gallery-grid img:nth-child(3) { animation-delay: 0.2s; }
.gallery-grid img:nth-child(4) { animation-delay: 0.25s; }
.gallery-grid img:nth-child(5) { animation-delay: 0.3s; }
.gallery-grid img:nth-child(6) { animation-delay: 0.35s; }
.gallery-grid img:nth-child(7) { animation-delay: 0.4s; }
.gallery-grid img:nth-child(8) { animation-delay: 0.45s; }
.gallery-grid img:nth-child(9) { animation-delay: 0.5s; }

@keyframes fadeInGrid {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  filter: brightness(1) contrast(1);
  z-index: 10;
  position: relative;
}

@keyframes fade {
  from { 
    opacity: 0.4;
    transform: scale(1.02);
  }
  to { 
    opacity: 1;
    transform: scale(1);
  }
}

/* Smooth page transitions */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Elegant focus states */
a:focus,
button:focus,
input:focus {
  outline: 2px solid #8b6f47;
  outline-offset: 2px;
}

/* Classic selection styling */
::selection {
  background: #8b6f47;
  color: #fff;
}

::-moz-selection {
  background: #8b6f47;
  color: #fff;
}

/* ========== Modal ========== */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.gallery-modal-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  transition: transform 0.3s;
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.gallery-mobile-arrow{
  display: none;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .gallery-container {
    padding: 0 3%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 15px;
  }

  .gallery-grid img {
    min-height: 200px;
  }

  /* Hide leaf wrappers completely on mobile */
  .gallery-leaf {
    display: none;
  }

  .gallery-mobile-arrow{
    display: none;
  }
}

/* =======================
   Gallery Scroll Animations
======================= */

/* Hidden state */
.gallery-section .scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

/* Visible state */
.gallery-section .scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Specific variations */
.gallery-title.scroll-reveal.visible {
  animation: fadeDown 0.9s ease-out forwards;
}

.gallery-container.scroll-reveal.visible {
  animation: fadeUp 1s ease-out forwards;
}

.gallery-slider img.active.scroll-reveal.visible {
  animation: zoomIn 1s ease-out forwards;
}

.gallery-arrow.scroll-reveal.visible {
  animation: fadeLeft 0.8s ease-out forwards;
}

/* Animations */
@keyframes fadeDown {
  0% { opacity: 0; transform: translateY(-40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  0% { opacity: 0; transform: translateX(40px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
  0% { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

/* ===Project Section===*/


.project-section-container {
  text-align: center;
  padding: 100px 8%;
  background: #fafafa;
  position: relative;
}

.project-section-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #8b6f47, transparent);
  opacity: 0.3;
}

.project-section-title {
  font-size: 2.8rem;
  margin-bottom: 80px;
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: 0.08em;
  font-style: italic;
  position: relative;
}

.project-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  justify-content: center;
  max-width: 1400px;
  margin: 40px auto;
}

.project-section-card {
  background: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(139, 111, 71, 0.15);
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.project-section-card:nth-child(1) { animation-delay: 0.1s; }
.project-section-card:nth-child(2) { animation-delay: 0.2s; }
.project-section-card:nth-child(3) { animation-delay: 0.3s; }
.project-section-card:nth-child(4) { animation-delay: 0.4s; }
.project-section-card:nth-child(5) { animation-delay: 0.5s; }

.project-section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #8b6f47;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.project-section-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
  border-color: rgba(139, 111, 71, 0.5);
}

.project-section-card:hover::before {
  transform: scaleX(1);
}

.project-section-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
  filter: brightness(0.95) contrast(1.05);
}

.project-section-card:hover .project-section-image {
  transform: scale(1.1);
  filter: brightness(1) contrast(1.1);
}

.project-section-content {
  padding: 30px 25px;
}

.project-section-content h3 {
  margin-bottom: 20px;
  color: #1a1a1a;
  font-size: 1.5rem;
  font-family: 'Georgia', serif;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.project-info-item {
  margin-bottom: 12px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.project-info-label {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.95rem;
  display: inline;
  font-family: 'Georgia', serif;
}

.project-info-value {
  color: #4a4a4a;
  font-size: 0.95rem;
  display: inline;
  margin-left: 8px;
  font-family: 'Georgia', serif;
}

.project-section-map {
  display: inline-block;
  color: #8b6f47;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  margin-left: 8px;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.project-section-map:hover {
  color: #6b5637;
  border-bottom-color: #6b5637;
}

.project-section-buttons {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.project-section-buttons button {
  background: transparent;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
  padding: 10px 24px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Georgia', serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.project-section-buttons button:hover {
  background: #8b6f47;
  border-color: #8b6f47;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 111, 71, 0.3);
}

/* Modal */
.project-section-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.project-section-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.project-section-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .project-section-container {
    padding: 60px 5%;
  }

  .project-section-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .project-section-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .project-section-buttons button {
    width: 100%;
  }

  .overview-section {
    padding: 60px 5%;
  }

  .overview-container {
    flex-direction: column;
    gap: 40px;
  }

  .overview-image {
    width: 100%;
    overflow: hidden;
    min-height: 350px;
    max-height: 450px;
    background-color: #f5f5f5;
  }

  .overview-image img {
    width: 100%;
    height: auto;
    min-height: 350px;
    max-height: 450px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .amenities-section {
    padding: 60px 5%;
  }

  .amenities-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-section {
    padding: 60px 5%;
  }

  .location-contact-section {
    padding: 60px 5%;
  }
}

/* === amenities === */


.amenities-section {
  padding: 100px 8%;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #1a1a1a;
  background: #ffffff;
  position: relative;
}

.amenities-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #8b6f47, transparent);
  opacity: 0.3;
}

.amenities-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-self: center;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
}

.amenities-text{
  position: sticky;
  top: 150px;
  align-self: flex-start;
}

.amenities-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 50px;
  letter-spacing: 0.08em;
  font-style: italic;
}

.amenities-line {
  display: inline-block;
  width: 100px;
  height: 1px;
  background: #8b6f47;
  margin: 0 15px;
  vertical-align: middle;
}

.amenities-diamond {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #8b6f47;
  transform: rotate(45deg);
  vertical-align: middle;
}

.amenities-description {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #4a4a4a;
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 95%;
  line-height: 1.8;
  text-align: left;
}

.amenities-brochure-btn {
  text-decoration: none;
  background: transparent;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
  padding: 14px 32px;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  font-family: 'Georgia', serif;
  font-weight: 500;
}

.amenities-brochure-btn:hover {
  border: 2px solid #8b6f47;
  background: #8b6f47;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 111, 71, 0.3);
}

.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.amenity-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(139, 111, 71, 0.15);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.amenity-card:nth-child(1) { animation-delay: 0.1s; }
.amenity-card:nth-child(2) { animation-delay: 0.2s; }
.amenity-card:nth-child(3) { animation-delay: 0.3s; }
.amenity-card:nth-child(4) { animation-delay: 0.4s; }
.amenity-card:nth-child(5) { animation-delay: 0.5s; }
.amenity-card:nth-child(6) { animation-delay: 0.6s; }

.amenity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #8b6f47;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.amenity-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
  border-color: rgba(139, 111, 71, 0.5);
}

.amenity-card:hover::before {
  transform: scaleX(1);
}

.amenity-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
  filter: brightness(0.95) contrast(1.05);
}

.amenity-card:hover img {
  transform: scale(1.1);
  filter: brightness(1) contrast(1.1);
}

.amenity-label {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(26, 26, 26, 0.9);
  color: #fff;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 0;
  font-family: 'Georgia', serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 900px) {
  .amenities-container {
    grid-template-columns: 1fr;
  }

  .amenities-text{
    position: static;
  }

  .amenities-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .amenities-grid {
    grid-template-columns: 1fr;
  }
}

/* Initial hidden state */
.amenities-section .amenities-title,
.amenities-section .amenities-description,
.amenities-section .amenities-brochure-btn,
.amenities-section .amenity-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease-out;
}

/* Animate visible state */
.amenities-animate {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Special effect for button */
.amenities-section .amenities-brochure-btn.amenities-animate {
  transform: scale(1.05);
  transition: all 0.6s ease-in-out;
}

/* Cards: subtle zoom-in */
.amenities-section .amenity-card.amenities-animate {
  transform: scale(1) translateY(0);
}

/* Staggering delays for grid items */
.amenities-section .amenity-card:nth-child(1) { transition-delay: 0.1s; }
.amenities-section .amenity-card:nth-child(2) { transition-delay: 0.2s; }
.amenities-section .amenity-card:nth-child(3) { transition-delay: 0.3s; }
.amenities-section .amenity-card:nth-child(4) { transition-delay: 0.4s; }
.amenities-section .amenity-card:nth-child(5) { transition-delay: 0.5s; }
.amenities-section .amenity-card:nth-child(6) { transition-delay: 0.6s; }


/* ===  location === */

/* New combined location and contact section */
.location-contact-section {
  background: #ffffff;
  padding: 100px 8%;
  width: 100%;
  position: relative;
}

.location-contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #8b6f47, transparent);
  opacity: 0.3;
}

.location-contact-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.location-map-wrapper {
  flex: 1 1 0;
  min-width: 300px;
}

.division-location-header {
  text-align: center;
  margin-bottom: 20px;
}

.location-map-container {
  width: 100%;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.location-map-container iframe {
  width: 100%;
  height: 450px;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 1px solid rgba(139, 111, 71, 0.2);
  display: block;
  min-height: 450px;
}

.contact-info-wrapper {
  flex: 1 1 0;
  min-width: 300px;
}

.contact-info-wrapper .contact-section-left {
  text-align: left;
  padding: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.contact-info-wrapper .contact-section-left h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: 0.05em;
}

.contact-info-wrapper .contact-address {
  margin-top: 30px;
  margin-bottom: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-info-wrapper .contact-phone {
  margin-top: 0;
  margin-bottom: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-info-wrapper .contact-whatsapp {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 20px;
  padding-bottom: 0;
  border-bottom: none;
}

.location-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  font-style: italic;
}

.location-line {
  display: inline-block;
  width: 100px;
  height: 1px;
  background: #8b6f47;
  margin: 0 15px;
  vertical-align: middle;
}

.location-diamond {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #8b6f47;
  transform: rotate(45deg);
  vertical-align: middle;
}

.division-location-header p {
  margin-top: 25px;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.1rem;
  color: #4a4a4a;
  margin-bottom: 0;
  line-height: 1.7;
}

.division-location-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.division-location-left {
  flex: 1 1 340px;
  max-width: 410px;
}

.location-section-details {
  width: 100%;
}

.location-detail {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 0;
  box-shadow: 0 2px 8px #463e36;
}
.location-detail[open] summary {
  border-bottom: 1px solid #fff;
}
.location-detail summary {
  font-family: 'Garamond', serif;
  font-weight: 600;
  font-size: 1.08rem;
  background: #958977;
  padding: 15px 20px;
  border-radius: 12px;
  outline: none;
  cursor: pointer;
  color: #222;
  user-select: none;
  transition: background 0.2s;
}
.location-detail ul {
  margin: 0; 
  padding: 18px 26px 18px 38px;
  font-size: 1rem;
}
.location-detail ul li {
  margin-bottom: 8px;
}

/* Remove default bullets */
.location-detail ul {
  list-style: none;
  margin: 0; 
  padding: 18px 26px 18px 10px;
  font-size: 1rem;
}

.location-detail ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 28px;
}

/* Add FA location pin before each li */
.location-detail ul li::before {
  content: "\f3c5"; /* fa-location-dot */
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900; /* required for solid icons */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.05rem;
  color: #000; /* match your theme */
}

.division-location-right {
  flex: 1 1 350px;
  min-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 600px;
}

.division-location-right iframe {
  width: 100%;
  height: 390px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 16px #e5dacb;
  min-width: 270px;
  min-height: 250px;
}

/* Responsive styles for new location-contact section */
@media (max-width: 1100px) {
  .location-contact-top {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }
  
  .location-map-wrapper,
  .contact-info-wrapper {
    width: 100%;
    max-width: 100%;
  }
  
  .location-map-container iframe {
    height: 400px;
  }
  
  .contact-info-wrapper .contact-section-left {
    text-align: center;
  }
  
  .contact-info-wrapper .contact-section-left h2 {
    align-items: center;
    font-size: 2.1rem;
  }
  
  .contact-info-wrapper .contact-section-underline {
    margin: 12px auto 8px auto;
  }
  
.contact-info-wrapper .contact-address,
.contact-info-wrapper .contact-phone,
.contact-info-wrapper .contact-whatsapp {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
}

@media (max-width: 768px) {
  .location-map-container iframe {
    height: 350px;
  }
  
  .contact-form-container {
    padding: 28px 20px 24px;
    margin-top: 30px;
  }
}

@media (max-width: 600px) {
  .hero-section {
    height: 50vh;
    min-height: 350px;
    max-height: 450px;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    margin-top: 70px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .hero-banner-container {
    position: absolute;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
  }

  .hero-banner {
    position: absolute;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    top: 0;
    left: 0;
    right: 0;
    transform: scale(1);
    min-width: 100%;
    min-height: 100%;
  }

  .hero-banner.active {
    transform: scale(1);
  }

  .overview-image {
    min-height: 300px;
    max-height: 400px;
    background-color: #f5f5f5;
  }

  .overview-image img {
    width: 100%;
    height: auto;
    min-height: 300px;
    max-height: 400px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
  }

  .location-contact-section {
    padding: 20px 0;
  }
  
  .location-map-container iframe {
    height: 300px;
  }
  
  .contact-form-container {
    padding: 20px 15px 18px;
    margin-top: 25px;
    border-width: 3px;
  }
  
  .contact-info-wrapper .contact-section-left h2 {
    font-size: 1.5rem;
  }
  
  .contact-info-wrapper .contact-section-underline {
    width: 72px;
    margin: 10px auto;
  }
}

/* Initial hidden states */
.division-location-header,
.division-location-left,
.division-location-left .location-detail {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

/* Animate when visible */
.location-animate {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


/* Stagger effects for details list */
.division-location-left .location-detail:nth-child(1) { transition-delay: 0.1s; }
.division-location-left .location-detail:nth-child(2) { transition-delay: 0.25s; }
.division-location-left .location-detail:nth-child(3) { transition-delay: 0.4s; }
.division-location-left .location-detail:nth-child(4) { transition-delay: 0.55s; }

/* Smooth summary hover */
.location-detail summary:hover {
  background: #f1e0c5;
  transition: background 0.3s ease;
}


/* === Contact === */
.contact-address,
.contact-phone,
.contact-whatsapp {
  margin-top: 25px;
  margin-bottom: 25px;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  color: #4a4a4a;
  line-height: 1.8;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  padding: 20px 0;
  border-bottom: 1px solid rgba(139, 111, 71, 0.2);
}

.contact-address i,
.contact-phone i,
.contact-whatsapp i {
  font-size: 1.4rem;
  color: #8b6f47;
  margin-top: 4px;
  flex-shrink: 0;
}

.contact-address strong,
.contact-phone strong,
.contact-whatsapp strong {
  font-size: 1.15rem;
  display: block;
  margin-bottom: 10px;
  color: #1a1a1a;
  font-weight: 600;
  font-family: 'Georgia', serif;
  letter-spacing: 0.05em;
}

.contact-phone a,
.contact-whatsapp a {
  color: #4a4a4a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-phone a:hover,
.contact-whatsapp a:hover {
  color: #8b6f47;
}

.contact-whatsapp i {
  color: #25D366; /* WhatsApp green */
}

.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5vw;
  padding: 20px 0;
  background: #fff;
  flex-wrap: wrap;
}

.contact-section-left {
  min-width: 270px;
  text-align: left;
  padding-left: 4vw;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.contact-section-left h2 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #1a1a1a;
  line-height: 1.3;
  max-width: 560px;
  display: flex;
  flex-direction: column;
}

.contact-section-underline {
  width: 100px;
  border-bottom: 1px solid #8b6f47;
  margin: 16px 0 8px 8px;
  display: block;
}

.contact-form-container {
  max-width: 600px;
  margin: 80px auto 0;
  background: #ffffff;
  border: 3px solid #8b6f47;
  border-radius: 0;
  padding: 60px 50px;
  box-sizing: border-box;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  position: relative;
  animation: fadeInUp 1s ease-out;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 1px solid rgba(139, 111, 71, 0.3);
  z-index: -1;
}

.contact-section-right {
  flex: 1 1 360px;
  min-width: 320px;
  background: #fff;
  border: 5px solid #a2ad94;
  border-radius: 4px;
  padding: 38px 38px 32px;
  max-width: 420px;
  box-sizing: border-box;
  margin-right: 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  position: relative;
  pointer-events: auto;
}

.contact-form label select {
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

.contact-form label span {
  display: block;
  font-size: 0.95rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  letter-spacing: 0.1em;
  color: #1a1a1a;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"]{
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 2px solid #1a1a1a;
  background: transparent;
  font-size: 1.05rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #1a1a1a;
  outline: none;
  margin-bottom: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.contact-form select {
  width: 100%;
  padding: 14px 0;
  padding-right: 30px;
  border: none;
  border-bottom: 2px solid #1a1a1a;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a1a1a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 top 50%;
  font-size: 1.05rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #1a1a1a;
  outline: none;
  margin-bottom: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: block;
  z-index: 10;
  pointer-events: auto;
  opacity: 1 !important;
  min-height: 48px;
}

.contact-form select:focus {
  border-bottom: 3px solid #8b6f47;
  color: #4a4a4a;
  padding-left: 5px;
  letter-spacing: 0.02em;
}

.contact-form select option {
  background: #ffffff;
  color: #1a1a1a;
  padding: 12px 15px;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  border: none;
}

.contact-form select option:hover {
  background: #f5f5f5;
}

.contact-form select option:checked {
  background: #8b6f47;
  color: #ffffff;
}

.contact-form input:focus {
  border-bottom: 3px solid #8b6f47;
  color: #4a4a4a;
  padding-left: 5px;
  letter-spacing: 0.02em;
}

.contact-form input::placeholder {
  color: #999;
  transition: opacity 0.3s ease;
}

.contact-form input:focus::placeholder {
  opacity: 0.5;
}

.submit-btn {
  background: #1a1a1a;
  color: #fff;
  font-size: 0.9rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  border: 2px solid #1a1a1a;
  padding: 16px 0;
  border-radius: 0;
  cursor: pointer;
  width: 100%;
  font-weight: 500;
  margin-top: 30px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #8b6f47;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.submit-btn:hover,
.submit-btn:focus {
  border-color: #8b6f47;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 111, 71, 0.4);
  letter-spacing: 0.22em;
}

.submit-btn:hover::before,
.submit-btn:focus::before {
  left: 0;
}

@media (max-width: 1100px) {
  .contact-section {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 35px 0;
  }
  .contact-section-left,
  .contact-section-right {
    min-width: 0;
    margin: 0 auto;
    justify-content: center;
    text-align: center;
    padding: 0;
  }
  .contact-section-left h2 {
    align-items: center;
    font-size: 2.1rem;
    margin-bottom: 0;
  }
  .contact-section-underline {
    margin: 12px auto 8px auto;
  }
  .contact-section-right {
    margin: 0 auto;
    padding: 32px 16px 22px;
    width: 96%;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .contact-section {
    padding: 17px 0;
    gap: 18px;
  }
  .contact-section-left h2 {
    font-size: 1.17rem;
  }
  .contact-section-underline {
    width: 72px;
    margin: 10px auto;
  }
  .contact-section-right {
    padding: 18px 6px 12px;
    border-width: 3px;
    font-size: 0.97rem;
  }
  .submit-btn {
    padding: 11px 0;
    font-size: 1rem;
  }
}

/* Initial hidden state for scroll animations */
.contact-section-left,
.contact-section-right,
.contact-section-left h2 span,
.contact-form label,
.contact-form input,
.submit-btn {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.contact-form select {
  opacity: 1 !important;
  transform: translateY(0);
}

/* Animate into view */
.contact-animate {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Slight stagger for child elements */
.contact-section-left h2 span:nth-child(1) { transition-delay: 0.1s; }
.contact-section-underline { transition-delay: 0.2s; }
.contact-section-left h2 span:nth-child(3) { transition-delay: 0.3s; }
.contact-form label:nth-child(1) { transition-delay: 0.4s; }
.contact-form label:nth-child(2) { transition-delay: 0.5s; }
.contact-form label:nth-child(3) { transition-delay: 0.6s; }
.contact-form label:nth-child(4) { transition-delay: 0.7s; }
.submit-btn { transition-delay: 0.85s; }

/* Subtle hover animations */
.contact-form input:focus {
  border-bottom: 2px solid #28322e;
  transform: scale(1.01);
  transition: all 0.25s ease;
}

.submit-btn:hover {
  background: #211c17;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}


/* Bottom bar - hidden by default */
.mobile-bottom-bar-nav {
  display: none;
}

.mobile-bottom-bar-nav a {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  color: white;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid rgba(255, 255, 255, 0.6); /* vertical line */
}

.mobile-bottom-bar-nav a:first-child {
  border-left: none; /* remove line before the first item */
}


@media (max-width: 1266px) {
  .mobile-bottom-bar-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 0;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    border-top: 1px solid rgba(139, 111, 71, 0.3);
  }

  .mobile-bottom-bar-nav a {
    flex: 1;
    text-align: center;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 0;
    font-family: 'Georgia', serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .mobile-bottom-bar-nav a i {
    display: block;
    font-size: 20px;
    margin-bottom: 6px;
  }

  /* Hover effect */
  .mobile-bottom-bar-nav a:hover {
    background: rgba(139, 111, 71, 0.2);
    color: #8b6f47;
  }

  /* WhatsApp special color */
  .mobile-bottom-bar-nav a:nth-child(3) i {
    color: #25D366; /* WhatsApp green */
  }
}
/* Initial hidden state */
.mobile-bottom-bar-nav a {
  opacity: 0;
  transform: translateY(40px);
}

/* Animate in when visible */
.mobile-bottom-bar-nav.animate-in a {
  opacity: 1;
  transform: translateY(0);
  animation: bounceIn 0.6s ease forwards;
}

/* Stagger each link */
.mobile-bottom-bar-nav.animate-in a:nth-child(1) {
  animation-delay: 0.1s;
}
.mobile-bottom-bar-nav.animate-in a:nth-child(2) {
  animation-delay: 0.3s;
}
.mobile-bottom-bar-nav.animate-in a:nth-child(3) {
  animation-delay: 0.5s;
}

/* Bounce keyframe */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px) scale(1.05);
  }
  80% {
    transform: translateY(4px) scale(0.98);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* POP up form */

/* Overlay */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup box */
.popup-content {
  background: #ffffff;
  border: 2px solid #8b6f47;
  border-radius: 0;
  width: 450px;
  max-width: 95%;
  padding: 40px;
  position: relative;
  animation: fadeIn 0.4s ease-in-out;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  z-index: 10001;
  overflow: visible;
}

/* Location field in popup */
#popup-location-field {
  display: block;
  position: relative;
  pointer-events: auto;
  z-index: 10;
}

#popup-location-field.hidden {
  display: none;
}

#popup-location-field select {
  pointer-events: auto !important;
  z-index: 10 !important;
  opacity: 1 !important;
  cursor: pointer !important;
  position: relative !important;
}

/* Ensure select dropdown opens properly */
.contact-form select:active,
.contact-form select:focus {
  outline: none;
  border-bottom: 3px solid #8b6f47;
}

/* Fix for dropdown options visibility */
.contact-form select option {
  display: block;
  padding: 12px 15px;
  background: #ffffff;
  color: #1a1a1a;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.contact-form select option:hover,
.contact-form select option:focus {
  background: #f5f5f5;
}

.contact-form select option:checked {
  background: #8b6f47;
  color: #ffffff;
}

/* Header */
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.popup-logo {
  height: 60px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #b59069;
}

/* Inputs (same as your style) */
.contact-form label {
  display: block;
  margin-bottom: 20px;
}
.contact-form label span {
  display: block;
  font-size: 0.95rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  letter-spacing: 0.1em;
  color: #1a1a1a;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 500;
}
.contact-form input {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 2px solid #1a1a1a;
  background: transparent;
  font-size: 1rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  outline: none;
  transition: all 0.3s ease;
}
.contact-form input:focus {
  border-bottom: 2px solid #8b6f47;
  color: #4a4a4a;
}

.contact-form select {
  width: 100%;
  padding: 12px 0;
  padding-right: 30px;
  border: none;
  border-bottom: 2px solid #1a1a1a;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a1a1a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 top 50%;
  font-size: 1rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #1a1a1a;
  outline: none;
  margin-bottom: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: block;
  z-index: 10;
  pointer-events: auto;
  opacity: 1 !important;
  min-height: 44px;
}

.contact-form select:focus {
  border-bottom: 2px solid #8b6f47;
  color: #4a4a4a;
  padding-left: 5px;
}

.contact-form select option {
  background: #ffffff;
  color: #1a1a1a;
  padding: 12px 15px;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  border: none;
}

.contact-form select option:hover {
  background: #f5f5f5;
}

.contact-form select option:checked {
  background: #8b6f47;
  color: #ffffff;
}
.submit-btn {
  background: #1a1a1a;
  color: #fff;
  font-size: 0.9rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  border: 2px solid #1a1a1a;
  padding: 14px 0;
  border-radius: 0;
  cursor: pointer;
  width: 100%;
  margin-top: 25px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s ease;
}
.submit-btn:hover {
  background: #8b6f47;
  border-color: #8b6f47;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 111, 71, 0.3);
}

/* Animation */
@keyframes fadeIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Root body padding for overall left/right space */
body {
  padding: 0;
  box-sizing: border-box;
}

/* Each major section uses similar vertical spacing */
section,
.hero-section,
.overview-section,
.gallery-section,
.price-section,
.master-plans-section,
.floor-plans-section,
.amenities-section,
.division-location-advantages,
.contact-section {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* Flex and grid gaps for children */
.overview-container,
.gallery-container,
.master-plans-content,
.amenities-container,
.amenities-grid,
.floor-plans-grid,
.division-location-content {
  gap: 2rem;
}

/* Uniform button and card padding */
.view-plan-btn,
.floor-btn,
.price-btn,
.amenities-brochure-btn,
.overview-btn,
.call-btn-nav {
  margin: 1rem 0;
  padding: 0.8rem 2rem;
}

/* Table cell spacing */
.price-table th,
.price-table td {
  padding: 1rem 1.5rem;
}

/* Responsive: decrease spacing for small screens */
@media (max-width: 600px) {
  .navbar-nav {
    padding: 12px 5%;
  }

  .logo-nav img {
    height: 55px;
  }

  .menu-list-nav {
    gap: 20px;
  }

  .menu-list-nav li a {
    font-size: 0.85rem;
  }

  .overview-title,
  .gallery-title,
  .amenities-title,
  .location-title {
    font-size: 1.8rem;
  }

  .overview-subtitle {
    font-size: 1.5rem;
  }

  .overview-text p,
  .amenities-description {
    font-size: 1rem;
    text-align: left;
  }

  .project-section-container,
  .overview-section,
  .amenities-section,
  .gallery-section,
  .location-contact-section {
    padding: 40px 4%;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form-container {
    padding: 35px 25px;
    margin-top: 40px;
  }

  .gallery-slider img {
    height: 350px;
  }
}

/* footer */
.footer-section {
  background: #1a1a1a;
  color: #e0e0e0;
  padding: 60px 8% 40px 8%;
  font-family: 'Georgia', 'Times New Roman', serif;
  text-align: center;
  position: relative;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, #8b6f47, transparent);
  opacity: 0.5;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}

.footer-line {
  width: 58%;
  height: 0;
  border: none;
  border-top: 2px solid #211c17;
  margin: 6px auto;
}

.footer-phone {
  display: block;
  font-size: 2.3rem;
  font-family: 'Playfair Display', 'Garamond', serif;
  font-weight: 500;
  color: #211c17;
  margin: 7px 0;
  letter-spacing: 2px;
}

.footer-social {
  margin: 12px 0;
}

.footer-social-link {
  display: inline-block;
  margin: 0 15px;
  font-size: 1rem;
  color: #e0e0e0;
  font-family: 'Georgia', 'Times New Roman', serif;
  text-decoration: none;
  vertical-align: middle;
  transition: all 0.3s ease;
  padding: 8px 0;
  letter-spacing: 0.05em;
}

.footer-social-link:hover {
  color: #8b6f47;
  transform: translateY(-2px);
}

.footer-icon {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 8px;
  font-size: 1.2rem;
  vertical-align: text-bottom;
}

.footer-desc {
  max-width: 1000px;
  margin: 30px auto 20px auto;
  font-size: 0.95rem;
  color: #c0c0c0;
  line-height: 1.7;
  padding: 0 20px;
}

.footer-policy {
  display: block;
  font-size: 0.9rem;
  color: #b0b0b0;
  margin-top: 15px;
  line-height: 1.6;
}

.footer-copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #a0a0a0;
  margin-top: 25px;
  padding-bottom: 10px;
  letter-spacing: 0.05em;
}

@media (max-width: 1266px) {
  .footer-section{
    margin-bottom: 80px;
  }
}

/* Responsive Design */
@media (max-width: 900px) {
  .footer-line { width: 78%; }
  .footer-phone { font-size: 1.4rem; }
  .footer-desc { font-size: 0.97rem; }
}
@media (max-width: 600px) {
  .footer-section { padding: 18px 0 8px 0; }
  .footer-line { width: 98%; }
  .footer-phone { font-size: 1.07rem; margin: 2px 0; }
  .footer-social-link { font-size: 1rem; }
  .footer-desc { padding: 3px 6px 0 6px; font-size: 0.92rem; }
  .footer-policy { font-size: 0.91rem; }
  .footer-copyright { font-size: 0.89rem; }
}

/* Initial hidden state for animation */
.footer-section > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* When visible */
.footer-section.animate-in > * {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation effect */
.footer-section.animate-in .footer-contact { transition-delay: 0.1s; }
.footer-section.animate-in .footer-social { transition-delay: 0.3s; }
.footer-section.animate-in .footer-desc { transition-delay: 0.5s; }
.footer-section.animate-in .footer-policy { transition-delay: 0.7s; }
.footer-section.animate-in .footer-copyright { transition-delay: 0.9s; }

.hero-section {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.footer-section {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 0 !important;
  padding-right: 0 !important;
}
