:root {
  --primary-blue: rgb(0, 116, 50);
  --primary-dark: #000000;
  --secondary-gray: #f8f9fa;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #4a90e2 0%, #89cff0 100%);
  --accent: #f2c94c;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --navbar-scrolled-bg: var(--secondary-gray);
  --navbar-scrolled-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}
@media (min-width: 768px) {
  main {
    width: 100vw;
    overflow: hidden;
  }
}

/* site plan images */
.image-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;

}

@media (min-width: 1024px) {
  .image-section {
    margin-top: 80px;
  }
}
.image-wrapper {
  overflow: hidden;
  transition: transform 0.3s ease;
  border-radius: 10px;
}

.image-wrapper:hover {
  transform: scale(1.03);
}

.clickable-image {
  width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid #ccc;
}

@media (min-width: 1024px) {
  .clickable-image {
    width: 700px;
    height: 400px;
  }
}
/* Modal styling */
/*.modal {*/
/*  display: none;*/
/*  position: fixed;*/
/*  z-index: 999;*/
/*  padding-top: 60px;*/
/*  left: 0;*/
/*  top: 0;*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  overflow: auto;*/
/*  background-color: rgba(0, 0, 0, 0.9);*/
/*}*/

/*.modal-content {*/
/*  margin: auto;*/
/*  display: block;*/
/*  max-width: 90%;*/
/*  max-height: 85%;*/
/*  border-radius: 10px;*/
/*  animation: zoomIn 0.3s ease;*/
/*}*/

/*@media (max-width: 768px) {*/
/*  .modal {*/
/*    align-items: flex-start;*/
/*    padding-top: 300px; */
/*  }*/
/*}*/

@keyframes zoomIn {
  from {
    transform: scale(0.8);
  }

  to {
    transform: scale(1);
  }
}

.close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #bbb;
}

.overview-card {
  flex: 0 0 25%;
  max-width: 25%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 15px;
  background-color: var(--green-2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-item h4 {
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
}

.overview-item p {
  color: #fff;
  font-weight: 400;
  font-size: 0.8rem;
  margin-bottom: 0;
  text-transform: uppercase;
}

.image-hover-wrapper {
  overflow: hidden;
  border-radius: 8px;
}

.for-paras {
  text-align: justify;
  line-height: 1.5rem;
  text-justify: inter-word;
  font-size: 1rem;
}

.customBtn {
  background-color: transparent;
  border: 1px solid #518e58d0;
  padding: 8px 30px;
  color: #007432;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 14px;
  margin: 30px 0;
  letter-spacing: 2px;
  transition: 0.5s all ease-in-out;
}

.customBtn:hover {
  background-color: #007432;
  color: #fff;
  border: 1px solid #007432;
}

.short-img {
  filter: none !important;
  min-height: 500px;
  object-fit: cover;
}

@media (max-width: 480px) {
  .highlight-card {
    align-items: center;
    gap: 1.5rem;
  }

  .short-img {
    min-height: 250px !important;
  }

  .image-hover-effect {
    filter: none !important;
  }

  .price-box {
    width: 100%;
  }

  .view-more {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .para-effect {
    z-index: 10 !important;
  }
}

@media (max-width: 480px) {
  .highlight-card {
    align-items: center;
    gap: 1.5rem;
  }
}

/* overview-section css */

/* overview-section css close */
.overview {
  background: #fff;
  padding: clamp(48px, 6vw, 88px) 0;
}

/* Grid – mobile first */
.overview-grid {
  display: grid;
  gap: 24px;
}

/* Copy */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  background: #60c083;
  border: 1px solid #61d78e;
  border-radius: 999px;
  padding: 0.32rem 0.6rem;
  margin-bottom: 0.65rem;
}

.sec-title {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 0.6rem 0;
  font-weight: 600;
}

.lead-copy {
  font-size: 1rem;
  color: #272827;
  text-align: justify;
  line-height: 2;
  margin: 0 0 1.1rem 0;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 14px 0 18px;
  grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 576px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .stats {
    grid-template-columns: repeat(5, 1fr);
  }
}

.stat-label {
  font-size: 0.95rem;
  color: #6eb472;
  margin-top: 6px;
}

.stat {
  background: #fff;
  border: 1px solid #49af78;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 14px 12px;
  text-align: center;
  font-weight: 600;
}

.stat-num {
  font-weight: 600;
  color: var(--green-2);
  font-size: 1.15rem;
  line-height: 1.2;
}

.stat-num .u {
  display: block;
  font-size: 0.78rem;
  color: var(--green-2);
  margin-top: 2px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--green-2);
  margin-top: 6px;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 2px 0 0 0;
  list-style: none;
}

.feature-chips li {
  font-size: 0.86rem;
  color: #3d7044;
  background: #fff;
  border: 1px solid #e6edf2;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
}

/* Media collage */
.overview-media {
  width: 100%;
}

.media-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 130px;
}

