/* Updated styles.css for Home Page Styling */
:root {
  --primary-color: #027abf;
  --accent-color: #FD8540;
  --accent-alt-color: #00A6C6;
  --accent-alt2-color: #70BFE0;
  --text-color: #333333;
  --text-alt-color: #027abf;
  --divider-color: #D1D1D1;
  --light-bg: #F4F6F8;
}

body {
  background-color: #FFFFFF;
  color: var(--text-color);
  font-family: 'Nunito Sans', sans-serif;
  line-height: 1.6;
}

/* Navbar Styling */
.navbar {
  background-color: var(--primary-color) !important;
  z-index: 1000 !important;
}
.navbar-brand .text-dark {
  color: #FFFFFF !important;
}

/* Button Styling */
.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  transition: 0.3s ease-in-out;
}
.btn-primary:hover {
  background-color: var(--accent-alt2-color) !important;
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}
.btn-outline-primary:hover {
  background-color: var(--accent-alt2-color) !important;
  color: #FFFFFF !important;
}

/* Section Styling */
.hero, .bg-primary-alt {
  background-color: var(--primary-color);
  color: #FFFFFF;
  padding: 4rem 0;
}
.bg-light {
  background-color: var(--light-bg) !important;
}

h2.fw-bold {
  color: var(--text-alt-color);
}

/* custom_admin.css */
.button {
  padding: 6px 12px;
  margin-right: 5px;
  background-color: #027abf;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-size: 12px;
}
.button:hover {
  background-color: #025f9e;
}

/* Contact Form Styling */
.container > h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.container form {
  max-width: 450px;
  margin: 0 auto; /* centers the form */
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container form .form-label {
  font-weight: 450;
  margin-bottom: 0.5rem;
}

.container form input,
.container form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--divider-color);
  border-radius: 4px;
  background-color: #f9f9f9;
  margin-bottom: 1rem;
}

.container form button {
  width: 100%;
  padding: 0.75rem;
}

/* 🌟 Chatbot Section */
.chatbot-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #027abf 30%, #00A6C6 100%);
  color: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  margin: auto;
  transition: transform 0.3s ease-in-out;
}

.chatbot-container:hover {
  transform: translateY(-3px);
}

.chatbot-content {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  max-width: 600px;
}

.chatbot-icon {
  font-size: 28px;
}

.chatbot-title {
  font-size: 22px;
  font-weight: bold;
  margin: 0;
}

.chatbot-subtitle {
  font-size: 15px;
  opacity: 0.85;
}

