/* ==========================================================================
   Nexus IT Solutions - Cloud Premium UI/UX Design System
   Modern, High-Converting, Enterprise-Grade Cloud Styles
   ========================================================================== */

:root {
  --nexus-primary: #073f8c;
  --nexus-primary-hover: #052e66;
  --nexus-primary-light: #e8f0fe;
  --nexus-secondary: #0b1f3a;
  --nexus-accent: #ffb703;
  --nexus-accent-hover: #f59e0b;
  --nexus-cyan: #0ea5e9;
  --nexus-whatsapp: #25d366;
  --nexus-whatsapp-hover: #20ba5a;
  --nexus-dark: #071426;
  --nexus-surface: #ffffff;
  --nexus-bg-slate: #f8fafc;
  --nexus-bg-alt: #f1f5f9;
  --nexus-border: #e2e8f0;
  --nexus-border-light: #f1f5f9;
  --nexus-text-main: #1e293b;
  --nexus-text-muted: #64748b;
  --nexus-shadow-sm: 0 2px 8px rgba(11, 31, 58, 0.04);
  --nexus-shadow-md: 0 8px 24px rgba(11, 31, 58, 0.08);
  --nexus-shadow-lg: 0 16px 40px rgba(11, 31, 58, 0.12);
  --nexus-shadow-hover: 0 20px 45px rgba(7, 63, 140, 0.16);
  --nexus-radius-sm: 8px;
  --nexus-radius-md: 14px;
  --nexus-radius-lg: 20px;
  --nexus-radius-xl: 28px;
}

/* Typography & Base */
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: var(--nexus-text-main) !important;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Poppins', sans-serif !important;
  color: var(--nexus-secondary) !important;
  font-weight: 700;
  letter-spacing: -0.3px;
}

a {
  color: var(--nexus-primary);
  text-decoration: none !important;
  transition: all 0.25s ease-in-out;
}
a:hover {
  color: var(--nexus-primary-hover);
  text-decoration: none !important;
}

/* Navbar Upgrades */
.cloud-navbar {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px rgba(7, 31, 64, 0.06);
  padding: 12px 0;
  transition: all 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 1040;
}

.cloud-navbar .navbar-brand img {
  height: 44px;
  width: auto;
  transition: transform 0.2s ease;
}
.cloud-navbar .navbar-brand:hover img {
  transform: scale(1.02);
}

.cloud-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #334155 !important;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.cloud-nav-link:hover,
.cloud-nav-link.active {
  color: var(--nexus-primary) !important;
  background: var(--nexus-primary-light);
  font-weight: 600;
}

