@import url("https://fonts.googleapis.com/css?family=Public+Sans:300,400,500,600,700,800,900&display=swap");
@import url("https://fonts.googleapis.com/css?family=Dancing+Script:400,500,600,700&display=swap");
:root {
  --theme-black: #222353;
  --theme-gold: #ff993c;
  --theme-green: #25d366;
  --theme-blue: #0088cc;
  --theme-gradient: linear-gradient(
    135deg,
    var(--theme-black) 0%,
    #2c2866 100%
  );
  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 15px rgba(0, 0, 0, 0.2);
  --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.3);
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semi-bold: 600;
  --fw-bold: 700;
  --fw-extra-bold: 800;
  --fw-black: 900;
}

* {
  margin: 0;
  padding: 0;
  outline: none;
  font-family: "Public Sans", sans-serif;
  font-weight: var(--fw-regular);
}
body,
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.fvp .navbar {
  z-index: 5;
  background-color: transparent !important;
  color: #fff;
}

.fvp .navbar-light li a {
  color: #fff !important;
}

.fvp .navbar-light .active a {
  color: var(--theme-gold) !important;
}

.navbar-brand img {
  width: 80px;
  height: auto;
}

.secondary-title-div {
  text-align: center;
  margin: 0 auto 3rem auto;
  width: 100%;
}
.secondary-title {
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--theme-black);
  position: relative;
  display: inline-block;
}
.secondary-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--theme-gold);
  border-radius: 2px;
}
.secondary-title i {
  margin-right: 12px;
  color: var(--theme-gold);
}
.read-more-div {
  width: 100%;
}
.main-footer {
  background: var(--theme-gradient);
  padding: 3rem 0 1rem 0;
  color: white;
  width: 100%;
  overflow-x: hidden;
}
.main-footer .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.footer-logo-div img {
  width: 120px;
  margin-bottom: 1rem;
  max-width: 100%;
  height: auto;
}

/* Sub footer */
.sub-footer {
  font-size: 80%;
  padding: 10px 0;
  background-color: #333;
}

.sub-footer .container {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.sub-footer img {
  height: 16px;
}

.sub-footer a {
  color: #f00;
  margin-left: 6px;
}

/* Data gathering pop up */
.data-pop-db {
  z-index: 10000;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.data-pop-wb {
  padding: 2rem;
  background: white;
  width: 90%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: var(--shadow-heavy);
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
  margin: 1rem;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.data-pop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 1.5rem;
}

.dp-header-text h4 {
  color: var(--theme-black);
  font-weight: var(--fw-bold);
  margin: 0;
  font-size: 1.3rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: #f5f5f5;
  color: #333;
}

.modern-input,
.modern-select {
  border: 2px solid #e0e0e0 !important;
  border-radius: 12px !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  background: #f9f9f9 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.modern-input:focus,
.modern-select:focus {
  border-color: var(--theme-gold) !important;
  box-shadow: 0 0 0 3px rgba(255, 153, 60, 0.1) !important;
  background: white !important;
}

.modern-btn {
  background: var(--theme-gradient) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 1rem 2rem !important;
  font-weight: var(--fw-bold) !important;
  font-size: 1.1rem !important;
  color: white !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  margin: 1.5rem 0 1rem 0 !important;
  box-shadow: var(--shadow-medium) !important;
}

.modern-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-heavy) !important;
}

.form-group label {
  font-weight: var(--fw-semi-bold);
  color: var(--theme-black);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  display: block;
}

.form-group label i {
  margin-right: 8px;
  color: var(--theme-gold);
}

#loading {
  display: none;
  text-align: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 12px;
  margin-top: 1rem;
}

.spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.spinner i {
  font-size: 1.5rem;
  color: var(--theme-gold);
}

.spinner p {
  margin: 0;
  color: #666;
  font-weight: var(--fw-medium);
}

/* General section improvements */
.section {
  padding: 4rem 0;
  width: 100%;
  overflow-x: hidden;
}

.section:nth-child(even) {
  background: #f8f9fa;
}

/* Footer improvements */
.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
  width: 100%;
}

.footer-logo-div {
  text-align: center;
}

.footer-logo-div img {
  width: 120px;
  margin-bottom: 1rem;
  max-width: 100%;
  height: auto;
}

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li a {
  text-decoration: none;
  color: white;
  font-weight: var(--fw-medium);
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  white-space: nowrap;
}

.footer-nav li a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.footer-nav li a i {
  margin-right: 8px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--theme-gold);
  transform: translateY(-3px);
  color: white;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .data-pop-wb {
    width: 95%;
    padding: 1.5rem;
    margin: 0.5rem;
  }

  .dp-header-text h4 {
    font-size: 1.1rem;
  }

  .secondary-title {
    font-size: 2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 10px;
  }
}

/* Old WhatsApp button styles removed - replaced with chat widget */

