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

/* Brand Design Tokens from Logo (Light Mode Theme) */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.75);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-footer: #08122d; /* Dark navy footer for premium corporate structure */
  
  --accent-cyan: #00abec; /* Logo Cyan */
  --accent-purple: #0056b3; /* Logo Royal Blue */
  --accent-blue: #007cc2; /* Median Brand Blue */
  --accent-teal-dark: #ffffff; /* Mockup Dark Teal */
  --accent-lime: #0f79d6; /* Mockup Lime Green */
  
  --text-primary: #0f172a; /* Slate 900 */
  --text-secondary: #475569; /* Slate 600 */
  --text-muted: #94a3b8; /* Slate 400 */
  
  --border-color: rgba(15, 23, 42, 0.08);
  --border-glow-cyan: rgba(0, 171, 236, 0.2);
  --border-glow-purple: rgba(0, 86, 179, 0.2);
  
  --font-heading: 'Canva Sans', sans-serif;
  --font-body: 'Canva Sans', sans-serif;
  
  --glow-shadow-cyan: 0 4px 20px rgba(0, 171, 236, 0.12);
  --glow-shadow-purple: 0 4px 20px rgba(0, 86, 179, 0.12);
}

/* Disable all animations and transitions. */
*,
*::before,
*::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* Base Styles */
html {
  scroll-behavior: auto;
  scroll-padding-top: 80px;
  background-color: #ffffff;
}

body {
  background-color: #ffffff;
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  margin: 0;
}

p,
li,
label,
span,
.card-body,
.text-secondary,
.text-muted,
.footer-link,
.section-copy,
.product-card p,
.team-member-card p,
.review-card p,
.about-page p,
.about-page li,
.about-page .lead,
.about-page .text-secondary,
.about-page .about-card p,
.about-page .about-value-card p,
.about-page .about-mini-card p,
.about-page .team-copy p,
.about-page .team-copy .text-secondary,
.about-page .team-title,
.about-page .about-stat .stat-label {
  text-align: justify;
}

h1, h2, h3, h4, h5, h6,
.hero-heading,
.product-title-visible,
.product-card-title,
.section-heading,
.heading-left,
.card-title,
.modal-title {
  text-align: left;
}

.page-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.is-loaded .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Fallback: If JavaScript fails to load or is blocked (common on some hosts/CSPs),
   hide the loader after 8s so the page becomes usable. JS will still remove it
   immediately when it runs (adds `is-loaded` to body). */
.page-loader {
  animation: lh-fallback-hide 4s linear forwards;
}

