#chatbot {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 350px;
      max-height: 500px;
      border: 1px solid #ccc;
      border-radius: 10px;
      overflow: hidden;
      display: none;
      flex-direction: column;
      background: #fff;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
      font-family: Arial, sans-serif;
    }
    #chatHeader {
      background: #007bff;
      color: white;
      padding: 10px;
      text-align: center;
      font-weight: bold;
      cursor: pointer;
    }
    #chatMessages {
      flex: 1;
      padding: 10px;
      overflow-y: auto;
      font-size: 14px;
    }
    .msg {
      margin: 5px 0;
      padding: 8px;
      border-radius: 5px;
      max-width: 80%;
      clear: both;
    }
    .bot { background: #f1f1f1; float: left; }
    .user { background: #007bff; color: white; float: right; }
    #chatInputArea {
      display: flex;
      border-top: 1px solid #ccc;
    }
    #chatInput {
      flex: 1;
      border: none;
      padding: 10px;
      font-size: 14px;
    }
    #chatSend {
      background: #007bff;
      color: white;
      border: none;
      padding: 10px 15px;
      cursor: pointer;
    }
 
    .option-btn {
      display: inline-block;
      background: #17a2b8;
      color: white;
      border: none;
      padding: 5px 10px;
      margin: 3px;
      border-radius: 5px;
      cursor: pointer;
      font-size: 13px;
    }
    .back-btn {
      display: inline-block;
      background: #ffc107;
      color: black;
      border: none;
      padding: 5px 10px;
      margin: 3px;
      border-radius: 5px;
      cursor: pointer;
      font-size: 13px;
    }

#chatToggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 30px;
  padding: 10px 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}





/* Custom CSS */
body {
    transition: background-color 0.3s, color 0.3s;
     font-family: Arial, sans-serif;
}

/* Light Mode (Default) */
.light-mode {
    background-color: #f8f9fa; /* Light background */
    color: #212529; /* Dark text */
}

.light-mode .navbar {
    background-color: #ffffff !important; /* White navbar */
    color: #212529;
}

.light-mode .card {
    background-color: #ffffff;
    border-color: #e9ecef;
}

/* Dark Mode */
.dark-mode {
    background-color: #343a40; /* Dark background */
    color: #e9ecef; /* Light text */
}

.dark-mode .navbar {
    background-color: #212529 !important; /* Darker navbar */
    color: #e9ecef;
}

.dark-mode .navbar-light .navbar-brand,
.dark-mode .navbar-light .nav-link {
    color: #e9ecef;
}

.dark-mode .card {
    background-color: #495057;
    border-color: #6c757d;
    color: #e9ecef;
}

.dark-mode .card-text {
    color: #ced4da !important;
}

/* Hero Section Carousel adjustments */
.carousel-item img {
    height: 600px; /* Set a fixed height for consistency */
    object-fit: cover; /* Ensure images cover the area */
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
    padding: 20px;
    border-radius: 8px;
}

/* Service Card Hover Effect */
.service-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Footer styling */
footer {
    background-color: #212529 !important;
}