/* Contact Buttons Float - Left Side Above Chat */
.contact-buttons-float {
  position: fixed;
  bottom: 100px; /* Position above chat widget */
  left: 25px; /* Same left alignment as chat widget */
  z-index: 999; /* Lower than chat widget */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-heavy);
  text-decoration: none;
}

.contact-btn:hover::before {
  opacity: 1;
}

.call-btn {
  background: var(--theme-blue);
  color: white;
}

.whatsapp-btn-small {
  background: var(--theme-green);
  color: white;
}

/* Interactive Chat Widget - Bottom Left */
.chat-widget {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 1000; /* Higher than contact buttons */
  font-family: "Public Sans", sans-serif;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  position: relative;
  color: white;
  font-size: 24px;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.chat-toggle.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

.chat-notification {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4757;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  animation: bounce 1s infinite;
}

.chat-window {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 350px;
  height: 450px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0) translateY(50px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow: hidden;
  border: 1px solid #e5e5e5;
  z-index: 1001; /* Highest z-index */
}

.chat-window.active {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.chat-header {
  background: linear-gradient(135deg, var(--theme-black) 0%, #2c2866 100%);
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.chat-header-text h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.chat-status {
  font-size: 12px;
  opacity: 0.8;
  color: #4ade80;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.chat-body {
  height: 280px;
  padding: 0;
  background: #f8f9fa;
}

.chat-messages {
  height: 100%;
  overflow-y: auto;
  padding: 20px;
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 2px;
}

.message {
  margin-bottom: 15px;
  animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bot-message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.user-message {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.message-content {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  position: relative;
}

.bot-message .message-content {
  background: white;
  border: 1px solid #e5e5e5;
  border-bottom-left-radius: 4px;
}

.user-message .message-content {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  border-bottom-right-radius: 4px;
}

.message-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.message-time {
  font-size: 11px;
  color: #999;
  margin-top: 5px;
  padding: 0 4px;
}

.typing-dots {
  display: flex;
  gap: 3px;
  padding: 8px 0;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #999;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
  animation-delay: -0.32s;
}
.typing-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typing {
  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.chat-footer {
  background: white;
  border-top: 1px solid #e5e5e5;
  padding: 15px 20px 10px 20px;
}

.chat-input-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.chat-input {
  flex: 1;
  border: 1px solid #e5e5e5;
  border-radius: 25px;
  padding: 12px 16px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
  background: #f8f9fa;
}

.chat-input:focus {
  border-color: #25d366;
  background: white;
}

.chat-send {
  width: 40px;
  height: 40px;
  border: none;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 14px;
}

.chat-send:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.4);
}

.chat-powered {
  text-align: center;
  margin-top: 8px;
}

.chat-powered small {
  color: #999;
  font-size: 11px;
}

/* Mobile responsiveness for chat widget and contact buttons */
@media (max-width: 768px) {
  .contact-buttons-float {
    bottom: 90px; /* Adjust for mobile chat widget position */
    left: 20px;
    gap: 10px;
  }

  .contact-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .chat-widget {
    bottom: 20px;
    left: 20px;
  }

  .chat-toggle {
    width: 55px;
    height: 55px;
    font-size: 22px;
  }

  .chat-window {
    width: calc(100vw - 40px);
    max-width: 340px;
    height: 400px;
    bottom: 85px; /* Adjust for mobile */
  }

  .chat-body {
    height: 240px;
  }

  .chat-messages {
    padding: 15px;
  }

  .chat-header {
    padding: 12px 15px;
  }

  .chat-footer {
    padding: 12px 15px 8px 15px;
  }

  /* Hide contact buttons when chat is open on mobile to prevent clutter */
  .chat-window.active ~ .contact-buttons-float {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
}

/* Navigation improvements */
.modern-navbar {
  background: rgba(34, 35, 83, 0.95) !important;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  padding: 1rem 0;
  z-index: 1030 !important;
}

.navbar-collapse {
  z-index: 1031 !important;
}

/* Mobile navbar fixes */
@media (max-width: 991.98px) {
  .modern-navbar {
    background: rgba(34, 35, 83, 0.98) !important;
    backdrop-filter: blur(15px);
  }

  .navbar-collapse {
    background: rgba(34, 35, 83, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    margin-top: 10px;
    padding: 1rem;
    box-shadow: var(--shadow-medium);
  }

  .navbar-nav {
    text-align: center;
  }

  .modern-nav .nav-link {
    margin: 0.25rem 0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
  }

  .modern-cta-btn {
    margin-top: 1rem;
    width: 100%;
  }
}

.modern-nav .nav-link {
  font-weight: var(--fw-medium);
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 25px;
}

.modern-nav .nav-link:hover {
  background: rgba(255, 153, 60, 0.1);
  transform: translateY(-2px);
}

.modern-nav .nav-link i {
  margin-right: 8px;
  font-size: 14px;
}

.modern-cta-btn {
  background: var(--theme-gradient) !important;
  border: none;
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  font-weight: var(--fw-semi-bold);
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.modern-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Container improvements for mobile */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}