/* Buttons */
.btn-nexus-primary {
  background: linear-gradient(135deg, #073f8c 0%, #0a52b8 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(7, 63, 140, 0.3);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-nexus-primary:hover {
  background: linear-gradient(135deg, #052e66 0%, #073f8c 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(7, 63, 140, 0.4);
}

.btn-nexus-gold {
  background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%) !important;
  color: #0b1f3a !important;
  border: none !important;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(255, 183, 3, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-nexus-gold:hover {
  background: linear-gradient(135deg, #fb8500 0%, #ffb703 100%) !important;
  color: #0b1f3a !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 183, 3, 0.45);
}

.btn-nexus-whatsapp {
  background: #25d366 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-nexus-whatsapp:hover {
  background: #20ba5a !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-nexus-outline-light {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-nexus-outline-light:hover {
  background: #ffffff !important;
  color: var(--nexus-secondary) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
}

/* Clean Simple Hero Section */
.cloud-hero-gradient {
  background: #0d1b2a;
  color: #ffffff;
  position: relative;
  padding: 55px 0 50px 0;
}
.cloud-hero-gradient .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 183, 3, 0.15);
  border: 1px solid rgba(255, 183, 3, 0.35);
  color: #ffb703;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.cloud-hero-gradient h1 {
  color: #ffffff !important;
  font-size: 2.4rem;
  line-height: 1.25;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 14px;
}
@media (min-width: 992px) {
  .cloud-hero-gradient h1 {
    font-size: 2.85rem;
  }
}
.cloud-hero-gradient .hero-subtitle {
  color: #ffb703;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.cloud-hero-gradient .hero-desc {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 22px;
}

/* Simple Clean Demo Form Card */
.cloud-hero-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid #e2e8f0;
  position: relative;
  z-index: 2;
}
.cloud-hero-card .form-title {
  color: var(--nexus-secondary) !important;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.cloud-hero-card .form-subtitle {
  color: var(--nexus-text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.cloud-hero-card .form-control,
.cloud-hero-card .form-select {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  color: #1e293b;
  transition: all 0.2s ease;
}
.cloud-hero-card .form-control:focus,
.cloud-hero-card .form-select:focus {
  border-color: var(--nexus-primary);
  box-shadow: 0 0 0 3px rgba(7, 63, 140, 0.15);
}

/* Trust Pill Items */
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 500;
}

/* Card Enhancements */
.nexus-card {
  background: #ffffff;
  border: 1px solid var(--nexus-border);
  border-radius: var(--nexus-radius-md);
  padding: 28px 24px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.nexus-card:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: var(--nexus-shadow-hover);
}

.nexus-card-top-border {
  border-top: 4px solid var(--nexus-primary) !important;
}
.nexus-card-top-gold {
  border-top: 4px solid var(--nexus-accent) !important;
}
.nexus-card-top-green {
  border-top: 4px solid var(--nexus-whatsapp) !important;
}

/* Modern Gradient Icon Badges */
.icon-badge-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  transition: transform 0.25s ease;
}
.nexus-card:hover .icon-badge-box {
  transform: scale(1.08);
}
.icon-badge-blue {
  background: linear-gradient(135deg, #e0ecff 0%, #f0f7ff 100%);
  color: var(--nexus-primary);
}
.icon-badge-gold {
  background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
  color: #d97706;
}
.icon-badge-green {
  background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
  color: #16a34a;
}
.icon-badge-cyan {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  color: #0284c7;
}
.icon-badge-purple {
  background: linear-gradient(135deg, #f3e8ff 0%, #faf5ff 100%);
  color: #9333ea;
}

/* Section Header Badges */
.section-badge {
  display: inline-block;
  background: rgba(7, 63, 140, 0.08);
  color: var(--nexus-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.section-badge-white {
  background: rgba(255, 255, 255, 0.15);
  color: #ffb703;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Comparison Tables */
.nexus-table-wrapper {
  background: #ffffff;
  border-radius: var(--nexus-radius-lg);
  border: 1px solid var(--nexus-border);
  box-shadow: var(--nexus-shadow-md);
  overflow: hidden;
}
.nexus-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}
.nexus-table th {
  background: #073f8c;
  color: #ffffff !important;
  font-weight: 600;
  padding: 16px 20px;
  font-size: 14px;
  letter-spacing: 0.3px;
  border: none;
}
.nexus-table th:first-child {
  background: #0b1f3a;
}
.nexus-table td {
  padding: 16px 20px;
  vertical-align: middle;
  border-top: 1px solid #edf2f7;
  color: #334155;
  font-size: 14.5px;
}
.nexus-table tr:hover td {
  background-color: #f8fafc;
}

/* Badge Pill for Tables */
.badge-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #dcfce7;
  color: #15803d;
  font-weight: 600;
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid #bbf7d0;
}
.badge-cross {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 500;
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid #fecaca;
}

/* FAQ Accordions */
.nexus-accordion .accordion-item {
  border: 1px solid var(--nexus-border) !important;
  border-radius: var(--nexus-radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--nexus-shadow-sm);
  transition: all 0.2s ease;
}
.nexus-accordion .accordion-item:hover {
  border-color: #cbd5e1 !important;
  box-shadow: var(--nexus-shadow-md);
}
.nexus-accordion .accordion-button {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--nexus-secondary);
  background: #ffffff;
  padding: 18px 22px;
  box-shadow: none !important;
}
.nexus-accordion .accordion-button:not(.collapsed) {
  background: #f0f5ff;
  color: var(--nexus-primary);
  font-weight: 700;
  border-bottom: 1px solid #e2e8f0;
}
.nexus-accordion .accordion-button::after {
  background-size: 14px;
}
.nexus-accordion .accordion-body {
  padding: 20px 22px;
  font-size: 14.5px;
  color: #475569;
  line-height: 1.75;
}

/* Steps Process */
.step-number-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #073f8c 0%, #0a52b8 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(7, 63, 140, 0.25);
  margin-bottom: 16px;
}

/* CTA Highlight Banner */
.nexus-cta-banner {
  background: linear-gradient(135deg, #07172e 0%, #073f8c 100%);
  border-radius: var(--nexus-radius-xl);
  padding: 50px 40px;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(7, 63, 140, 0.28);
  position: relative;
  overflow: hidden;
}
.nexus-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Footer Upgrades */
.cloud-footer {
  background: #071426 !important;
  color: #94a3b8;
  padding-top: 60px;
  padding-bottom: 30px;
  font-size: 14px;
}
.cloud-footer h4,
.cloud-footer h5,
.cloud-footer .footer-title {
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.2px;
}
.cloud-footer a {
  color: #cbd5e1;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.cloud-footer a:hover {
  color: #ffb703;
  padding-left: 3px;
}
.cloud-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  margin-top: 40px;
  font-size: 13px;
}

/* Floating Sticky Contact Widget */
.floating-cloud-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating-cta-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.floating-cta-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.floating-cta-whatsapp {
  background: #25d366;
}
.floating-cta-call {
  background: #073f8c;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .cloud-hero-gradient {
    padding: 50px 0 40px 0;
  }
  .cloud-hero-card {
    margin-top: 30px;
    padding: 24px;
  }
  .nexus-cta-banner {
    padding: 36px 24px;
    text-align: center;
  }
}

/* ==========================================================================
   Compatibility & Component Normalization Overrides
   ========================================================================== */

.custom-card-hover,
.transition-hover {
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  border-radius: var(--nexus-radius-md) !important;
  border: 1px solid var(--nexus-border) !important;
  background: #ffffff !important;
}
.custom-card-hover:hover,
.transition-hover:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--nexus-shadow-hover) !important;
  border-color: #cbd5e1 !important;
}