.media-card {
  background: #dde7ef;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e6edf2;
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-card.tall {
  grid-row: span 2;
}

.media-card.wide {
  grid-column: span 2;
  grid-row: span 1;
}

/* Caption */
.media-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}

/* Subtle hover effect */
.media-card:hover img {
  transform: scale(1.03);
  transition: transform 0.45s ease;
}

@media (min-width: 992px) {
  .overview-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 40px;
  }

  .media-grid {
    grid-auto-rows: 230px;
  }
}

/* highlight section*/
.image-hover-effect {
  transition: all 0.3s ease-in-out;
  display: block;
  width: 100%;
  filter: grayscale(100%);
}

.image-hover-effect:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(37, 75, 37, 0.25);
  filter: grayscale(0%) brightness(1.2);
}

.alternate {
  background-color: rgb(241, 245, 249);
}

.apartment-features {
  list-style-type: none;
  padding-left: 0;
}

.apartment-features li {
  text-align: left;
  line-height: 2;
  margin-left: 0;
}

.apartment-features li::before {
  content: "\2714";
  color: #16940d;
  margin-right: 10px;
}
.navbar.scrolled {
  background: var(--navbar-scrolled-bg);
  box-shadow: var(--navbar-scrolled-shadow);
}

.navbar-brand {
  font-weight: 900;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  color: var(--primary-blue);
}

.navbar-brand img {
  height: 45px;
  transition: all 0.3s ease;
}

.nav-item .nav-link {
  background-image: linear-gradient(
    to right,
    rgb(0, 116, 50),
    rgb(0, 116, 50) 50%,
    var(--primary-dark) 50%
  );
  background-size: 200% 100%;
  background-position: -100%;
  display: inline-block;
  padding: 5px 0;
  position: relative;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease-in-out;
}

.nav-item .nav-link:before {
  content: "";
  background: rgb(0, 116, 50);
  display: block;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  transition: all 0.3s ease-in-out;
}

.nav-item .nav-link:hover {
  background-position: 0;
}

.nav-item .nav-link:hover::before {
  width: 100%;
}

/* Mobile toggler styling for visibility */
.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23007432' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile menu background */

.banner {
  height: 100vh;
  position: relative;
  background-color: #000;
  overflow: hidden;
  z-index: 1;
}

/* .heroText {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  top: 50%;
  left: 25%;
  z-index: 4;

  position: absolute;

  border: 0.3px solid var(--primary-blue);
  box-shadow: 0px 10px 2rem rgb(0 0 0 / 35%);
  -webkit-backdrop-filter: blur(4px) brightness(0.7);
  backdrop-filter: blur(1px);
  width: max-content;
  padding: 2rem 2rem 1.5rem;
  border-width: 2px !important;
}

.main-hero-text {
  font-size: 3.5rem;
  font-weight: 300;
}

.main-hero-text span {
  font-family: "DM Serif Display", serif;
} */

.alternate {
  background-color: rgb(241, 245, 249);
}

.faq {
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.apartment-features li {
  text-align: left;
}

.location-img {
  width: 100%;
  height: 105px;
  object-fit: cover;
}

.amenity {
  cursor: pointer;
  border: 2px solid #ddd;
  border-radius: 8px;
  height: 100%;
  width: 250px;
  transition: all 0.3s ease;
  background-color: white;
  color: var(--primary-blue);
}

.amenity:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 4px 20px rgba(0, 116, 50, 0.5);
}

.amenity.active {
  background-color: var(--primary-blue);
  color: white;
}

.location-carousel .carousel-cell {
  height: 200px;
  padding: 10px;
  border-radius: 8px;
  margin-right: 10px;
}

.amenity p {
  margin-top: 10px;
  font-size: 0.8rem;
}

.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;
}

