/* ==========================================================================
   Axis IT Solutions - Enterprise UI/UX Design System & Modern CSS3
   High-Tech Cybersecurity & Systems Integration Aesthetics
   ========================================================================== */

:root {
  --cyber-primary: #1C6786;
  --cyber-primary-hover: #15516b;
  --cyber-cyan: #00E5FF;
  --cyber-teal: #0EA5E9;
  --cyber-dark-navy: #0A192F;
  --cyber-slate-900: #07111E;
  --cyber-slate-800: #0E1D31;
  --cyber-slate-700: #1B2E4B;
  --cyber-success: #10B981;
  --cyber-warning: #F59E0B;
  --cyber-danger: #EF4444;
  
  --glass-bg-light: rgba(255, 255, 255, 0.88);
  --glass-border-light: rgba(28, 103, 134, 0.18);
  --glass-shadow-light: 0 10px 30px rgba(0, 0, 0, 0.05);

  --glass-bg-dark: rgba(14, 29, 49, 0.85);
  --glass-border-dark: rgba(0, 229, 255, 0.2);
  --glass-shadow-dark: 0 12px 36px rgba(0, 0, 0, 0.35);

  --radius-card: 16px;
  --radius-pill: 9999px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #0A192F;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #1C6786 0%, #00E5FF 100%);
  border-radius: 5px;
  border: 2px solid #0A192F;
}
::-webkit-scrollbar-thumb:hover {
  background: #00E5FF;
}

/* 2. Top Scroll Progress Indicator Bar */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1060;
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00E5FF 0%, #1C6786 50%, #38BDF8 100%);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
  transition: width 0.05s ease-out;
}

/* 3. Live Announcement Bar Enhancement */
.notification-bar {
  background: linear-gradient(90deg, #07111E 0%, #0E2338 50%, #07111E 100%) !important;
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  font-size: 0.84rem;
  letter-spacing: 0.3px;
}
.live-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
  margin-right: 6px;
  vertical-align: middle;
}
@keyframes pulseGreen {
  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 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* 4. Modern Glassmorphic Navbar */
.navbar-dark.bg-dark-navy {
  background: rgba(10, 25, 47, 0.94) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}
.navbar-scrolled {
  background: rgba(7, 17, 30, 0.98) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  border-bottom-color: rgba(0, 229, 255, 0.2) !important;
}

/* Nav links styling with glowing underline effect */
.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.55rem 0.95rem !important;
  position: relative;
  transition: color 0.25s ease;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background: var(--cyber-cyan);
  transition: width 0.3s ease, left 0.3s ease;
  box-shadow: 0 0 8px var(--cyber-cyan);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
  left: 10%;
}
.navbar-nav .nav-link.active {
  color: var(--cyber-cyan) !important;
  font-weight: 600;
}

/* Dropdown Menu Glassmorphism */
.navbar-nav .dropdown-menu {
  background: rgba(14, 29, 49, 0.96) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  animation: dropdownFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.navbar-nav .dropdown-item {
  color: #E2E8F0;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}
.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item.active {
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyber-cyan);
  transform: translateX(4px);
}

/* 5. Cybernetic Background Grid & Circuit Overlay */
.cyber-circuit-bg {
  position: relative;
  background-color: #0A192F;
  background-image: url('../assets/svg/circuit-bg.svg');
  background-repeat: repeat;
  background-size: 400px 400px;
}
.cyber-circuit-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(28, 103, 134, 0.35) 0%, rgba(10, 25, 47, 0.95) 75%);
  pointer-events: none;
}

/* 6. Floating Action Speed-Dial / Command Dock */
.floating-action-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1040;
}
.dock-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
  position: relative;
  text-decoration: none;
}
.dock-btn:hover {
  transform: scale(1.12);
}
.dock-btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff !important;
  font-size: 1.45rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
.dock-btn-calc {
  background: linear-gradient(135deg, #00E5FF 0%, #1C6786 100%);
  color: #fff !important;
  font-size: 1.25rem;
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.35);
}
.dock-btn-phone {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  color: #fff !important;
  font-size: 1.25rem;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}
