/* ==========================================================================
   OmiAI Tech - Premium Custom Stylesheet (Extends Bootstrap 5.3)
   Creative, Vibrant, State-of-the-Art Design System
   Featuring Dynamic Mesh Gradients, Bold Typography, Glassmorphic 3D Cards & Micro-Animations
   ========================================================================== */

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

:root {
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Ultra-Vibrant Color Palette */
  --primary-rgb: 79, 70, 229;
  --primary-color: #6366f1; /* Indigo Electric */
  --primary-hover: #4f46e5;
  --secondary-rgb: 6, 182, 212;
  --secondary-color: #06b6d4; /* Electric Cyan */
  --accent-rgb: 168, 85, 247;
  --accent-color: #a855f7; /* Neon Violet */
  
  /* GovTech & Special Product Palette */
  --saffron-color: #ff9933;
  --amber-color: #f59e0b;
  --emerald-color: #10b981;
  --rose-color: #f43f5e;
  --cyan-bright: #00f2fe;
  
  --bg-dark-main: #060913;
  --bg-dark-secondary: #0d1322;
  --bg-dark-card: rgba(13, 19, 34, 0.82);
  
  --text-primary-dark: #f8fafc;
  --text-muted-dark: #94a3b8;
  
  --glass-bg: rgba(255, 255, 255, 0.035);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 25px 50px 0 rgba(0, 0, 0, 0.5);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 50px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark-main);
  color: var(--text-primary-dark);
  overflow-x: hidden;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   Typography & Vibrant Gradient Utilities
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6, .font-outfit {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.fw-black {
  font-weight: 900 !important;
}

.fw-extrabold {
  font-weight: 800 !important;
}

/* Glowing Text Gradients */
.text-gradient {
  background: linear-gradient(135deg, #818cf8 0%, #00f2fe 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.3));
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #00f2fe 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-saffron {
  background: linear-gradient(135deg, #ff9933 0%, #f59e0b 50%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #10b981 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Background Glass & Futuristic Cards */
.bg-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
}

.bg-dark-card {
  background: var(--bg-dark-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.bg-govtech-card {
  background: linear-gradient(145deg, rgba(13, 19, 34, 0.95), rgba(26, 36, 60, 0.9));
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 153, 51, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hover-lift {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
}

.hover-lift:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.3);
  border-color: rgba(99, 102, 241, 0.6) !important;
}

/* Glowing Border Effect */
.card-glow {
  position: relative;
  overflow: hidden;
}

.card-glow::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #6366f1, #00f2fe, #a855f7, transparent);
  opacity: 0.85;
}

.card-glow-saffron::before {
  background: linear-gradient(90deg, transparent, #ff9933, #f59e0b, #10b981, transparent);
  opacity: 0.95;
}

/* Spacing Utilities */
.section-padding {
  padding: 7rem 0;
}

.max-w-800 {
  max-width: 800px;
}

.max-w-700 {
  max-width: 700px;
}

/* Badges */
.badge-custom {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.badge-govtech {
  background: rgba(255, 153, 51, 0.18);
  border: 1px solid rgba(255, 153, 51, 0.45);
  color: #ffb74d;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(255, 153, 51, 0.25);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.8s infinite;
}

.pulse-dot-saffron {
  background-color: #ff9933;
  box-shadow: 0 0 0 0 rgba(255, 153, 51, 0.7);
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* --------------------------------------------------------------------------
   Navbar Styling
   -------------------------------------------------------------------------- */
.navbar-custom {
  background: rgba(6, 9, 19, 0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar-custom .navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

.navbar-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  display: inline-block;
}

.navbar-custom .nav-link {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: #00f2fe;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.navbar-custom .btn-nav {
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary-color) 0%, #4f46e5 100%);
  border: none;
  color: #ffffff;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 0.85rem 2.2rem;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
  transition: all 0.35s ease;
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(99, 102, 241, 0.6);
}

.btn-saffron {
  background: linear-gradient(135deg, #ff9933 0%, #f59e0b 100%);
  border: none;
  color: #060913;
  font-weight: 800;
  border-radius: var(--radius-pill);
  padding: 0.85rem 2.4rem;
  box-shadow: 0 10px 25px rgba(255, 153, 51, 0.4);
  transition: all 0.35s ease;
}

.btn-saffron:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(255, 153, 51, 0.6);
}

.btn-outline-custom {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f8fafc;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.85rem 2.2rem;
  transition: all 0.35s ease;
}

.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, #00f2fe 0%, #0284c7 100%);
  border: none;
  color: #060913;
  font-weight: 800;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 25px rgba(0, 242, 254, 0.35);
}

.btn-cyan:hover {
  background: linear-gradient(135deg, #0891b2 0%, #0369a1 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 242, 254, 0.5);
}

/* --------------------------------------------------------------------------
   Hero Section with Dynamic Mesh Background
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 9rem 0 6rem 0;
  position: relative;
  background: radial-gradient(circle at 15% 25%, rgba(99, 102, 241, 0.22) 0%, transparent 50%),
              radial-gradient(circle at 85% 75%, rgba(0, 242, 254, 0.18) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 60%);
}

.hero-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-img-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-img-box:hover img {
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   Icons & Key Metric Cards
   -------------------------------------------------------------------------- */
.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(0, 242, 254, 0.25));
  border: 1px solid rgba(99, 102, 241, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: #00f2fe;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.icon-box-saffron {
  background: linear-gradient(135deg, rgba(255, 153, 51, 0.28), rgba(245, 158, 11, 0.22));
  border: 1px solid rgba(255, 153, 51, 0.45);
  color: #ff9933;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.9rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   NBTribal 12-Step Desk Workflow Styling
   -------------------------------------------------------------------------- */
.desk-workflow-container {
  position: relative;
  padding-left: 20px;
}

.desk-timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 38px;
  width: 4px;
  background: linear-gradient(180deg, #ff9933 0%, #10b981 50%, #00f2fe 100%);
  border-radius: 4px;
  z-index: 1;
  box-shadow: 0 0 15px rgba(255, 153, 51, 0.4);
}

.desk-step-card {
  position: relative;
  z-index: 2;
  background: rgba(13, 19, 34, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.85rem;
  transition: all 0.35s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

.desk-step-card:hover {
  transform: translateX(8px);
  border-color: rgba(255, 153, 51, 0.6);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 153, 51, 0.25);
}

.desk-number-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9933 0%, #f59e0b 100%);
  color: #060913;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(255, 153, 51, 0.6);
}

.sms-notification-box {
  background: rgba(0, 0, 0, 0.55);
  border-left: 4px solid #10b981;
  border-radius: 10px;
  padding: 1rem 1.3rem;
  font-family: var(--font-main);
  font-size: 0.88rem;
  color: #f1f5f9;
  margin-top: 0.85rem;
  line-height: 1.65;
}

.sms-notification-box.rejected {
  border-left-color: #ef4444;
}

.sms-notification-box.warning {
  border-left-color: #f59e0b;
}

.desk-role-tag {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #00f2fe;
}

/* Interactive Filter Buttons */
.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 8px 22px rgba(99, 102, 241, 0.45);
}

.filter-btn.active-govtech {
  background: linear-gradient(135deg, #ff9933, #f59e0b);
  color: #060913;
  border-color: #ff9933;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(255, 153, 51, 0.45);
}

/* Project Estimator Card */
.calculator-card {
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(6, 9, 19, 0.98));
  backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
}

.calc-option {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.calc-option:hover,
.calc-option.selected {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.calc-total {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: #00f2fe;
  text-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

/* Modals & Forms */
.modal-content-custom {
  background: #0d1322;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  color: #f8fafc;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

/* Footer */
.footer-custom {
  background: #02040a;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 5.5rem 0 2.5rem 0;
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  display: block;
  margin-bottom: 0.65rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-link:hover {
  color: #00f2fe;
  transform: translateX(5px);
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 99;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  border: none;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  cursor: pointer;
}

#backToTop:hover {
  transform: translateY(-5px);
  background: var(--primary-hover);
  box-shadow: 0 16px 30px rgba(99, 102, 241, 0.5);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 7rem 0 4rem 0;
  }
  .section-padding {
    padding: 5rem 0;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
  }
  .stat-item:last-child {
    border-bottom: none;
  }
}