.custom-btn {
  width: fit-content;
  padding: 10px;
  background-color: var(--primary-dark);
  border: 0.5px solid white;
  border-radius: 4px;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.custom-btn:hover {
  background-color: white;
  border: 0.5px solid var(--primary-dark);
  color: #1a2c50;
}

.custom-btn2 {
  width: fit-content;
  padding: 10px;
  background-color: white;
  font-size: 1.2rem;
  border: none;
  border-radius: 4px;
  color: var(--primary-dark);
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.custom-btn2:hover {
  background-color: #1a2c50;
  color: white;
}

.abc {
  background-color: var(--primary-blue) !important;
}

.ami-box {
  display: flex;
  background: #007432;
  align-items: center;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 10px;
  margin-bottom: 30px;
}

.ami-box img {
  max-width: 70px;
  background: white;
  border-radius: 10px;
  padding: 5px;
}

.ami-box h3 {
  font-size: 16px;
  margin-left: 10px;
  letter-spacing: 2px;
  margin-bottom: 0;
  text-transform: capitalize;
}

.for-paras {
  text-align: justify;
  line-height: 1.5rem;
  text-justify: inter-word;
  font-size: 1rem;
}

.short-img {
  filter: none !important;
  min-height: 500px;
  object-fit: cover;
}

.price-box {
  width: 80%;
}

@media (max-width: 991px) {
  .alternate-bhk {
    flex-direction: column-reverse;
  }

  .navbar-collapse .nav-item .nav-link {
    text-align: center;
    padding: 10px 0;
    background-image: linear-gradient(
      to right,
      rgb(0, 116, 50),
      rgb(0, 116, 50) 50%,
      var(--primary-dark) 50%
    );
  }
}

@media (max-width: 480px) {
  .highlight-card {
    align-items: center;
    gap: 1.5rem;
  }

  .short-img {
    min-height: 250px !important;
  }

  .image-hover-effect {
    filter: none !important;
  }

  .price-box {
    width: 100%;
  }
  .view-more {
    text-align: center;
  }
}

.accordion-item {
  margin-bottom: 10px;
  /* border: 1px solid var(--primary-dark); */
  border-radius: 0.3rem;
}

.accordion-button {
  background-color: var(--secondary-gray);
  color: #1d1d1d;
  /* Default question text color */
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid #dee2e6;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: #2e9247;
  color: white;
  /* Question text color when active */
}

.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");
  transform: rotate(180deg);
}

.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");
  background-size: 1rem;
}

/* Card form style */
/* Modal Card */
.modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  background: #fff;
  position: relative;
  padding-top: 2rem;
}

/* Close Button */
.custom-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f1f1f1;
  border-radius: 50%;
  padding: 6px;
  font-size: 12px;
  opacity: 1;
  transition: all 0.3s ease;
}

.custom-close:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* Input fields */
.form-control-custom {
  border-radius: 10px;
  border: 1.5px solid #ddd;
  padding: 0.65rem 1rem;
  transition: all 0.3s ease;
}

.form-control-custom:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.4);
  outline: none;
}

/* Icon box */
.icon-box {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  border-radius: 10px 0 0 10px;
  padding: 0.65rem 0.9rem;
}

/* Submit button */
.btn-submit {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0px 5px 15px rgba(0, 116, 50, 0.3);
}
.custom {
    bottom: 1rem;
    left: 1rem;
    z-index: 100;
    width: fit-content;
}
.btn-submit:hover {
  background: var(--primary-dark);
  color: #fff;
  /* transform: scale(1.03); */
  box-shadow: 0px 8px 20px rgba(0, 116, 50, 0.5);
}

.custom-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f1f1f1;
  border-radius: 50%;
  padding: 6px 10px;
  font-size: 18px;
  color: var(--primary-dark);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-close:hover {
  background: var(--primary-dark);
  color: #fff;
}

.form-heading {
  color: var(--primary-blue);
  font-weight: 350;
}

button[class^="carousel-control-prev"] {
  width: 40px;
  height: 40px;
  top: 50%;
  left: -3%;
  bottom: auto;
  margin-top: -20px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  opacity: 1;
}

button[class^="carousel-control-next"] {
  width: 40px;
  height: 40px;
  top: 50%;
  right: 3%;
  bottom: auto;
  margin-top: -20px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  opacity: 1;
}

button[class^="carousel-control"]:hover {
  background-color: var(--primary-dark);
}

.carousel-control-next {
  right: 2rem;
}

.carousel-control-prev {
  left: 2rem;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  width: 2rem;
  height: 1rem;
}

.hero-form {
  backdrop-filter: blur(4px);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.hero-form form {
  background-color: transparent !important;
}

@media (max-width: 768px) {
  .para-effect {
    z-index: 10 !important;
  }
}

.wa-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--wa-color);
  color: #27b616;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: wa-blink 2s infinite ease-in-out;
}

.wa-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.wa-float i {
  font-size: 28px;
  /* adjust size instead of width/height */
  line-height: 1;
  /* prevent extra spacing */
  display: flex;
  /* optional, ensures consistent alignment */
  align-items: center;
  justify-content: center;
}

/* Blink every 2s (subtle opacity + pulse) */
@keyframes wa-blink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  45% {
    opacity: 0.55;
    transform: scale(0.98);
  }

  50% {
    opacity: 0.85;
    transform: scale(1.03);
  }
}