@keyframes lh-fallback-hide {
  0% { opacity: 1; visibility: visible; }
  95% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

.loader-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loader-logo {
  width: min(260px, 52vw);
  height: auto;
  animation: logoPulse 0.9s ease-in-out infinite alternate !important;
}

.loader-bar {
  width: min(260px, 58vw);
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 35%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  animation: loaderRun 0.9s ease-in-out infinite !important;
}

@keyframes logoPulse {
  from { transform: scale(0.96); opacity: 0.82; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes loaderRun {
  0% { transform: translateX(-120%); }
  50% { transform: translateX(150%); }
  100% { transform: translateX(350%); }
}

.container,
.container-fluid,
.navbar > .container,
.navbar > .container-fluid {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Background Gradients (Soft pastel washes for light mode) */
.bg-glow-sphere-1 {
  position: absolute;
  top: -8%;
  right: 4%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 171, 236, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.bg-glow-sphere-2 {
  position: absolute;
  top: 42%;
  left: -8%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 86, 179, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.bg-glow-sphere-3 {
  position: absolute;
  bottom: -8%;
  right: 5%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 124, 194, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.about-page {
  position: relative;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.about-hero {
  padding: 2rem 0 0.5rem;
}

.about-hero h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.08;
  color: var(--text-primary);
}

.about-hero-card,
.about-card,
.about-value-card,
.about-mini-card {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(0, 86, 179, 0.2);
}

.about-hero-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(0, 171, 236, 0.08), rgba(0, 86, 179, 0.08));
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.stat-number {
  font-size: clamp(1.6rem, 2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.about-card {
  padding: 2rem;
}

.about-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 171, 236, 0.12), rgba(0, 86, 179, 0.12));
  color: var(--accent-blue);
  font-size: 1.5rem;
}

.about-card h2,
.about-card h3,
.about-value-card h3,
.about-mini-card h3 {
  color: #ffffff;
}

.about-value-card {
  padding: 1.6rem 1.3rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-value-card:hover,
.about-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.about-value-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 1.5rem;
}

.about-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-mini-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.3rem;
}

.about-mini-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 1.3rem;
}

.about-mini-card p,
.about-card p,
.about-value-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

/* Glassmorphism Classes */
.top-header {
  background: linear-gradient(90deg, #0a1730 0%, #11254a 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  line-height: 1.4;
  position: sticky;
  top: 0;
  z-index: 1040;
}

.top-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
}

.top-header-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.top-header-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.top-header-item i {
  color: #00abec;
  font-size: 0.85rem;
}

.top-header-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.top-header-item a:hover {
  color: #ffffff;
}

.glass-nav {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 18px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
  position: sticky !important;
  top: 42px;
  z-index: 1030;
}

.navbar {
  position: sticky !important;
  top: 42px;
  z-index: 1030;
}

.glass-nav .navbar-collapse {
  background: #ffffff;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 1035;
}

.mobile-nav-backdrop.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 991.98px) {
  .navbar .container {
    position: relative;
  }

  .glass-nav .navbar-collapse {
    position: absolute;
    left: 0;
    top: calc(100% + 0.75rem);
    width: min(86vw, 310px);
    padding: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .glass-nav .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem !important;
    width: 100%;
  }

  .glass-nav .nav-item {
    width: 100%;
  }

  .glass-nav .nav-link {
    display: block;
    width: 100%;
    padding: 0.9rem 0.95rem !important;
    border-radius: 12px;
    color: var(--text-primary) !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: left;
  }

  .glass-nav .nav-link:hover,
  .glass-nav .nav-link.active {
    background: rgba(0, 171, 236, 0.08);
    color: var(--accent-cyan) !important;
  }

  .glass-nav .nav-item.dropdown > .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .glass-nav .nav-item.dropdown .dropdown-menu {
    position: static !important;
    width: 100%;
    min-width: 0;
    margin-top: 0.4rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: none;
    background: rgba(248, 250, 252, 0.9);
    display: none;
  }

  .glass-nav .nav-item.dropdown.show .dropdown-menu,
  .glass-nav .nav-item.dropdown:focus-within .dropdown-menu {
    display: block;
  }

  .glass-nav .dropdown-toggle::after {
    transition: transform 0.2s ease;
  }

  .glass-nav .nav-item.dropdown.show > .dropdown-toggle::after,
  .glass-nav .nav-item.dropdown:focus-within > .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  .glass-nav .nav-item.ms-lg-3 {
    margin-left: 0 !important;
  }

  .glass-nav .btn-apply-primary {
    width: 100%;
    margin-top: 0.25rem;
  }
}

#nav-logo {
  min-width: 140px;
}

#nav-logo img {
  height: 140px;
  width: auto;
  max-width: 280px;
  border: none;
}

.glass-nav.scrolled {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

/* Force dark links in Light Navbar */
.glass-nav .nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  transition: color 0.2s;
}

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

.glass-nav .nav-item.dropdown {
  position: relative;
}

.glass-nav .nav-item.dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  padding-right: 1.15rem !important;
}

@media (hover: hover) and (pointer: fine) {
  .glass-nav .nav-item.dropdown:hover > .nav-link,
  .glass-nav .nav-item.dropdown:focus-within > .nav-link,
  .glass-nav .nav-item.dropdown.show > .nav-link {
    color: var(--accent-cyan) !important;
  }

  .glass-nav .dropdown-toggle::after {
    border-top-color: currentColor;
    margin-left: 0.45rem;
    vertical-align: 0.1em;
    transition: transform 0.2s ease;
  }

  .glass-nav .nav-item.dropdown:hover .dropdown-toggle::after,
  .glass-nav .nav-item.dropdown:focus-within .dropdown-toggle::after,
  .glass-nav .nav-item.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  .glass-nav .dropdown-menu {
    margin-top: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    padding: 0.7rem 0.6rem;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12), 0 4px 18px rgba(11, 50, 94, 0.08);
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    min-width: 220px;
  }
}

