@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --bg-dark: #07090e;
  --bg-surface: #0e121b;
  --bg-glass: rgba(14, 18, 27, 0.75);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-emerald: rgba(0, 255, 102, 0.3);
  --color-emerald: #00ff66;
  --color-emerald-glow: rgba(0, 255, 102, 0.4);
  --color-cyan: #00e5ff;
  --color-cyan-glow: rgba(0, 229, 255, 0.35);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Hide Hamburger Menu Toggler Completely */
.navbar-toggler {
  display: none !important;
}

/* Glassmorphism Components */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: var(--color-emerald);
  box-shadow: 0 0 25px var(--color-emerald-glow);
  transform: translateY(-4px);
}

.glass-card-static {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
}

/* Special Offer Badge using exact color #00ff66 */
.badge-special-offer {
  background-color: #00ff66 !important;
  color: #000000 !important;
  font-weight: 800 !important;
  padding: 0.35rem 0.8rem !important;
  border-radius: 20px !important;
  letter-spacing: 0.5px !important;
  font-size: 0.75rem !important;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.4) !important;
  display: inline-block !important;
}

/* Buttons */
.btn-emerald {
  background: linear-gradient(135deg, #00ff66 0%, #00cc52 100%);
  color: #000000;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #33ff85 0%, #00ff66 100%);
  color: #000000;
  box-shadow: 0 0 20px var(--color-emerald-glow);
  transform: translateY(-2px);
}

.btn-outline-glass {
  background: transparent;
  color: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-outline-glass:hover {
  border-color: var(--color-emerald);
  color: var(--color-emerald);
  box-shadow: 0 0 15px var(--color-emerald-glow);
}

/* Form inputs - Prevent auto-zoom on mobile iOS */
.form-control-glass, .form-select-glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-select-glass option {
  background-color: #0e121b !important;
  color: #ffffff !important;
  padding: 10px !important;
}

.form-control-glass:focus, .form-select-glass:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-emerald);
  color: #ffffff;
  box-shadow: 0 0 15px var(--color-emerald-glow);
  outline: none;
}

/* Section tags & Glow text */
.section-tag {
  color: var(--color-emerald);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.5rem;
}

.text-emerald-glow {
  color: var(--color-emerald);
  text-shadow: 0 0 15px var(--color-emerald-glow);
}

.text-cyan-glow {
  color: var(--color-cyan);
  text-shadow: 0 0 15px var(--color-cyan-glow);
}

.text-emerald {
  color: var(--color-emerald) !important;
}

.text-cyan {
  color: var(--color-cyan) !important;
}