.dock-btn-chat {
  background: linear-gradient(135deg, #1B6685 0%, #0D2233 100%);
  color: #fff !important;
  font-size: 1.3rem;
  box-shadow: 0 6px 20px rgba(27, 102, 133, 0.45);
  border: 1px solid rgba(0, 229, 255, 0.4);
  position: relative;
}
.dock-btn-chat:hover {
  transform: scale(1.12);
  border-color: #00E5FF;
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.45);
}
.dock-btn-chat .launcher-icon-close {
  display: none;
}
.dock-btn-chat.active .launcher-icon-chat {
  display: none;
}
.dock-btn-chat.active .launcher-icon-close {
  display: inline-block;
}
.dock-btn-top {
  background: #0E1D31;
  color: var(--cyber-cyan) !important;
  border: 1px solid rgba(0, 229, 255, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.25s ease;
}
.dock-btn-top.show {
  opacity: 1;
  visibility: visible;
}

/* Suppress any standalone duplicate floating widget container to prevent overlap */
.axis-floating-widgets {
  display: none !important;
}

/* Tooltip for Dock Buttons */
.dock-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 60px;
  background: rgba(10, 25, 47, 0.95);
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.dock-btn:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* 7. Interactive CCTV Storage & Bandwidth Calculator Widget */
.calc-widget-container {
  background: linear-gradient(145deg, #0E1D31 0%, #07111E 100%);
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 20px;
  padding: 36px 30px;
  color: #fff;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.calc-widget-container::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.calc-slider-group {
  margin-bottom: 24px;
}
.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.calc-slider-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.calc-slider-val-badge {
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid var(--cyber-cyan);
  color: var(--cyber-cyan);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
}
.cyber-range-input {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #1B2E4B;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.cyber-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00E5FF;
  border: 3px solid #0E1D31;
  box-shadow: 0 0 12px #00E5FF;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.cyber-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Resolution & Codec Toggle Pills */
.calc-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}
.calc-pill-btn {
  background: #14243B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  padding: 10px 14px;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.88rem;
  font-weight: 600;
}
.calc-pill-btn:hover {
  border-color: rgba(0, 229, 255, 0.4);
  color: #fff;
  background: #1B2E4B;
}
.calc-pill-btn.active {
  background: rgba(0, 229, 255, 0.2);
  border-color: var(--cyber-cyan);
  color: var(--cyber-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}

/* Result Dashboard Box */
.calc-results-box {
  background: rgba(7, 17, 30, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  position: relative;
}
.calc-storage-metric {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #FFFFFF 0%, #00E5FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}
.calc-bandwidth-metric {
  font-size: 1.6rem;
  font-weight: 800;
  color: #38BDF8;
}
.calc-recommendation-pill {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34D399;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 14px;
}

/* 8. Interactive Filter Tabs for Technology & Hardware */
.filter-tabs-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 35px;
}
.filter-tab-btn {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-color, #dee2e6);
  color: var(--text-body, #333);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-tab-btn:hover {
  border-color: var(--cyber-primary);
  color: var(--cyber-primary);
  transform: translateY(-2px);
}
.filter-tab-btn.active {
  background: var(--cyber-primary);
  border-color: var(--cyber-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(28, 103, 134, 0.3);
}

/* Filter Card Transition */
.filterable-item {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.filterable-item.is-hidden {
  display: none !important;
  opacity: 0;
  transform: scale(0.95);
}

/* 9. Security Readiness Scorecard Modal / Card */
.scorecard-card {
  background: linear-gradient(145deg, #0A192F 0%, #0E2338 100%);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 20px;
  padding: 30px;
  color: #fff;
}
.scorecard-question-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
  transition: border-color 0.2s ease;
}
.scorecard-question-box:hover {
  border-color: rgba(0, 229, 255, 0.4);
}
.scorecard-question-box input[type="radio"] {
  accent-color: var(--cyber-cyan);
}

/* 10. Modern Toast Notification */
.axis-toast-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.axis-toast {
  background: #0E1D31;
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  pointer-events: auto;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 380px;
}
@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 11. Ripple Effect on Buttons */
.axis-ripple-btn {
  position: relative;
  overflow: hidden;
}
.axis-ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleAnimation 0.6s linear;
  pointer-events: none;
}
@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 12. Laser Scan Effect on Preview Images */
.laser-scan-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.laser-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #00E5FF 50%, transparent 100%);
  box-shadow: 0 0 12px #00E5FF;
  animation: scanLaser 3.5s infinite ease-in-out;
  pointer-events: none;
  opacity: 0.85;
}
@keyframes scanLaser {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* 13. High Trust Seals & Badges Layout */
.trust-seals-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.trust-seal-item {
  width: 82px;
  height: 82px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}
.trust-seal-item:hover {
  transform: scale(1.1) rotate(2deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .calc-storage-metric {
    font-size: 2.3rem;
  }
  .floating-action-dock {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }
  .dock-btn {
    width: 44px;
    height: 44px;
  }
  .dock-btn::before {
    display: none; /* Hide hover tooltips on touch devices */
  }
}

/* 14. Cyber Icon Badges & Modern Industry Cards */
.cyber-icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12) 0%, rgba(28, 103, 134, 0.22) 100%);
  border: 1px solid rgba(0, 229, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.12);
}
.service-card:hover .cyber-icon-badge,
.industry-card:hover .cyber-icon-badge {
  transform: translateY(-4px) scale(1.08);
  border-color: #00E5FF;
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.3);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2) 0%, rgba(28, 103, 134, 0.35) 100%);
}

.industry-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #1C6786, #00E5FF);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.industry-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 16px 32px rgba(10, 25, 47, 0.12);
}
.industry-card:hover::before {
  opacity: 1;
}
.industry-card .industry-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(28, 103, 134, 0.06);
  border: 1px solid rgba(28, 103, 134, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.industry-card:hover .industry-icon-wrap {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.4);
  transform: scale(1.1);
}
.industry-card .industry-icon-wrap img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