.glass-nav .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 22px;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.7);
  border-left: 1px solid rgba(148, 163, 184, 0.18);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  transform: rotate(45deg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass-nav .dropdown-divider {
  margin: 0.45rem 0.25rem;
  border-color: rgba(148, 163, 184, 0.2);
}

.glass-nav .dropdown-item {
  color: var(--text-primary);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.22s ease;
  position: relative;
}

.glass-nav .dropdown-item:hover,
.glass-nav .dropdown-item:focus,
.glass-nav .dropdown-item.active {
  background: linear-gradient(90deg, rgba(0, 171, 236, 0.09), rgba(8, 145, 178, 0.04));
  color: var(--accent-cyan) !important;
  box-shadow: inset 3px 0 0 var(--accent-cyan), 0 8px 20px rgba(0, 171, 236, 0.08);
}

.glass-nav .nav-item.dropdown:hover .dropdown-menu,
.glass-nav .nav-item.dropdown:focus-within .dropdown-menu,
.glass-nav .nav-item.dropdown.show .dropdown-menu {
  display: block;
  opacity: 1;
}

.glass-nav .dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.glass-nav .nav-item.dropdown:hover .dropdown-menu,
.glass-nav .nav-item.dropdown:focus-within .dropdown-menu,
.glass-nav .nav-item.dropdown.show .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.glass-card {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}

.glass-card:hover {
  background: transparent;
  border-color: transparent;
  transform: none;
  box-shadow: none;
}

.glass-card.glow-cyan:hover,
.glass-card.glow-purple:hover {
  border-color: transparent;
  box-shadow: none;
}

.trust-cta {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 24px;
  isolation: isolate;
  background: #0b1f3a;
}

.trust-cta-image,
.trust-cta-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.trust-cta-image {
  left: 48%;
  width: 52%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

.trust-cta-overlay {
  background: linear-gradient(90deg, #071836 0%, #071836 43%, rgba(7, 24, 54, 0.82) 58%, rgba(7, 24, 54, 0.08) 100%);
  z-index: 0;
}

.trust-cta-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 4rem;
  color: #ffffff;
}

.trust-cta-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
}

.trust-cta-content h2 {
  max-width: 560px;
  margin: 1.25rem 0 1rem;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.trust-cta-content p {
  max-width: 540px;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

@media (max-width: 767.98px) {
  .trust-cta {
    min-height: 500px;
  }

  .trust-cta-overlay {
    background: linear-gradient(180deg, rgba(7, 24, 54, 0.25) 0%, rgba(7, 24, 54, 0.95) 72%);
  }

  .trust-cta-image {
    left: 0;
    width: 100%;
    height: 58%;
    object-position: center top;
  }

  .trust-cta-content {
    padding: 2rem 1.5rem;
  }
}

.counter-box,
.result-box {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Override .text-light classes on page sections to ensure dark text on white */
nav .text-light,
header .text-light,
section .text-light {
  color: var(--text-primary) !important;
}

nav .text-secondary,
header .text-secondary,
section .text-secondary {
  color: var(--text-secondary) !important;
}

/* Typography & Text */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.product-title-visible {
  color: #ffffff !important;
  font-size: clamp(2rem, 2.5vw, 3rem);
  line-height: 1.05;
  text-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.product-card-title {
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.btn-apply-primary {
  min-width: 170px;
}

.text-gradient-cyan-purple {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow-cyan {
  text-shadow: 0 0 10px rgba(0, 171, 236, 0.25);
}

.text-glow-purple {
  text-shadow: 0 0 10px rgba(0, 86, 179, 0.25);
}

/* Custom Buttons */
.btn-glow-cyan {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  color: #ffffff !important;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.75rem;
  box-shadow: 0 4px 15px rgba(0, 171, 236, 0.25);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.max-width-md {
  max-width: 680px;
}

.max-width-lg {
  max-width: 980px;
}

section .text-center > .max-width-md,
section .text-center > .max-width-lg {
  margin-left: auto;
  margin-right: auto;
}

.btn-glow-cyan::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.btn-glow-cyan:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 171, 236, 0.35), var(--glow-shadow-cyan);
}

.btn-glow-cyan:hover::after {
  opacity: 1;
}

@keyframes softGlowPulse {
  0%, 100% {
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.10);
  }
  50% {
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
  }
}

.more-products-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 0.75rem 1.75rem;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.95rem;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  animation: softGlowPulse 2s ease-in-out infinite;
}

.more-products-btn i {
  font-size: 1.15rem;
  transition: transform 0.25s ease;
}

.more-products-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  filter: brightness(1.01);
}

.more-products-btn:hover i {
  transform: translateX(4px);
}

.btn-outline-glow,
.btn-secondary-glow {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 8px;
  padding: 0.75rem 1.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-glow:hover,
.btn-secondary-glow:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  box-shadow: 0 0 15px rgba(0, 86, 179, 0.1);
  transform: translateY(-2px);
}

.btn-equal-width {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  .btn-equal-width {
    flex: 1 1 100%;
    width: 100%;
    min-width: auto;
    margin-bottom: 0.75rem;
  }
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes bounceInUp {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }
  55% {
    opacity: 1;
    transform: translateY(-4px) scale(1.003);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.section-reveal {
  opacity: 1;
  transform: none;
}

.section-reveal.visible {
  animation: bounceInUp 0.7s cubic-bezier(0.2, 0.9, 0.2, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

.floating-element {
  animation: float 2.8s ease-in-out infinite;
}

.hero-image-container {
  position: relative;
}

.hero-image-container::before {
  content: '';
  position: absolute;
  top: -3%;
  left: -3%;
  right: -3%;
  bottom: -3%;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  z-index: -1;
  filter: blur(10px);
  opacity: 0.15;
}

/* Loan Calculator Styles */
.calculator-container {
  border: 1px solid rgba(0, 171, 236, 0.15);
  box-shadow: 0 8px 32px 0 rgba(0, 171, 236, 0.03);
  min-height: 100%;
}

.calculator-container .glass-card {
  min-height: 100%;
}

.calc-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.calc-value-display {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

/* Range Input Customization */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 3px;
  outline: none;
  accent-color: var(--accent-cyan);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 8px var(--accent-cyan);
  transition: transform 0.1s ease;
}

.result-box {
  width: 100%;
}

@media (max-width: 991px) {
  .calculator-container,
  .glass-card.border-primary {
    padding: 2rem !important;
  }

  .result-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .result-box i {
    margin-left: 0;
  }
}

.hero-slider {
  position: relative;
  height: clamp(560px, 60vw, 760px);
  overflow: hidden;
  width: 100%;
}

/* Product card image sizing and spacing */
.product-card-img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 12px;
  display: block;
}

#products {
  position: relative;
  z-index: 1;
  display: block;
  visibility: visible;
  scroll-margin-top: 90px;
}

#products .row {
  display: flex;
  flex-wrap: wrap;
}

#products .product-hover {
  display: flex;
  visibility: visible;
}

/* Slightly smaller images on small screens */
@media (max-width: 767.98px) {
  .product-card-img {
    height: 145px;
  }

  #products.section-reveal {
    opacity: 1;
    transform: none;
  }

  #products {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  #products > .container {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #products .row > [class*="col-"] {
    display: block;
    width: 100%;
  }

  #products .product-hover {
    min-height: 0;
  }

  #products .product-hover > .mt-auto {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem !important;
  }

  #products .product-hover > .mt-auto .btn {
    width: 100%;
    min-width: 0;
  }
}

