:root {
      --primary-font: 'Be Vietnam Pro', sans-serif;
      --montira-brown: #9e6433;
      --base-color: #c57738;
      --nav-height: 82px;
    }
    * { box-sizing: border-box; }
    body { font-family: var(--primary-font); overflow-x: hidden; }

    /* Navbar (transparent by default) */
.navbar-custom {
  height: var(--nav-height);
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  z-index: 999;
}

/* Solid style when scrolled */
.navbar-scrolled {
  background: rgba(0, 0, 0, 0.5);      /* change to #1a1a1a for solid */
  backdrop-filter: blur(6px);          /* optional glass‑blur */
  box-shadow: 0 2px 6px rgba(0,0,0,);/* subtle drop‑shadow */
}

/* Brand + links stay readable */
.navbar-brand img { height: 56px; }
.navbar-nav .nav-link {
  text-transform: none !important;
  color: #fff !important;
  font-weight: 500;
}
/* =================  Mobile navbar dropdown  ================= */
@media (max-width: 991.98px) {          /* Bootstrap lg breakpoint */
  .navbar-custom .navbar-collapse {
    position: absolute;                 /* overlay on banner   */
    top: var(--nav-height);             /* starts below navbar */
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);     /* dark semi‑transparent bg */
    padding: 1rem 1.25rem;
  }

  .navbar-custom .nav-link {
    color: #fff !important;             /* good contrast      */
  }
}

/* 1. Base link styling (edit colours to suit) */
.navbar .nav-link{
  position: relative;          /* needed for the ::after */
  font-weight: 400;            /* matches the mock‑up */
  color: #ffffff;
  padding: .25rem 1rem;
  text-decoration: none;       /* kill default underline */
}

/* 2. The underline */
.navbar .nav-link::after{
  content: '';
  position: absolute;
  left: 50%;                   /* start from the centre … */
  transform: translateX(-50%); /* … and truly centre it  */
  bottom: -4px;                /* distance below text    */
  width: 0;                    /* collapsed by default   */
  height: 2px;
  background:#9e6433;          /* Montira brown */
  transition: width .35s ease; /* smooth grow/shrink      */
}

/* 3. Show the line on hover OR when active */
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after{
  width: 48px;                 /* pick any length you like */
}


/* Hide / show the two icons based on Bootstrap's .collapsed state */
.navbar-toggler .toggler-icon-close { display: none; }
.navbar-toggler:not(.collapsed) .toggler-icon-open  { display: none; }
.navbar-toggler:not(.collapsed) .toggler-icon-close { display: inline-block; }

/* Keep icons white for dark / transparent bg */
.toggler-icon-open,
.toggler-icon-close {
  color: #fff;
}

    /* Hero */
    .hero-caption{position:relative;z-index:5;text-align:center;color:#fff;padding-top:var(--nav-height);}
    .hero-caption h1{font-size:clamp(1.8rem,4vw+0.5rem,3.2rem);font-weight:800;line-height:1.25;}
    .hero-caption .subline{font-size:.9rem;letter-spacing:1.2px;text-transform:uppercase;}
    .btn-cta{background:var(--montira-brown);border:none;padding:.6rem 2.2rem;font-weight:600;font-size:.9rem; margin-top: -165px;}
    .price-tag{position:absolute;right:4%;bottom:10%;z-index:4;font-weight:700;font-size:1.25rem;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.6);}

    @media (max-width:767.98px){.navbar-brand img{height:46px}.price-tag{font-size:1rem;right:6%;bottom:12%}}

    .carousel-item {
    height: 100vh;
    position: relative;
  }

  .carousel-item img {
    object-fit: cover;
    height: 100vh;
    width: 100%;
  }


    /* ---------------- INTRO SECTION ---------------- */
    #intro{background:var(--pattern) #f9f9f9; padding-top: 0 !important; padding-bottom: 0 !important;}
    #intro .intro-wrapper{max-width:1200px;margin-inline:auto;}
    #intro .intro-copy h2{font-weight:700;font-size:1.75rem;}
    #intro .intro-copy h6{font-weight:600;font-size:.95rem;}
    #intro .intro-copy p{font-size:.95rem;line-height:1.65;max-width:530px;}
    #intro .palm-wrap{position:relative;text-align:center;}
    #intro .palm-img{max-width:480px;width:100%;}
    @media(max-width:991.98px){#intro .intro-copy{text-align:center}#intro .intro-copy p{margin-inline:auto}#intro .palm-img{max-width:340px;margin-top:2.5rem}}
    /* remove the bottom padding that creates the gap */
#intro {
  padding-bottom: 0 !important;
}

