@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* External CSS for Navbar */
body {
  font-family: Poppins;
  background-color: #f8f9fa; /* Light gray background */
  margin: 0;
}

/* Navbar */
.navbar {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  margin: auto;
  position: relative;
  z-index: 100;
}

.navbar .navbar-brand {
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.navbar .navbar-brand img {
  width: 40px;
  margin-right: 10px;
}

.navbar .nav-link {
  font-size: 16px;
  color: #555;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.nav-link.active {
  color: #0d6efd !important; /* Ensures active link is highlighted */
}


.navbar .nav-link:hover {
  color: #007bff; /* Bootstrap's primary blue */
}

/* Dropdown Menu */
.dropdown-menu.custom-dropdown {
  width: 250px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
  padding: 10px 15px;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
}

.dropdown-item:hover {
  background-color: #f0f8ff;
  color: blue;
}

.dropdown-item.active {
  background-color: #e6f7ff;
  color: blue;
}

.news-section {
  background-color: #f9f9f9;
}

.card {
  border-radius: 10px;
}

.card-img-top {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  height: 200px;
  object-fit: cover;
}

.card-body {
  text-align: center;
}

.btn-outline-success {
  border-color: blue;
  color: blue;
}

.btn-outline-success:hover {
  background-color: blue;
  color: white;
}

/* WhatsApp button styling */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: white;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  background-color: white;
}

/* Chatbox Styling */
.whatsapp-chatbox {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px; /* Increased width */
  height: 400px; /* Increased height */
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9998;
  display: none; /* Hide by default */
  overflow-y: auto; /* Scroll if content overflows */
}

.chatbox-header {
  background-color: #25d366; /* WhatsApp Green */
  padding: 12px;
  color: white;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.close-btn {
  background-color: transparent;
  color: white;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.chat-options {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px; /* Increased space between buttons */
  overflow-y: auto;
}

.chat-options button {
  background-color: #25d366;
  color: white;
  border: none;
  padding: 12px;
  margin-bottom: 10px; /* Increased margin between buttons */
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px; /* Slightly larger font size for readability */
  transition: background-color 0.3s ease;
}

.chat-options button:hover {
  background-color: #128c7e;
  transform: scale(1.05);
}