/* Card-level hover effects for product cards */
.glass-card.product-hover {
  transition: transform 0.28s cubic-bezier(.2,.9,.2,1), box-shadow 0.28s;
}
.glass-card.product-hover:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 18px 40px rgba(15,23,42,0.12);
}

/* Apply icon/button placed on product cards */
.card-apply-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  z-index: 5;
  text-decoration: none;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.glass-card:hover .card-apply-icon {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Small icon inside the circle */
.card-apply-icon i {
  font-size: 1.1rem;
}

/* Ensure glass-card is positioned relative for absolute icon */
.glass-card {
  position: relative;
}

/* Brighten hero slide backgrounds while keeping text contrast */
.hero-slide {
  position: relative;
  overflow: hidden;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 1;
}
.hero-left-content {
  position: relative;
  z-index: 2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.85s ease-in-out, transform 1.2s cubic-bezier(.2,.75,.2,1);
  background-size: cover;
  background-position: center 8%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-slide .hero-left-content {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
  backdrop-filter: none;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
  animation: heroImageZoom 5.5s linear both;
}

@keyframes heroImageZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero-slide .hero-left-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  width: 100%;
  padding: 96px 30px 128px;
  text-align: center;
}

.hero-slide .hero-left-content > .d-flex {
  justify-content: center;
}

.hero-slide.active .hero-left-content h1,
.hero-slide.active .hero-left-content p {
  animation: heroTextRiseIn 1.5s cubic-bezier(.2,.8,.2,1) both;
}

.hero-slide.active .hero-left-content p {
  animation-delay: 0.1s;
}

.hero-slide.active .hero-left-content > .d-flex {
  animation: heroButtonDropIn 1.6s cubic-bezier(.2,.85,.25,1.25) 0.25s both;
}

/* Restore motion only for the hero image and text. */
.hero-slide {
  transition: opacity 0.85s ease-in-out, transform 1.2s cubic-bezier(.2,.75,.2,1) !important;
}

.hero-slide.active {
  animation: heroImageZoom 5.5s linear both !important;
}

.hero-slide.active .hero-left-content h1,
.hero-slide.active .hero-left-content p {
  animation: heroTextRiseIn 1.5s cubic-bezier(.2,.8,.2,1) both !important;
}

.hero-slide.active .hero-left-content p {
  animation-delay: 0.1s !important;
}

.hero-slide.active .hero-left-content > .d-flex {
  animation: heroButtonDropIn 2.2s cubic-bezier(.2,.9,.25,1.2) 0.35s both !important;
}

@keyframes heroButtonDropIn {
  0% {
    opacity: 0;
    transform: translateY(70px) scale(0.9);
  }
  68% {
    opacity: 1;
    transform: translateY(-8px) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroTextRiseIn {
  from {
    opacity: 0;
    transform: translateY(70px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroButtonDropIn {
  0% {
    opacity: 0;
    transform: translateY(-70px) scale(0.9);
  }
  65% {
    opacity: 1;
    transform: translateY(10px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-slider-controls {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 3;
  justify-content: center;
}

.hero-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.25);
}

.hero-dot.active {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  transform: scale(1.25);
  box-shadow: 0 0 18px rgba(0, 171, 236, 0.25);
}

.hero-slider-arrow {
  background: rgba(15, 23, 42, 0.7);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-slider-arrow:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-slider-controls {
  justify-content: center;
  gap: 1rem;
}

.hero-slider-arrow {
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-slider-arrow:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  background: var(--accent-cyan);
  transform: scale(1.2);
}

@media (max-width: 991px) {
  .hero-slider {
    height: clamp(520px, 70vw, 640px);
  }
  .hero-slide {
    position: absolute;
  }
  .hero-slide .hero-left-content {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 90px;
    padding-bottom: 120px;
  }
  .hero-slider-controls {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .hero-slider {
    height: 620px;
  }

  .hero-slide {
    align-items: center;
  }

  .hero-slide .hero-left-content {
    padding-top: 145px;
    padding-bottom: 120px;
  }

  .hero-slider-controls {
    bottom: 16px;
    gap: 0.6rem;
  }

  .hero-slider-arrow {
    width: 40px;
    height: 40px;
  }
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Fallback gradient styling for range slider background */
.calc-range-wrapper {
  position: relative;
  padding: 0.5rem 0;
}

/* Dynamic counter displays */
.result-box {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 1.25rem;
}

.result-box .calc-label {
  color: var(--text-secondary);
}

.result-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
}

.result-number.accent {
  color: var(--accent-cyan);
}

/* Form Styles */
.form-group-custom {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group-custom label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.form-control-custom {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-primary) !important;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control-custom:focus {
  background: #ffffff;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 171, 236, 0.15);
  outline: none;
}

.form-control-custom::placeholder {
  color: var(--text-muted);
}

.form-select-custom {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
}

.form-select-custom:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 171, 236, 0.15);
  outline: none;
}

.form-select-custom option {
  background-color: #ffffff;
  color: var(--text-primary);
}

/* Custom Checkbox */
.custom-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.custom-checkbox-container input[type="checkbox"] {
  accent-color: var(--accent-cyan);
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  cursor: pointer;
}

.custom-checkbox-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.invalid-feedback-custom {
  color: #ff4d6d;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
}

.form-control-custom:invalid-custom,
.form-control-custom.is-invalid {
  border-color: #ff4d6d;
  box-shadow: 0 0 10px rgba(255, 77, 109, 0.15);
}

.form-control-custom.is-invalid + .invalid-feedback-custom {
  display: block;
}

/* Multi-step Form Wizard */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

.step-indicator-wrapper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2.5rem;
}

.step-indicator-line {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  background: rgba(15, 23, 42, 0.08);
  width: 100%;
  transform: translateY(-50%);
  z-index: 1;
}

.step-indicator-line-progress {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent-cyan), var(--accent-purple));
  width: 0%;
  transform: translateY(-50%);
  z-index: 2;
  transition: width 0.3s ease;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(15, 23, 42, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 3;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.step-dot.active {
  border-color: var(--accent-cyan);
  background: #ffffff;
  color: var(--accent-cyan);
  box-shadow: var(--glow-shadow-cyan);
}

.step-dot.completed {
  border-color: var(--accent-purple);
  background: var(--accent-purple);
  color: white;
  box-shadow: var(--glow-shadow-purple);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Feature Icons */
.feature-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon-wrapper.cyan {
  background: rgba(0, 171, 236, 0.1);
  border: 1px solid rgba(0, 171, 236, 0.2);
  color: var(--accent-cyan);
}

.feature-icon-wrapper.purple {
  background: rgba(0, 86, 179, 0.1);
  border: 1px solid rgba(0, 86, 179, 0.2);
  color: var(--accent-purple);
}

/* Testimonial slider */
.testimonial-card {
  padding: 2rem;
  position: relative;
}

.testimonial-avatar {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: cover;
  object-position: center;
  margin: 0 auto 1rem;
  border: 3px solid var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 86, 179, 0.18);
}

.reviews-page .testimonial-card {
  background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);
  border: 1px solid rgba(0, 86, 179, 0.16);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  padding: 3rem 3.5rem;
}

.reviews-page .testimonial-card p {
  color: var(--text-primary) !important;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
}

.reviews-page .testimonial-card .text-muted {
  color: var(--text-secondary) !important;
}

.review-stars {
  color: #f59e0b;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}

.reviews-page .carousel-inner {
  padding: 1.5rem 0 3.5rem;
}

.reviews-page .carousel-indicators {
  bottom: 0.5rem;
}

.reviews-page .carousel-indicators [data-bs-target] {
  background-color: #94a3b8;
}

.quote-icon {
  font-size: 3rem;
  line-height: 1;
  font-family: serif;
  color: rgba(0, 86, 179, 0.15);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-muted);
}

.carousel-indicators .active {
  background-color: var(--accent-cyan);
  box-shadow: var(--glow-shadow-cyan);
  width: 24px;
  border-radius: 4px;
}

/* Virtual Assistant (Chat Widget) */
.chat-widget-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.chat-trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 171, 236, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.chat-trigger:hover {
  transform: scale(1.05) rotate(15deg);
  box-shadow: 0 8px 25px rgba(0, 86, 179, 0.35);
}

.chat-box {
  width: 350px;
  height: 480px;
  border-radius: 16px;
  margin-bottom: 1rem;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 171, 236, 0.15);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.1);
  background: #ffffff;
  animation: slideUp 0.2s ease;
}

.chat-box.active {
  display: flex;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-bot-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bot-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 171, 236, 0.1);
  border: 1px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 0.9rem;
}

.bot-status {
  display: flex;
  flex-direction: column;
}

.bot-name {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}

.bot-online {
  font-size: 0.7rem;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.bot-online::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 5px var(--accent-cyan);
}

.chat-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s;
}

.chat-close-btn:hover {
  color: var(--text-primary);
}

.chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-message {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.chat-message.bot {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.02);
  color: var(--text-primary);
  border-top-left-radius: 2px;
  align-self: flex-start;
}

.chat-message.user {
  background: rgba(0, 171, 236, 0.12);
  border: 1px solid rgba(0, 171, 236, 0.1);
  color: var(--text-primary);
  border-top-right-radius: 2px;
  align-self: flex-end;
}

.chat-quick-replies {
  padding: 0.5rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid var(--border-color);
  background: rgba(15, 23, 42, 0.01);
}

.quick-reply-btn {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  color: var(--accent-purple);
  cursor: pointer;
  transition: all 0.2s;
}

.quick-reply-btn:hover {
  background: rgba(0, 171, 236, 0.08);
  border-color: var(--accent-cyan);
}

.chat-input-area {
  padding: 0.75rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 0.5rem;
  background: var(--bg-secondary);
}

.chat-input-field {
  flex: 1;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 20px;
  padding: 0.4rem 1rem;
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}

.chat-input-field:focus {
  border-color: var(--accent-cyan);
}

.chat-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-cyan);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.chat-send-btn:hover {
  transform: scale(1.1);
}

/* Stat Counter Section */
.counter-box {
  text-align: center;
  padding: 1.5rem;
}

.counter-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.counter-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Footer styling */
footer {
  background-color: var(--bg-footer) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

footer h4,
footer strong {
  color: #ffffff !important;
}

footer p,
footer span,
footer li,
footer small,
footer a {
  color: #94a3b8 !important;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
}

.footer-link {
  text-decoration: none;
  transition: all 0.2s;
}

.footer-link:hover {
  color: var(--accent-cyan) !important;
  padding-left: 4px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
}

.social-icon:hover {
  background: var(--accent-cyan);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: var(--glow-shadow-cyan);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-image-container {
    margin-top: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .chat-widget-container {
    bottom: 1rem;
    right: 1rem;
  }
  .chat-box {
    width: 310px;
    height: 420px;
  }
}

/* Hero Carousel Custom Styling */
#heroCarousel {
  position: relative;
}

.custom-carousel-indicators {
  bottom: -35px;
}

.custom-carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--text-muted);
  border: none;
  opacity: 0.5;
  transition: all 0.3s ease;
  margin: 0 6px;
}

