html {
  scroll-padding: 100px;
  scroll-behavior: smooth;
}
body{
    font-family: "Montserrat", serif;
}

/* Hide spinner in Chrome, Safari, Edge */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.whatsappBg{
    background-color: #21d366;
}
img{
    width:100%;
}
.channel-logo{
    background-color: white;
    margin-left: 1px;
}
.logo {
    width: 100px;
    height: 57px;
}
/* Hide spinner in Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
.loader {
  width: 60px;
  margin: auto;
  aspect-ratio: 4;
  --_g: no-repeat radial-gradient(circle closest-side, #fff 90%, #0000);
  background: var(--_g) 0% 50%, var(--_g) 50% 50%, var(--_g) 100% 50%;
  background-size: calc(100% / 3) 100%;
  animation: l7 1s infinite linear;
}
.custom {
  bottom: 1rem;
  left: 1rem;
  z-index: 10;
  width: fit-content;
}
@keyframes l7 {
  33% {
    background-size: calc(100% / 3) 0%, calc(100% / 3) 100%, calc(100% / 3) 100%;
  }
  50% {
    background-size: calc(100% / 3) 100%, calc(100% / 3) 0%, calc(100% / 3) 100%;
  }
  66% {
    background-size: calc(100% / 3) 100%, calc(100% / 3) 100%, calc(100% / 3) 0%;
  }
}
.submitButton:disabled {
  color: white;
  background-color: #262560;
  border-color: var(--bs-btn-disabled-border-color);
  opacity: 1;
}
.text-justify{
    text-align: justify;
}
.customHeroSec {
  background-image: url('../image/8.jpg');
  background-color: #000000a8;
  background-blend-mode: overlay;
  background-size: cover;
  background-repeat: no-repeat;
}
input::placeholder {
  color: white;
}
.customHr {
  background: linear-gradient(to right, #ffc107, red, white);
  padding: 1px;
}
.customAmenities {
  background-color: #262560;
}
.primaryColor {
  color: #ffc107;
}
.primaryColourBg {
  background-color: #ffc107;
}
.customNavBg {
  background-color: #262560;
}
.customHeroText {
  font-weight: 500;
  font-size: 1rem;
}
.secondaryColour {
  background-color: #262560;
}
.customFormInput {
  background-color: transparent;
  color: white;
}
.customHeroFormBg {
  background-color: #262560e9;
  border-radius: 30px;
}
.customOverViewBtn {
  background: linear-gradient(to right, #262560, white);
}

.customPrice {
  background-color: #262560;
}
.fs-12{
    font-size: 12px;
}
.customPriceBtn {
  background-color: #ffc107;
}
.customFloorPlan {
  border: 1px solid #262560;
  padding: 8px;
}
.customFloorText {
  background-color: #262560;
}
.customFooter {
  background-color: #262560;
}
.form-control:focus {
  border: 2px solid white;
  background-color: transparent;
  box-shadow: none;
}
.customFormInput:focus {
    color: white;
  }
.modal-content {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 15px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
}
.image-popup img {
  height: 100%;
  object-fit: cover;
}
.modal-body {
  margin-bottom: 0 !important;
  padding-bottom: 15px;
  padding-top: 0;
}
.form-group {
  margin-top: 30px;
}
.form-close2 {
  position: absolute;
  right: -2px;
  top: 10px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 300ms ease-in-out;
  background-color: #212529;
}
@media (min-width: 768px) {
  .modal-content {
    padding: 20px;
  }
  .modal-dialog {
    max-width: 650px;
  }
  .customHeroText {
    font-size: 1.5vw;
  }
  .footer-end{
    font-size: 16px;
}
}
@media (min-width: 992px) {
  .modal-dialog2 {
    max-width: 800px;
  }
}
.footer-end{
    font-size: 13px;
}
.customPopup {
  background-image: url("/assets/images/popup.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
}
.customThankYouIcon {
  font-size: 140px;
  color: white;
}
.customThankYouText {
  font-size: 100px;
  font-weight: 600;
}
.customPrivacy {
    background-image: url("/assets/image/7.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 30vh;
    background-position: center;
    background-blend-mode: overlay;
    background-color: #000000a8;
}
#chat-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1;
}

#chatbox {
  width: 320px;
  height: 450px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.541);
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: Arial, sans-serif;
  transform: scale(1);
  opacity: 1;
  transition: all 0.6s ease;
}

#chatbox.hidden {
  transform: scaleY(0.9);
  opacity: 0;
  pointer-events: none;
  height: 0;
}

#chat-header {
  background: #262560;
  color: #fff;
  padding: 10px;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chat-header button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

#chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.bot-message,
.user-message {
  padding: 8px 12px;
  margin: 6px 0;
  max-width: 75%;
  border-radius: 20px;
  display: inline-block;
  animation: fadeIn 0.3s ease;
}

.bot-message {
  background: #eee;
  color: #333;
}

.user-message {
  background: #262560;
  color: #fff;
  align-self: flex-end;
}

.hidden {
  display: none;
}

#chat-bubble {
  width: fit-content;
  height: 50px;
  background: #262560;
  color: #fff;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-left: auto;
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s ease;
  padding: 0 10px;
  position: absolute;
  bottom: 0;
  right: 0;
}
#chat-bubble img{
    width:30px;
}
#chat-bubble.hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

button.option-btn:hover {
  background: #ddd;
}
/* When a bot message is immediately followed by another bot message */
.bot-message + .bot-message {
  border-top-left-radius: 4px; /* 2nd bot: top-left corner sharp */
}

/* When a bot message is followed by another bot message (1st bot) */
.bot-message:not(:last-child) {
  border-bottom-left-radius: 16px; /* reset bottom-left for all */
}

.bot-message:has(+ .bot-message) {
  border-bottom-left-radius: 4px; /* 1st bot: bottom-left corner sharp */
}

/* User message with options */
.user-message.options-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background-color: transparent;
  color: #fff;
  padding: 8px;
  border-radius: 16px;
  margin: 4px 0;
}

/* Option buttons */
.option-btn {
  background: #eee;
  color: #333;
  padding: 8px 12px;
  border-radius: 20px;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  margin: 4px 4px 0 auto;
  text-align: left;
}
.option-btn:hover {
  background: rgba(255, 255, 255, 0.5);
}
.formBtn{
    background-color: #262560;
}
/* Normal bot and user messages already styled as before */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