/* reduce top padding so the sections touch neatly */
#highlights .container {
  padding-top: 3rem;   /* or 0 if you want it completely flush */
  height: 100vh;
}

.border-bottom, .border-top, .border-start, .border-end {
  border-color: #333 !important;
}
.row.g-0 {
  border-left: none !important;
  border-right: none !important;
}

#highlights .row.g-0 > div {
  border: none !important;
  border-bottom: 1px solid #333 !important;
}

#highlights .row.g-0 > div:last-child {
  border-bottom: none !important;
}


#highlights .row.g-0 > div:nth-child(2n) {
  border-right: 1px solid #333 !important;
}


    /* Enquiry Modal */
    .modal-header{border:none}
    .form-control, .form-select{border-radius:.4rem}
    .otp-input{letter-spacing:8px;text-align:center;font-size:1.5rem;}

    .masterplan-section {
  background: #f7f7f7 url('../images/pattern.svg') repeat;
  padding: 4rem 0;
}

input[type='checkbox'] {
  float: left;
  width: 20px;
}
input[type='checkbox'] + label {
  display: block;
  font-family: 'Courier New', monospace;
  font-size:12px;
  color: #999999;
  text-align: left;
}
.section-heading {
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: #666;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.masterplan-list {
  list-style: decimal inside;
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 0;
  margin-bottom: 0;
}

/* .masterplan-img {
  max-width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
} */

.enquire-btn {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 20px;
  font-size: 0.95rem;
  border-radius: 4px;
}

.specifications-section img.object-cover {
  object-fit: cover;
  height: 100%;
  max-height: 450px;
}

.bg-burnt {
  background-color: #b3622e;
}

.specifications-list {
  font-size: 0.95rem;
  line-height: 1.8;
}