.custom-carousel-indicators .active {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  width: 24px;
  border-radius: 5px;
  opacity: 1;
}

.custom-carousel-control {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid var(--border-color);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
}

#heroCarousel:hover .custom-carousel-control {
  opacity: 0.8;
}

.custom-carousel-control:hover {
  background: rgba(255, 255, 255, 0.8);
  opacity: 1 !important;
  box-shadow: 0 4px 15px rgba(0, 171, 236, 0.15);
}

.custom-carousel-control.carousel-control-prev {
  left: -60px;
}

.custom-carousel-control.carousel-control-next {
  right: -60px;
}

.custom-carousel-control .carousel-control-prev-icon,
.custom-carousel-control .carousel-control-next-icon {
  filter: invert(30%) sepia(85%) saturate(3000%) hue-rotate(180deg) brightness(85%) contrast(100%);
  width: 20px;
  height: 20px;
}

@media (max-width: 1200px) {
  .custom-carousel-control {
    display: none;
  }
  .custom-carousel-indicators {
    bottom: -20px;
  }
}

/* Product Cards Image Styling */
.product-card-img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  margin-bottom: 1.25rem;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease;
}

.glass-card:hover .product-card-img {
  transform: scale(1.08);
}

.team-grid-premium .team-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.86));
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.team-grid-premium .team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 171, 236, 0.06), rgba(37, 99, 235, 0.04));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.team-grid-premium .team-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.team-grid-premium .team-card:hover::before {
  opacity: 1;
}

