/* ============================================================
   Credora Bootstrap 5 Custom Theme
   Exact colors from user specification + enterprise polish
   ============================================================ */

/* ---- Bootstrap CSS Variable Overrides ---- */
:root {
  /* Core palette */
  --bs-primary: #0078D4;           /* Azure Blue */
  --bs-primary-rgb: 0, 120, 212;

  --bs-dark: #1A1A2E;              /* Deep Navy */
  --bs-dark-rgb: 26, 26, 46;

  --bs-body-bg: #F0F2F5;           /* Cool Light Gray */
  --bs-body-color: #212529;

  --bs-border-color: #E0E0E0;      /* Light Gray Border */

  /* Additional Credora tokens */
  --credora-white: #FFFFFF;
  --credora-azure: #0078D4;
  --credora-navy: #1A1A2E;
  --credora-border: #E0E0E0;
  --credora-gray: #F0F2F5;

  /* Savings / positive accent (light use of blue for now) */
  --credora-savings: #0078D4;
}

/* ---- Global Base Improvements ---- */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Make cards and panels feel more premium */
.card {
  border: 1px solid var(--credora-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Deep Navy sections / headers */
.bg-navy {
  background-color: var(--credora-navy) !important;
  color: var(--credora-white);
}

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

.bg-azure {
  background-color: var(--credora-azure) !important;
  color: white;
}

/* Primary buttons - strong Azure */
.btn-primary {
  background-color: var(--credora-azure);
  border-color: var(--credora-azure);
  font-weight: 600;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.btn-primary:hover {
  background-color: #0066b3;
  border-color: #0066b3;
}

/* Outline variant for secondary actions */
.btn-outline-primary {
  color: var(--credora-azure);
  border-color: var(--credora-azure);
}

.btn-outline-primary:hover {
  background-color: var(--credora-azure);
  color: white;
}

/* ---- Calculator Specific Styles ---- */
.calculator-card {
  background: white;
  border: 1px solid var(--credora-border);
  border-radius: 12px;
}

.result-highlight {
  background: linear-gradient(90deg, #E8F4FF 0%, #F0F8FF 100%);
  border-left: 5px solid var(--credora-azure);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 1.1rem;
}

.savings-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--credora-azure);
  line-height: 1;
}

.metric-label {
  font-size: 0.875rem;
  color: #555;
  font-weight: 500;
}

/* Range sliders - nicer look */
input[type="range"] {
  accent-color: var(--credora-azure);
}

/* Form improvements */
.form-control:focus,
.form-select:focus {
  border-color: var(--credora-azure);
  box-shadow: 0 0 0 0.2rem rgba(0, 120, 212, 0.15);
}

/* Trust / logo bar */
.trust-logo {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.2s ease;
}

.trust-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Pricing card - Enterprise only */
.pricing-card {
  border: 2px solid var(--credora-azure);
  position: relative;
}

.pricing-card::before {
  content: "RECOMMENDED FOR ENTERPRISE";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--credora-azure);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

/* Navbar */
.navbar {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Footer */
footer {
  background: var(--credora-navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

footer a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

footer a:hover {
  color: white;
}

/* Utility: subtle section divider */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--credora-border), transparent);
}

/* Responsive calculator grid */
@media (max-width: 768px) {
  .savings-value {
    font-size: 1.75rem;
  }
}


.logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.trust{
  background: #f0f2f5;
}

.company-card {
    width: 220px;
    height: 110px;
    margin: 0 15px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
    transition: .3s;
}

.company-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.company-logo {
    max-width: 170px;
    max-height: 70px;
    object-fit: contain;
    transition: .3s;
}

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

/* Infinite Animation */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.logo-slider:hover .logo-track {
    animation-play-state: paused;
}


.navbar-logo{
    width:60px;
    height:60px;
    object-fit:contain;
    image-rendering:auto;
    display:block;
    flex-shrink:0;
  border-radius:50%;
}

.navbar-brand{
    display:flex;
    align-items:center;
    gap:10px;
}


.text-unified{
    color:#2563eb;
}

.gradient-green{
    background: linear-gradient(90deg,#14b8a6,#22c55e);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.gradient-purple{
    background: linear-gradient(90deg,#7c3aed,#4f46e5);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}



 .cbc-heading {
    color: #14213d;
  }

  .cbc-highlight {
    font-weight: 700;
  }

  .cbc-highlight-blue {
    color: #2f6fed;
    text-decoration: underline;
    text-decoration-color: #2f6fed;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
  }

  .cbc-subtext {
    color: #667085;
  }

  .cbc-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(20, 33, 61, 0.06);
  }

  .cbc-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .cbc-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .cbc-icon-blue {
    background: #e7f0ff;
    color: #2f6fed;
  }

  .cbc-icon-purple {
    background: #f1eafe;
    color: #8a5cf6;
  }

  .cbc-icon-teal {
    background: #e1f7f0;
    color: #12b76a;
  }

  .cbc-number {
    font-size: 20px;
    font-weight: 700;
  }

  .cbc-number-blue {
    color: #a9c6ff;
  }

  .cbc-number-purple {
    color: #cbb8fb;
  }

  .cbc-number-teal {
    color: #8fe0c3;
  }

  .cbc-card-title {
    color: #14213d;
    margin-bottom: 8px;
  }

  .cbc-card-underline {
    display: inline-block;
    width: 28px;
    height: 3px;
    border-radius: 2px;
    margin-bottom: 12px;
  }

  .cbc-underline-blue {
    background: #2f6fed;
  }

  .cbc-underline-purple {
    background: #8a5cf6;
  }

  .cbc-underline-teal {
    background: #12b76a;
  }

  .cbc-card-text {
    color: #667085;
    line-height: 1.6;
  }


  .section-title-divider{
    position: relative;
    width: 90px;
    height: 4px;
    background: #9ec5fe;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.section-title-divider::before{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 8px;
    background: #0d6efd;
    border-radius: 50px;
}