/* 📝 Chat Input Field */
.chatbot-input-wrapper {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 30px;
  padding: 8px;
  width: 100%;
  max-width: 600px;
  margin-top: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.chatbot-input-wrapper:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.chatbot-input {
  flex: 1;
  border: none;
  padding: 12px 15px;
  font-size: 16px;
  border-radius: 30px;
  outline: none;
  background: transparent;
}

/* ✈️ Send Button */
.chatbot-submit {
  background: linear-gradient(90deg, #027abf, #00A6C6);
  border: none;
  color: white;
  font-size: 20px;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease-in-out;
}

.chatbot-submit:hover {
  background: linear-gradient(90deg, #00A6C6, #027abf);
  transform: scale(1.1);
}

.chatbot-submit:active {
  transform: scale(0.95);
}

/* 💡 Suggested Questions */
.chatbot-suggestions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.chatbot-suggestion {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid white;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.chatbot-suggestion:hover {
  background: white;
  color: #027abf;
  transform: scale(1.05);
}

/* 💬 Chat Window */
.chat-window {
  position: fixed;
  bottom: 0;
  right: -400px; /* Initially hidden */
  width: 360px;
  height: 75vh;
  background: white;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  transition: right 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
  border-left: 2px solid #007bff;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  z-index: 1050;
}

/* 🏷 Chat Header */
.chat-header {
  background: #027abf;
  color: white;
  padding: 12px;
  text-align: center;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 15px 15px 0 0;
}

.close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

/* 📩 Chat Messages */
.chat-body {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background: #f9f9f9;
}

/* 📝 Chat Input Box Inside Chat Window */
.chat-input-wrapper {
  display: flex;
  align-items: center;
  padding: 10px;
  background: #fff;
  border-top: 1px solid #ddd;
}

/* ✨ Chat Input */
.chat-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 15px;
  font-size: 16px;
  border-radius: 30px;
  background: #f5f5f5;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}

.chat-input:focus {
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 166, 198, 0.5);
}

/* 🚀 Chat Send Button */
.chat-submit {
  background: linear-gradient(90deg, #027abf, #00A6C6);
  border: none;
  color: white;
  font-size: 20px;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.3s ease, transform 0.2s ease-in-out;
}

.chat-submit:hover {
  background: linear-gradient(90deg, #00A6C6, #027abf);
  transform: scale(1.1);
}

.chat-submit:active {
  transform: scale(0.95);
}


/* Fade-in Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

/* Service Card Hover */
.service-card {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

.service-btn {
  transition: background-color 0.3s ease-in-out;
}
.service-btn:hover {
  background-color: #0048BA;
}

/* NAVBAR ICONS */

/* 
  For nav items except the consultation button:
  - Align icon & text side-by-side (like LinkedIn).
  - Keep them centered vertically.
  - Control spacing with margin-right or gap.
*/
.nav-icons .nav-link:not(.consultation-btn) {
  display: inline-flex;
  align-items: center;
  /* Adjust spacing around each nav item */
  padding: 8px 12px;
  font-size: 14px;
  color: #fff;
  transition: color 0.3s ease-in-out;
  text-decoration: none;
  text-align: center;
}

/* Icon styling:
   - Slightly smaller or matching text size
   - Right margin to give space between icon and text
*/
.nav-icons .nav-icon {
  font-size: 16px;
  margin-right: 6px;
}

/* Hover effect for non-consultation nav links */
.nav-icons .nav-link:not(.consultation-btn):hover {
  color: var(--accent-alt2-color) !important;
}

/* Active menu item style */
.nav-icons .nav-link.active {
  color: #fff !important;
  font-weight: 600;
  position: relative;
}

.nav-icons .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 50%;
  height: 2px;
  background-color: var(--accent-color);
  transform: translateX(-50%);
}

/* CONSULTATION BUTTON 
   - Larger & more prominent 
   - Inline-flex for easy text centering
*/
.nav-icons .consultation-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #FF5722, #FF9800);
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  margin-top: 0;
  margin-bottom: 0;
}

/* Hover effect for consultation button */
.nav-icons .consultation-btn:hover {
  background: linear-gradient(90deg, #FF9800, #FF5722);
  transform: scale(1.03);
  box-shadow: 0px 4px 12px rgba(255, 87, 34, 0.3);
}

/* Floating schedule call */
.floating-schedule-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(90deg, #00A6C6, #70BFE0);
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  border: none;
  font-size: 16px;
  transition: background 0.3s ease;
  z-index: 1040; /* Lower than chat window */
}

.floating-schedule-btn i {
  margin-right: 8px;
}

.floating-schedule-btn:hover {
  background-color: #0056b3;
}

/* Footer Styling */
  /* Footer Background */
  .footer-bg {
    background-color: var(--primary-color);
  }

  /* Footer Links */
  .footer-link {
    color: var(--accent-alt2-color);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
  }

  .footer-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
  }

  /* Contact Icons */
  .text-accent {
    color: var(--accent-alt-color);
  }

  /* Social Icons */
  .social-icon {
    font-size: 1.5rem;
    color: var(--accent-alt2-color);
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
  }

  .social-icon:hover {
    transform: scale(1.2);
    color: var(--accent-color);
  }

  /* Divider */
  .footer-divider {
    border-color: var(--divider-color);
    opacity: 0.5;
  }