/* Optional: a soft outer ring pulse */
.wa-float::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(45, 245, 118, 0.826);
  animation: wa-ring 2s infinite ease-out;
  pointer-events: none;
}

@keyframes wa-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }

  70% {
    transform: scale(1.15);
    opacity: 0;
  }

  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

/* Blink every 2s */
@keyframes wa-blink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  45% {
    opacity: 0.65;
    transform: scale(0.98);
  }

  50% {
    opacity: 0.85;
    transform: scale(1.03);
  }
}

.cta-button .fa-download {
  display: inline-block;
  animation: downloadMove 1s infinite;
}

@keyframes downloadMove {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(-6px);
    opacity: 0.7;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float {
    animation: none !important;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .wa-float,
  .wa-float::after {
    animation: none !important;
  }
}

#chat-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

#chatbox {
  width: 320px;
  height: 450px;
  border-radius: 12px;
  box-shadow: 0 4px 10px #16940d;
  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: #007432;
  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: #16940d;
  color: #fff;
  align-self: flex-end;
}

.hidden {
  display: none;
}

#chat-bubble {
  width: fit-content;
  height: 40px;
  background: #007432;
  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;
}

/* 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 22px;
  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: #16940d;
}

/* Normal bot and user messages already styled as before */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* page filler so you can scroll and test the appear trigger */
.spacer {
  height: 65vh;
}

/* section look (dark green like your screenshot) */
.stats-section {
  background: #104f17;
  padding: 30px 0;
}

.stat-card {
  border: 1px solid rgba(64, 164, 120, 0.35);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
}

.stat-number {
  line-height: 1;
  font-weight: 800;
  font-size: 3.5rem;
  /* tweak if you want bigger/smaller */
}

.stat-number .suffix {
  margin-left: 4px;
  font-weight: 700;
}

.stat-label {
  margin-top: 10px;
  font-size: 1.15rem;
  color: #dfdfdf;
}

#navbar {
  position: absolute;
  top: 0; /* add this */
  width: 100vw;
  transition: all 0.9s ease-in-out;
  z-index: 999;
  background-color: #ffffffcc;
  padding: 8px 0;
}
/* After scroll */
#navbar.scrolled {
  position: fixed;
  background-color: #fff;
  animation: slideDown 0.8s ease forwards;
}

/* Keyframes for slide effect */
@keyframes slideDown {
  0% {
    top: -100px;
  }
  100% {
    top: 0;
  }
}

/* Base breadcrumb section */
.breadcrumb {
  background: #f8f9fa; /* light gray background */
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 20px;
  min-height: 40vh;
  background-image: url(../img/8.jpg);
  position: relative; /* spacing (py-3 already adds vertical padding) */
}

/* Breadcrumb list (ul) */
.breadcrumb ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px; /* spacing between items */
  position: absolute;
  bottom: 10px;
}

/* Breadcrumb links */
.breadcrumb a {
  text-decoration: none;
  color: #007bff; /* bootstrap primary blue */
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #0056b3; /* darker on hover */
}

/* Separator */
.breadcrumb li::after {
  content: "›"; /* breadcrumb arrow */
  margin: 0 6px;
  color: #6c757d;
}

.breadcrumb li:last-child::after {
  content: ""; /* no arrow after last item */
}

/* Active breadcrumb (current page) */
.breadcrumb li.active {
  color: #6c757d; /* gray text */
  font-weight: 600;
  pointer-events: none;
}

.section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding: 0 1rem; /* spacing around text */
}
.faq {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  position: relative;
  display: inline-block;
  padding: 0 1rem; /* spacing around text */
}
.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px; /* line length */
  height: 2px; /* line thickness */
  background: var(--primary-blue); /* theme color */
}

.section-title::before {
  right: 100%; /* position left side */
  margin-right: 15px; /* gap from text */
}

.section-title::after {
  left: 100%; /* position right side */
  margin-left: 15px; /* gap from text */
}
.section-title-w {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding: 0 1rem; /* spacing around text */
}

.section-title-w::before,
.section-title-w::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px; /* line length */
  height: 2px; /* line thickness */
  background: #fff; /* theme color */
}

.section-title-w::before {
  right: 100%; /* position left side */
  margin-right: 15px; /* gap from text */
}

.section-title-w::after {
  left: 100%; /* position right side */
  margin-left: 15px; /* gap from text */
}

.section-description {
  font-size: 1rem;
  color: #555;
  margin-top: 0.5rem;
}
@media (max-width: 576px) {
  .slider-container {
    height: 70vh !important;
  }
  .slide-content-text {
    left: 0 !important;
  }
}
