/* ============ THEME TOKENS ============ */
:root {
  --green-1: #1A5031;
  --green-2: #007432;
  --blue: #5B8FBA;
  --blue-light: #D3E6F0;
  --white: #ffffff;
  --ink: #0f172a;
  --text: #f8fafc;
  --muted: #5d9b6b;
  --glass: rgba(17, 24, 39, .55);
  --glass-b: #0000002b;
  --focus: #48c78e;
  --shadow: 0 10px 30px rgba(2, 28, 5, 0.06);

}

html,body{
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
  object-fit: cover;
  
}


.form-check-input:checked {
    background-color: var(--green-1);
    border-color: var(--green-1);
}

/* ============ COOKIE BOX (Mobile First) ============ */
.cookie-box {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 9999;
  max-width: none;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  overflow: hidden;
}

.cookie-box.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
}

.cookie-icon {
  font-size: 26px;
  color: var(--brand2);
  flex-shrink: 0;
  background: rgba(0, 116, 50, 0.1);
  border-radius: 50%;
  padding: 10px;
  align-self: center;
}

.cookie-content h5 {
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--brand1);
}

.cookie-content p {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 10px;
  line-height: 1.4;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-actions .btn {
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-accept {
  color: #343434;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  box-shadow: 0 4px 12px rgba(0, 116, 50, 0.25);
}

.btn-accept:hover {
  filter: saturate(1.1);
  transform: translateY(-1px);
}

.btn-reject {
  background: #eee;
  color: #333;
}

.btn-reject:hover {
  background: #ddd;
}

.btn-customize {
  background: transparent;
  color: var(--brand2);
  text-decoration: underline;
}

.btn-customize:hover {
  color: var(--brand1);
}

/* ============ Larger Screens Enhancements ============ */
@media (min-width: 576px) {
  .cookie-box {
    left: 24px;
    right: auto;
    bottom: 24px;
    max-width: 340px;
  }

  .cookie-inner {
    flex-direction: row;
    align-items: flex-start;
  }

  .cookie-icon {
    align-self: flex-start;
  }
}

#chat-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

#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: #16940d;
  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;
  height: 300px;
}

.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: var(--green-2);
  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 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);
  }
}
.modal-body{
  padding: 1rem !important;
}


.modal .contact-form-box{
  width: 100%;
  box-shadow: none;
}

.modal .modal-header{
  background: var(--blue);
}

.section-title{
  position: relative;
  padding-bottom: 10px;
  color: var(--blue);
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--green-2); /* WhatsApp green */
  color: #fff;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  animation: floatBounce 2.5s ease-in-out infinite;
  transition: all 0.3s ease;
}

/* Hover Glow Effect */
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

/* Bounce Animation */
@keyframes floatBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Mobile-First Adjustments */
@media (max-width: 576px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    left: 15px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}


/* Base breadcrumb section */
.breadcrumb {
  background: #f8f9fa;         /* light gray background */
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 20px; 
  min-height: 40vh; 
  /* background-image: url(../img/banner1.png);  */
  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;
}

