body {
    font-family: "Montserrat", serif;
}
.g-recaptcha {
    transform: scale(0.8);
    transform-origin: left;
    min-height: 60px;
}
.customPopup {
    background-image: url("/assets/images/popup.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
}
.customSize {
    font-size: 12px;
}
.form-group {
    margin-top: 16px;
}
.image-popup img {
    height: 100%;
    object-fit: cover;
}
.modal-body {
    margin-bottom: 0 !important;
    padding-bottom: 15px;
    padding-top: 0;
}
.whatsappBg {
    background-color: #21d366;
}
.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;
}
@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;
    }
}
.primaryColourBg {
    background-color: #ffc107;
}
.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;
}

.customThankYouIcon {
    font-size: 140px;
    color: white;
}
.CustomPrivacy {
    background-color: #202d50;
}
.fs-12 {
    font-size: 14px;
}
.primary-bg {
    background-color: #202d50;
    color: #fff;
}
.primary-text {
    color: #202d50;
}
.afterLine {
    width: 80px;
    height: 2px;
    background-color: #202d50;
    margin: 0 10px;
}
.navbar-toggler {
    filter: invert(1);
}
.nav-link:hover {
    color: #202d50 !important;
    background-color: white;
    padding: 5px;
    border-radius: 10px;
    transition: 0.2s all ease;
    font-weight: 600;
}
/* .nav-link {
  color: #fff;
  position: relative;
} */
/* .navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: #fff;
  max-width: 100px;
} */
/* .navbar-nav .nav-link::after {
  content: "";
  width: 0;
  position: absolute;
  height: 2px;
  background-color: white;
  bottom: 0;
  left: 0;
} */
/* .navbar-nav .nav-link.active::after {
  width: 100%;
} */
.nav-link {
    color: #fff;
}
.logo {
    width: 100px;
    height: 50px;
    object-fit: cover;
}
.hero-section {
    background-image: url("../images/1.jpg");
    background-size: cover;
    /*background-attachment: fixed;*/
    /*letter-spacing: 2px;*/
    background-position: center;
    /*min-height: 100vh;*/
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #00000099;
    background-blend-mode: overlay;
}

.whatsappBg {
    background-color: #21d366 !important;
}
.bhk-type {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding: 13px 30px;
    width: fit-content;
    margin: 25px 0;
}
.bhk-type::after {
    content: " ";
    position: absolute;
    top: 2px;
    right: calc(0px / 2);
    width: 85px;
    height: calc(100% - 2 * 2px);
    border: 4px solid #ffffff;
    border-left-color: transparent;
}
.bhk-type::before {
    content: " ";
    position: absolute;
    top: 2px;
    left: calc(0px / 2);
    width: 87px;
    height: calc(100% - 2 * 2px);
    border: 4px solid #fff;
    border-right-color: transparent;
}
.banner-price {
    font-size: 17px;
    background: #202d50;
    text-shadow: unset;
    width: fit-content;
    line-height: unset;
    color: #fff;
    text-transform: uppercase;
    padding: 6px 25px;
    box-shadow: 0px 0px 16px #c1915799;
    margin-top: 35px;
}
.custom-card {
    background-color: #00000087;
    backdrop-filter: blur(4px);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

.custom-card-header {
    text-align: center;
}
.custom-card-header h4 {
    margin: 0;
    font-size: 24px;
    color: #333;
}
.custom-form-group {
    margin-bottom: 10px;
}
.custom-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #fff;
}
.custom-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
.custom-btn {
    width: fit-content;
    padding: 10px;
    background-color: #202d50;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.custom-btn:hover {
    background-color: #202d50;
}
.price-box {
    position: relative;
    background: #202d5016;
    text-align: center;
}
.price-box-in {
    position: relative;
}
.price-box-in::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background-color: #202d50;
}
.price-box-in::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background-color: #202d50;
}
.price-box-in p {
    border-bottom: 1px solid #d7d7d7;
    width: fit-content;
    margin: auto;
    padding: 19px 33px;
    letter-spacing: 2px;
}
.price-box-in p:nth-child(2) {
    border-top: 1px solid #d7d7d7;
}
.price-box .h1 {
    background: #202d50;
    font-size: 26px;
    color: #fff;
    padding: 10px 0;
    letter-spacing: 0.5px;
}
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    font-size: 18px;
    padding-bottom: 40px;
}
.swiper-pagination-bullet {
    transition: all ease 0.3s;
}

.swiper-pagination-bullet-active {
    background-color: #202d50;
    width: 40px;
    border-radius: 10px;
}
.custom {
    bottom: 1rem;
    left: 1rem;
    z-index: 10;
    width: fit-content;
}
.swiper-slide img {
    display: block;
    width: 100%;
    object-fit: cover;
}
.swiper-button-next,
.swiper-button-prev {
    background: #fff !important;
    width: 40px !important;
    height: 40px !important;
    padding: 8px !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 12px 0 #24272c26 !important;
    color: #000 !important;
}
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 13px !important;
    font-weight: 600 !important;
}
.amenities {
    position: relative;
    background-attachment: fixed;
    background-image: url("../images/arogyam_hero.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.516);
    background-blend-mode: overlay;
}
.ami-box {
    display: flex;
    background: #202d50;
    align-items: center;
    padding: 10px;
    margin-bottom: 30px;
}
.ami-box img {
    max-width: 70px;
    background: white;
    padding: 5px;
}
.ami-box h3 {
    font-size: 16px;
    margin-left: 10px;
    letter-spacing: 2px;
    margin-bottom: 0;
    text-transform: uppercase;
}
.gallery img {
    aspect-ratio: 4/3;
}
.contact .custom-card {
    max-width: 100%;
}
.faqs .accordion-item {
    margin-bottom: 10px;
}
.faqs .accordion-button:focus {
    box-shadow: none;
}
.faqs .accordion-button:not(.collapsed) {
    color: white;
    background-color: #202d50;
}
.faqs .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23f7d1bc' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 8H14'/%3e%3c/svg%3e");
}
.faqs .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23204646' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M8 2V14M2 8H14'/%3e%3c/svg%3e");
}
.faqs .accordion-item:not(:first-of-type) {
    border: var(--bs-accordion-border-width) solid
        var(--bs-accordion-border-color);
}

#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: #202d50;
    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: #202d50;
    color: #fff;
    align-self: flex-end;
}

.hidden {
    display: none;
}

#chat-bubble {
    width: fit-content;
    height: 50px;
    background: #202d50;
    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.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);
}

/* Normal bot and user messages already styled as before */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .banner-price {
        font-size: 25px;
    }
}

@media (min-width: 992px) {
    .nav-item {
        padding: 0 10px;
    }
}