.specifications-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.spec-icon {
  width: 22px;
  height: 22px;
  margin-right: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.location-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-container {
  min-height: 400px;
}

.bg-burnt {
  background-color: #b3622e;
}

.location-points {
  font-size: 0.95rem;
  line-height: 1.8;
}

.location-points li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.location-points img {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-section {
  background-color: #f9f9f9;
  font-size: 0.92rem;
  color: #333;
}

.footer-logo {
  width: 70px;
}

.footer-links li {
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-links li:hover {
  color: #b3622e;
}

.footer-social img {
  width: 24px;
  margin-left: 10px;
  /* filter: grayscale(100%); */
  transition: filter 0.3s;
}

.footer-social img:hover {
  filter: none;
}

.footer-partner {
  height: 40px;
}

.btn-burnt {
  background-color: #b3622e;
  color: #fff;
  border: none;
  padding: 6px 14px;
  font-size: 0.9rem;
}

.btn-burnt:hover {
  background-color: #924d20;
}

.footer-form {
  gap: 10px;
  flex-wrap: nowrap;
}

.footer-input {
  padding: 6px 12px;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  /* border-radius: 4px; */
  width: 150px;
  max-width: 100%;
}

.footer-btn {
  background-color: #b3622e;
  color: #fff;
  border: none;
  padding: 6px 14px;
  font-size: 0.9rem;
  /* border-radius: 4px; */
  white-space: nowrap;
  transition: background 0.2s;
}

.footer-btn:hover {
  background-color: #924d20;
}

.montira-theme-section {
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.top-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.content-block {
  background-color: #a55623; /* earthy brown */
  color: white;
  padding: 60px 20px;
}

.content-block p {
  margin: 20px auto;
  max-width: 800px;
  font-size: 18px;
  line-height: 1.6;
}

.palm-icon {
  margin-top: 40px;
  width: 40px;
  height: auto;
}
@media (max-width: 768px) {
  .content-block {
    padding: 40px 15px;
  }

  .content-block p {
    font-size: 16px;
  }
}

.montira-story-section {
  font-family: 'Poppins', sans-serif;
  color: white;
}

.story-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.story-content {
  background-color: #a55623;
  padding: 60px 20px;
  text-align: center;
}

.logo-meaning-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.montira-logo {
  width: 200px;
  height: auto;
}

.meaning-text p {
  margin: 5px 0;
  font-size: 14px;
  color: #f8e8d6;
  text-align: left;
}

.story-heading {
  font-size: 20px;
  font-weight: 600;
  margin: 30px 0 20px;
}

.story-content p {
  max-width: 800px;
  margin: 15px auto;
  line-height: 1.6;
  font-size: 16px;
}

.decorative-icon img {
  margin-top: 40px;
  width: 50px;
  height: auto;
}
@media (max-width: 768px) {
  .logo-meaning-row {
    flex-direction: column;
    text-align: center;
  }

  .meaning-text p {
    text-align: center;
  }
}

/* General */
section {
  font-family: 'Poppins', sans-serif;
  width: 100%;
}

/* About Rare Earth */
.rare-earth-section {
  background-color: #a55623;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.rare-earth-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.rare-earth-section p {
  max-width: 900px;
  margin: 15px auto;
  line-height: 1.6;
  font-size: 16px;
}

@media (max-width: 768px) {

  .rare-earth-section h2 {
    font-size: 24px;
  }
}

.booking-section {
  background-color: #f2f0ed;
  padding: 0;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

.booking-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.booking-text {
  flex: 1 1 50%;
  background-color: #f2f0ed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.pattern-bg {
  background-image: url('path-to-pattern.png'); /* Optional background pattern */
  background-repeat: repeat;
  padding: 20px;
}

.pattern-bg h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000;
}

.pattern-bg p {
  font-size: 15px;
  color: #222;
  margin-bottom: 15px;
  line-height: 1.6;
}

.booking-image {
  flex: 1 1 50%;
}

.booking-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.enquiry-form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.enquiry-form input,
.enquiry-form select {
  border: none;
  border-bottom: 1px solid #888;
  border-radius: 0;
  padding: 8px 4px;
  background: transparent;
  font-size: 14px;
  width: 100%;
}

.enquiry-form input::placeholder {
  color: #666;
}

.enquiry-form input:focus,
.enquiry-form select:focus {
  outline: none;
  border-bottom: 2px solid #B86A32;
}

.input-full {
  flex: 1 1 100%;
}

.input-half {
  flex: 1 1 calc(50% - 8px);
}

.enquiry-button {
  text-align: center;
  flex: 1 1 100%;
}

.enquiry-button button {
  background-color: #B86A32;
  color: #fff;
  padding: 10px 26px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-top: 12px;
}

.enquiry-button button:hover {
  background-color: #a15629;
}

@media (max-width: 768px) {
  .input-half {
    flex: 1 1 100%;
  }
}

.modal-content {
  background-image: url('images/form-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 65vh; /* for desktops */
}

.modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.modal-content * {
  position: relative;
  z-index: 1;
}

.modal-header,
.modal-body,
.modal-footer {
  background: transparent;
}

.modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  max-height: calc(100dvh - 200px);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-content {
    height: auto;
    max-height: 90dvh;
  }

  .modal-body {
    max-height: calc(90dvh - 140px);
  }
}

@media (max-height: 600px) {
  .modal-content {
    max-height: 84dvh;
  }

  .modal-body {
    max-height: calc(84dvh - 140px);
  }
}

@media (max-width: 767.98px) {
  .modal-dialog {
    margin: 1rem auto;
  }

  .modal-content {
    height: auto !important;
    max-height: 92vh !important;
    display: flex;
    flex-direction: column;
    padding-bottom: 0.5rem;
  }

  .modal-header,
  .modal-footer {
    flex-shrink: 0 !important;
    padding: 1rem 1.25rem;
  }

  .modal-body {
    overflow-y: auto !important;
    padding: 0 1.25rem;
    max-height: calc(92vh - 140px) !important;
  }

  .modal-footer button {
    margin-top: 0.75rem;
    width: 100%;
  }
}

.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	left:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}

.my-float{
	margin-top:16px;
}

.pricing-section {
  background-color: #f2f2f2; /* light gray background */
  padding: 40px 0;
}

.pricing-table {
  width: 100%;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #ccc;
  table-layout: fixed;
}

.pricing-table th,
.pricing-table td {
  border: 1px solid #ddd;
  padding: 10px; /* Spacing inside cells */
  font-weight: 600;
  font-size: 0.95rem;
  word-wrap: break-word;
}

.pricing-table thead th,
.pricing-table tbody th {
  background-color: #a15629;
  color: white;
  font-size: 1rem;
}

.table-container {
  max-width: 900px; /* Reduce total table width */
  margin: 0 auto;    /* Center align */
}

@media (max-width: 576px) {
  .pricing-table th,
  .pricing-table td {
    padding: 6px;
    font-size: 0.85rem;
  }

  .table-container {
    padding: 0 10px;
  }
}

.btn-cta {
  background: var(--montira-brown); /* use your defined variable */
  border: none;
  padding: 0.6rem 2.2rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
  top: 93px;
}

.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:63px;
	right:6px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}

.my-float{
	margin-top:16px;
}

.table-container {
  max-width: 900px; /* Reduce total table width */
  margin: 0 auto;    /* Center align */
}

.pricing-table {
  width: 100%;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #ccc;
  table-layout: fixed;
}

.pricing-table th,
.pricing-table td {
  border: 1px solid #ddd;
  padding: 10px; /* Spacing inside cells */
  font-weight: 600;
  font-size: 0.95rem;
  word-wrap: break-word;
}

.pricing-table thead th,
.pricing-table tbody th {
  background-color: #a15629;
  color: white;
  font-size: 1rem;
}

.btn-cta {
  background: var(--montira-brown); /* use your defined variable */
  border: none;
  padding: 0.6rem 2.2rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
}

html .njs-sticky-side.image_button_cover.placement-right {
    right: 0;
}

html .njs-sticky-side.image_button_cover {
    position: fixed;
    top: 40%;
    box-shadow: none;
    z-index: 99999;
    transition: transform .3s cubic-bezier(0,0,0,1);
    -webkit-transition: -webkit-transform .3s cubic-bezier(0,0,0,1);
}

html .njs-sticky-side.image_button_cover.placement-right.now-show a {
    transform: translate3d(4px,0,0) rotate(-90deg);
    -webkit-transform: translate3d(4px,0,0) rotate(-90deg);
}

html .njs-sticky-side.image_button_cover.placement-right a {
    border-radius: 3px 3px 0 0;
    transform: translate3d(200%,0,0) rotate(-90deg);
    -webkit-transform: translate3d(200%,0,0) rotate(-90deg);
    transform-origin: 100% 100%;
    -webkit-transform-origin: 100% 100%;
}

html .njs-sticky-side.image_button_cover a {
    padding: 6px 15px 12px;
    font-size: 18px;
    font-weight: 700;
    display: inline-block;
    position: relative;
    transition: transform .3s;
    -webkit-transition: -webkit-transform .3s;
	background-color: #9e6433; 
	color: white;	
  font-weight: 100; 
  top: -50px; 
  font-family: 'Arial';
  text-decoration: none;
}

html .njs-sticky-side.image_button_cover a:hover {
	background-color: white;
	color: black;
	border: 2px solid #acacac;
}

/* Existing styles remain the same... */

@media only screen and (max-width: 767px) {
    html .njs-sticky-side.image_button_cover {
        display: none !important;
    }
}

.button-container {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	display: flex;
	z-index: 1000;
}

.cta-button {
	flex: 1;
	padding: 10px 0;
	text-align: center;
	text-decoration: none;
	font-size: 16px;
	color: white;
	transition: background-color 0.3s ease;
}

.enquire {
	background-color: var(--montira-brown);
}

.call {
	background-color: var(--base-color);
}

.mobile-section {
	display: none;
}

@media screen and (max-width: 767px) {
	.mobile-section {
		display: flex;
	}
}



#lightbox-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}
#lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
  background-color: white;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}


.wrap {
    width: 800px;
    margin: 30px auto;
  }
#video-section {
    padding: 50px 20px;
    background-color: #f8f8f8;
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 40%; /* 16:9 Aspect Ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}