/* Icon box */
.icon-box-emerald {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid var(--border-emerald);
  color: var(--color-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.icon-box-cyan {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
  padding: 4rem 0;
  background: radial-gradient(circle at 10% 20%, rgba(0, 255, 102, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(0, 229, 255, 0.08) 0%, transparent 40%);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid var(--border-emerald);
  color: var(--color-emerald);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Navbar Logo & Brand Name */
.brand-logo-icon {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 255, 102, 0.4));
  transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-logo-icon {
  transform: scale(1.08);
}

.brand-name-main {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
}

.brand-name-sub {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 3.5px;
  line-height: 1;
  margin-top: 3px;
}

.navbar-brand .brand-sub-badge {
  background-color: var(--color-emerald) !important;
  color: #000000 !important;
  font-weight: 800 !important;
  padding: 0.25rem 0.5rem !important;
  border-radius: 6px !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.5px;
}

.navbar-custom {
  background: rgba(7, 9, 14, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-emerald) !important;
}

.floating-chat-btn {
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 16px !important;
  background: var(--color-emerald) !important;
  color: #000000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.6rem !important;
  box-shadow: 0 0 25px rgba(0, 255, 102, 0.6) !important;
  z-index: 9999999 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
}

.floating-chat-btn:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 0 35px rgba(0, 255, 102, 0.8) !important;
}

.mobile-bottom-nav {
  display: none !important;
}

/* Footer */
.footer-custom {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2rem;
}

/* ==========================================================================
   RESPONSIVE MOBILE VIEW OPTIMIZATIONS (Max-Width 991px & 576px)
   ========================================================================== */

@media (max-width: 991.98px) {
  /* Hide Cluttery Top Utility Bar on Mobile to match tehub.in clean top header */
  .bg-surface.py-2.border-bottom {
    display: none !important;
  }

  body {
    padding-bottom: 75px !important; /* Space for fixed bottom bar */
  }

  /* Show Floating WhatsApp / Chat Button ONLY on Mobile */
  .floating-chat-btn {
    position: fixed !important;
    bottom: 75px !important;
    right: 18px !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 14px !important;
    background: var(--color-emerald) !important;
    color: #000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    box-shadow: 0 0 25px rgba(0, 255, 102, 0.6) !important;
    z-index: 9999999 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
  }

  .floating-chat-btn:hover {
    transform: scale(1.08) !important;
    color: #000000 !important;
    box-shadow: 0 0 35px rgba(0, 255, 102, 0.8) !important;
  }

  /* Show Mobile Bottom Nav Dock ONLY on Mobile */
  .mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 62px !important;
    background: #07090e !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    z-index: 99999 !important;
    padding: 0 4px !important;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.95) !important;
  }

  .mobile-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #6b7280 !important;
    text-decoration: none !important;
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    transition: all 0.2s ease !important;
    width: 20% !important;
    text-align: center !important;
  }

  .mobile-nav-item i {
    font-size: 1.25rem !important;
    margin-bottom: 3px !important;
  }

  .mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--color-emerald) !important;
  }

  .navbar-collapse {
    background: rgba(14, 18, 27, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.25rem;
    margin-top: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2.5rem 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }

  .display-5 {
    font-size: 1.9rem;
  }

  .display-6 {
    font-size: 1.6rem;
  }

  .manager-photo-frame img {
    max-height: 480px;
  }

  .filter-scroll-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .navbar-brand .brand-logo-text {
    font-size: 1.15rem !important;
  }

  .navbar-brand .brand-sub-badge {
    font-size: 0.68rem !important;
    padding: 0.2rem 0.4rem !important;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .glass-card-static, .glass-card {
    padding: 1.25rem !important;
  }

  /* Bank Partner Cards on Mobile (2 per row) */
  .bank-logo-box {
    width: 48px;
    height: 48px;
    margin-bottom: 0.4rem;
  }

  .bank-logo-box svg {
    width: 26px;
    height: 26px;
  }

  .bank-item .h6 {
    font-size: 0.8rem !important;
    line-height: 1.2;
    margin-bottom: 0.25rem !important;
  }

  .bank-item .badge {
    font-size: 0.65rem !important;
    padding: 0.25rem 0.4rem !important;
    white-space: normal;
  }

  .bank-item {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
}

/* ==========================================================================
   AI CHATBOT WIDGET STYLES
   ========================================================================== */

.chatbot-window {
  position: fixed !important;
  bottom: 85px !important;
  right: 20px !important;
  width: 360px !important;
  max-width: calc(100vw - 30px) !important;
  height: 480px !important;
  max-height: calc(100vh - 120px) !important;
  background: #0e121b !important;
  border: 2px solid #00ff66 !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.95), 0 0 35px rgba(0, 255, 102, 0.4) !important;
  display: none;
  flex-direction: column !important;
  z-index: 999999 !important;
}

.chatbot-window.active {
  display: flex !important;
}

.chatbot-header {
  background: linear-gradient(135deg, rgba(0, 255, 102, 0.15) 0%, rgba(0, 229, 255, 0.15) 100%);
  border-bottom: 1px solid var(--border-glass);
  padding: 14px 18px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #00ff66;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
}

.chatbot-avatar-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 255, 102, 0.6));
}

.chatbot-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
}

.chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}

.chat-bubble-bot {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: #f3f4f6;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble-user {
  background: linear-gradient(135deg, #00ff66 0%, #00cc52 100%);
  color: #000000;
  font-weight: 600;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-options-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.chat-option-pill {
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid var(--border-emerald);
  color: var(--color-emerald);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-option-pill:hover {
  background: var(--color-emerald);
  color: #000;
  box-shadow: 0 0 12px var(--color-emerald-glow);
}

.chatbot-footer {
  padding: 12px;
  border-top: 1px solid var(--border-glass);
  background: rgba(7, 9, 14, 0.8);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.chatbot-input-group {
  display: flex;
  gap: 8px;
}

.chatbot-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.85rem;
}

.chatbot-input:focus {
  outline: none;
  border-color: var(--color-emerald);
}

.chatbot-send-btn {
  background: var(--color-emerald);
  color: #000;
  border: none;
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
}

.send-whatsapp-history-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  width: 100%;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