.team-grid-premium .team-card > * {
  position: relative;
  z-index: 1;
}

.team-grid-premium .team-card h3,
.team-grid-premium .team-card .text-secondary,
.team-grid-premium .team-card p,
.team-grid-premium .team-card small {
  color: #10233d !important;
}

.team-grid-premium .team-card .text-secondary {
  opacity: 0.8;
}

.team-grid-premium .team-copy {
  flex: 1;
  min-width: 0;
}

.team-grid-premium .team-photo {
  width: 128px;
  height: 128px;
  flex-shrink: 0;
  border-radius: 22px;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.team-grid-premium .team-card:hover .team-photo {
  transform: scale(1.04);
  box-shadow: 0 18px 30px rgba(0, 171, 236, 0.22);
}

.team-grid-premium .team-role-badge {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  color: #0f172a;
}

.team-grid-premium .team-title {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #475569;
}

.team-grid-premium .team-socials .social-pill {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.team-grid-premium .team-socials .social-pill:hover {
  background: rgba(14, 165, 233, 0.12);
  color: #0f172a;
}

@media (max-width: 767px) {
  .team-grid-premium .team-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .team-grid-premium .team-photo {
    width: 104px;
    height: 104px;
    border-radius: 18px;
  }

  .team-grid-premium .team-copy {
    width: 100%;
  }

  .team-grid-premium .team-socials {
    justify-content: center;
  }
}

.team-socials .social-pill {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  background: rgba(0, 0, 0, 0.08);
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.team-socials .social-pill i {
  font-size: 1.1rem;
  line-height: 1;
}

.team-socials .social-pill:hover {
  background: rgba(0, 171, 236, 0.18);
  color: #ffffff;
}

/* Custom Hero Background & Split-Pane Layout */
.section-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0 !important;
}

header.section-hero,
main,
body > main {
  margin-top: 0 !important;
}

.hero-image-section {
  position: relative;
  min-height: 720px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 22, 36, 0.65) 0%, rgba(6, 22, 36, 0.92) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 100px 30px;
  max-width: 760px;
  color: #ffffff;
}

.hero-heading {
  font-size: clamp(2.8rem, 4.2vw, 4.2rem);
  line-height: 1.05;
  color: #ffffff !important;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.8);
  text-align: center;
}

.hero-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f8fafc !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.hero-stats-row {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stat-item {
  min-width: 140px;
}

@media (max-width: 991.98px) {
  .hero-image-section {
    min-height: 640px;
  }
  .hero-content {
    padding: 70px 20px;
  }
  .hero-heading {
    font-size: 2.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-image-section {
    min-height: 580px;
  }
  .hero-content {
    padding: 50px 16px;
  }
  .hero-stats-row {
    flex-direction: column;
    gap: 18px;
  }
}

/* Badge styled exactly like mockup */
.hero-badge-lime {
  color: var(--accent-lime);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-star-icon {
  font-size: 1.15rem;
  vertical-align: middle;
}

.hero-heading {
  font-size: 3.5rem;
  line-height: 1.15;
  color: #ffffff !important;
  font-family: var(--font-heading);
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 400;
}

/* Stats Row */
.hero-stats-row {
  display: flex;
  gap: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 30px;
}

.hero-stat-item {
  flex: 1;
}

.hero-stat-number {
  font-size: 2.85rem;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75) !important;
  font-weight: 500;

/* Keep motion only for the hero slider. */
.hero-slide {
  transition: opacity 0.85s ease-in-out, transform 1.2s cubic-bezier(.2,.75,.2,1) !important;
}

.hero-slide.active {
  animation: heroImageZoom 5.5s linear both !important;
}

.hero-slide.active .hero-left-content h1,
.hero-slide.active .hero-left-content p {
  animation: heroTextRiseIn 1.5s cubic-bezier(.2,.8,.2,1) both !important;
}

.hero-slide.active .hero-left-content p {
  animation-delay: 0.1s !important;
}

.hero-slide.active .hero-left-content > .d-flex {
  animation: heroButtonDropIn 1.6s cubic-bezier(.2,.85,.25,1.25) 0.25s both !important;
}
  line-height: 1.3;
}

/* Button styled exactly like mockup */
.btn-lime-pill {
  background-color: var(--accent-lime);
  color: var(--accent-teal-dark) !important;
  border-radius: 50px;
  padding: 15px 30px;
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--accent-lime);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 20px rgba(14, 120, 190, 0.15);
  text-decoration: none;
}

.btn-lime-pill:hover {
  background-color: transparent;
  color: var(--accent-lime) !important;
  border-color: var(--accent-lime);
  box-shadow: 0 6px 25px rgba(205, 232, 119, 0.3);
  transform: translateY(-2px);
}

.arrow-diagonal {
  font-size: 1.15rem;
  font-weight: bold;
  line-height: 1;
}

/* Responsive Alignment */
@media (min-width: 992px) {
  .new-hero-left {
    padding-left: calc((100vw - 960px) / 2 + 15px);
  }
}
@media (min-width: 1200px) {
  .new-hero-left {
    padding-left: calc((100vw - 1140px) / 2 + 15px);
  }
}
@media (min-width: 1400px) {
  .new-hero-left {
    padding-left: calc((100vw - 1320px) / 2 + 15px);
  }
}

@media (max-width: 991.98px) {
  .new-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .new-hero-left {
    padding-top: 120px;
    padding-bottom: 60px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .new-hero-right {
    height: auto;
    padding: 60px 24px;
    background-image: linear-gradient(rgba(14, 72, 63, 0.85), rgba(14, 72, 63, 0.85)), url('../images/hero_businesswomen.jpg');
  }
  .hero-heading {
    font-size: 2.75rem;
  }
  .hero-stats-row {
    gap: 30px;
  }
}

@media (max-width: 575.98px) {
  .hero-stats-row {
    flex-direction: column;
    gap: 20px;
  }
  .hero-heading {
    font-size: 2.25rem;
  }
  .new-hero-right {
    height: auto;
    padding: 40px 16px;
  }
}

/* Hero Background Symbols Layer */
.hero-bg-symbols {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-symbols .bg-symbol {
  position: absolute;
  color: #ffffff;
  opacity: 0.04;
  font-family: var(--font-heading);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

/* Animations for floating background symbols */
@keyframes slowFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(4deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes slowFloatReverse {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(18px) rotate(-4deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.hero-bg-symbols .bg-symbol:nth-child(even) {
  animation: slowFloat 5.5s ease-in-out infinite;
}

.hero-bg-symbols .bg-symbol:nth-child(odd) {
  animation: slowFloatReverse 6.5s ease-in-out infinite;
}

/* Specific Sizes & Placements for Background Symbols */
.symbol-cedi-1 {
  top: 15%;
  left: 3%;
  font-size: 9rem;
  font-weight: 700;
}

.symbol-cedi-2 {
  bottom: 8%;
  right: 15%;
  font-size: 7rem;
  font-weight: 600;
}

.symbol-cedi-3 {
  top: 38%;
  left: 65%;
  font-size: 5rem;
  font-weight: 500;
}

/* Stacked Client Reviews */
.hero-review-group {
  position: relative;
  z-index: 2;
}

.review-avatars-stacked {
  display: flex;
  align-items: center;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--accent-teal-dark);
  overflow: hidden;
  margin-right: -12px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: all 0.2s ease;
}

.review-avatar:hover {
  transform: translateY(-4px);
  z-index: 5;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-avatar.count {
  background-color: var(--accent-lime);
  color: var(--accent-teal-dark);
  font-weight: 700;
  font-size: 0.8rem;
  margin-right: 0;
  border-color: var(--accent-teal-dark);
}

.review-text-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-text-meta .stars {
  font-size: 0.8rem;
  margin-bottom: 2px;
  line-height: 1;
}

.review-desc-small {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Floating Glassmorphic Banking Portal Card */
.portal-card-wrapper {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 10;
}

.portal-card-glass {
  background: rgba(14, 72, 63, 0.65);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 0 20px rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.portal-card-glass:hover {
  border-color: rgba(205, 232, 119, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(205, 232, 119, 0.15);
}

.portal-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-lime);
}

.text-lime-glow {
  color: var(--accent-lime) !important;
  text-shadow: 0 0 10px rgba(205, 232, 119, 0.2);
}

.bi-cpu-fill {
  font-size: 1rem;
  color: var(--accent-lime);
}

.portal-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

/* Tabs */
.portal-tabs-wrapper {
  display: flex;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.portal-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.portal-tab-btn.active {
  background: var(--accent-lime);
  color: var(--accent-teal-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Form Elements */
.portal-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.portal-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portal-input {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
  width: 100%;
}

.portal-input:focus {
  border-color: var(--accent-lime);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 10px rgba(205, 232, 119, 0.15);
}

.portal-password-field {
  position: relative;
  width: 100%;
}

.portal-password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.portal-password-toggle:hover {
  color: #ffffff;
}

/* Switch & Checkbox */
.portal-switch-group {
  display: flex;
  align-items: center;
  padding-left: 0;
}

.portal-switch {
  cursor: pointer;
}

.portal-switch-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  margin-left: 8px;
  margin-bottom: 0;
}

.portal-forgot-link {
  font-size: 0.85rem;
  color: var(--accent-lime);
  text-decoration: none;
  transition: opacity 0.2s;
}

.portal-forgot-link:hover {
  opacity: 0.85;
}

.portal-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  font-weight: 600;
}

.portal-divider::before,
.portal-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portal-divider:not(:empty)::before {
  margin-right: .5em;
}

.portal-divider:not(:empty)::after {
  margin-left: .5em;
}

.btn-portal-google {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-portal-google:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.portal-footer-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.portal-footer-text a {
  text-decoration: none;
  font-weight: 600;
}

/* Panels */
.portal-panel {
  display: none;
}

.portal-panel.active {
  display: block;
  animation: portalFadeIn 0.2s ease;
}

@keyframes portalFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