.step-circle {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #073f8c 0%, #0a52b8 100%) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800 !important;
  font-size: 17px !important;
  box-shadow: 0 6px 16px rgba(7, 63, 140, 0.25) !important;
}

.icon-box-cloud {
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #e0ecff 0%, #f0f7ff 100%) !important;
  color: #073f8c !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  margin-bottom: 16px !important;
}

/* Comparison Table Normalization */
.comparison-table,
table.table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: var(--nexus-shadow-md) !important;
  border: 1px solid var(--nexus-border) !important;
  background: #ffffff !important;
}
.comparison-table thead th,
table.table thead th {
  background: #073f8c !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 16px 20px !important;
  font-size: 14px !important;
  border: none !important;
}
.comparison-table thead tr th:first-child,
table.table thead tr th:first-child {
  background: #0b1f3a !important;
}
.comparison-table tbody td,
table.table tbody td {
  padding: 16px 20px !important;
  vertical-align: middle !important;
  border-top: 1px solid #edf2f7 !important;
  color: #334155 !important;
  font-size: 14.5px !important;
}
.comparison-table tbody tr:hover td,
table.table tbody tr:hover td {
  background-color: #f8fafc !important;
}

/* Custom Accordion Normalization */
.custom-accordion .accordion-item,
.accordion .accordion-item {
  border: 1px solid var(--nexus-border) !important;
  border-radius: var(--nexus-radius-md) !important;
  margin-bottom: 12px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-shadow: var(--nexus-shadow-sm) !important;
  transition: all 0.2s ease !important;
}
.custom-accordion .accordion-item:hover,
.accordion .accordion-item:hover {
  border-color: #cbd5e1 !important;
  box-shadow: var(--nexus-shadow-md) !important;
}
.custom-accordion .accordion-button,
.accordion .accordion-button {
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0b1f3a !important;
  background: #ffffff !important;
  padding: 18px 22px !important;
  box-shadow: none !important;
}
.custom-accordion .accordion-button:not(.collapsed),
.accordion .accordion-button:not(.collapsed) {
  background: #f0f5ff !important;
  color: #073f8c !important;
  font-weight: 700 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
.custom-accordion .accordion-body,
.accordion .accordion-body {
  padding: 20px 22px !important;
  font-size: 14.5px !important;
  color: #475569 !important;
  line-height: 1.8 !important;
}
