/* ==========================================================================
   Chama Systems - Modern Clean Redesign Stylesheet
   Theme Color: #40e0d0 (Turquoise)
   Font Family: Poppins everywhere
   Rules:
     - ZERO gradients (Solid colors only)
     - 100% visible, high-contrast text
     - Hero + Metrics section fit monitor screen height on desktop
     - Retain single sticky navbar (hide floating cloned nav)
     - Mobile menu backdrop overlay & drawer
     - Reduced opacity background image overlays on inner page headers
      - Static dotted world map on hero (no rotating globe), raised opacity
     - Footer: unbolded, reduced size, no hover underline, centered on mobile
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Universal Typography & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  --theme-primary: #40e0d0;
  --theme-primary-hover: #26cbb9;
  --theme-primary-dark: #128276;
  --theme-primary-light: #e8faf8;
  --theme-primary-subtle: #d0f7f2;
  
  --theme-dark: #0b132b;
  --theme-dark-secondary: #1e293b;
  --theme-dark-surface: #111827;
  
  --theme-text-main: #334155;
  --theme-text-muted: #64748b;
  --theme-text-heading: #0b132b;
  
  --theme-bg-body: #ffffff;
  --theme-bg-subtle: #f8fafc;
  --theme-bg-card: #ffffff;
  --theme-border-color: #e2e8f0;
  --theme-border-light: #f1f5f9;
  
  --theme-radius-sm: 8px;
  --theme-radius-md: 14px;
  --theme-radius-lg: 20px;
  --theme-radius-pill: 9999px;
  
  --theme-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --theme-shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --theme-shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.1);
  
  --font-poppins: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --navbar-height: 70px;
}

/* Force Poppins everywhere except icon fonts */
html, body, div, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside,
figure, figcaption, footer, header, hgroup, menu, nav, section,
summary, time, mark, button, input, select, textarea,
.btn, .nav-link, .lead, .blockquote, .card-title, .form-control {
  font-family: var(--font-poppins) !important;
}

span:not([class*="fa-"]):not(.fa):not(.fas):not(.fab):not(.far):not(.fa-solid):not(.fa-brands) {
  font-family: var(--font-poppins) !important;
}

/* Explicitly preserve FontAwesome icon fonts */
.fa, .fas, .far, .fal, .fad, .fab, .fa-solid, .fa-brands, .fa-regular,
[class^="fa-"], [class*=" fa-"] {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
}
.fab, .fa-brands, [class^="fa-brands"], [class*=" fa-brands"] {
  font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome" !important;
}
.fa::before, .fas::before, .far::before, .fab::before,
.fa-solid::before, .fa-brands::before, .fa-regular::before,
[class^="fa-"]::before, [class*=" fa-"]::before {
  font-family: inherit !important;
}

/* Icon classes missing from the bundled theme stylesheet (rendered even if the
   Font Awesome CDN stylesheet is unavailable) */
.fa-building-ngo::before { content: "\e4d7"; }
.fa-envelope-circle-check::before { content: "\e4e8"; }
.fa-facebook-f::before { content: "\f39e"; }
.fa-file-circle-check::before { content: "\e5a0"; }
.fa-hands-holding-child::before { content: "\e4fa"; }
.fa-linkedin-in::before { content: "\f0e1"; }
.fa-mobile-screen::before { content: "\f3cf"; }
.fa-shield-halved::before { content: "\f3ed"; }
.fa-users-rectangle::before { content: "\e594"; }

/* --------------------------------------------------------------------------
   High-Contrast Legible Text (Fix for washed out / blurred text)
   -------------------------------------------------------------------------- */
.text-secondary,
p.text-secondary,
span.text-secondary,
div.text-secondary,
a.text-secondary,
li.text-secondary {
  color: #334155 !important; /* Solid dark slate-700 instead of faint white rgb(230,236,242) */
  --bs-text-opacity: 1 !important;
}

.text-muted,
small.text-muted,
p.text-muted,
span.text-muted,
div.text-muted {
  color: #475569 !important; /* High contrast slate-600 */
}

.lead,
p.lead,
.section-lead,
.section-lead-text {
  color: #334155 !important; /* Crisp, dark slate-700 */
  font-size: 1.05rem;
  line-height: 1.75;
  opacity: 1 !important;
}

body {
  color: var(--theme-text-main);
  background-color: var(--theme-bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   2. Single Sticky Navbar & Mobile Drawer Overlay
   -------------------------------------------------------------------------- */
/* Hide the cloned floating navigation menu injected by utilities.min.js */
.sticky-nav,
nav.sticky-nav,
.btn-mobile-navbar,
#navbarModal {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Single clean sticky navbar with login link */
.modern-navbar {
  position: sticky;
  top: 0;
  background-color: #ffffff !important;
  border-bottom: 1px solid var(--theme-border-color);
  padding: 0.65rem 0;
  z-index: 1030;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  height: var(--navbar-height);
  display: flex;
  align-items: center;
}

.modern-navbar .navbar-brand img {
  height: 38px;
  width: auto;
}

.modern-navbar .nav-link {
  color: #1e293b !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.9rem !important;
  transition: color 0.2s ease;
}

.modern-navbar .nav-link:hover {
  color: var(--theme-primary-dark) !important;
}

.modern-navbar .nav-link.active {
  color: var(--theme-primary-dark) !important;
  font-weight: 600;
  position: relative;
}

.modern-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.9rem;
  right: 0.9rem;
  height: 2.5px;
  background-color: var(--theme-primary);
  border-radius: 2px;
}

.modern-nav-toggler {
  border: 1px solid var(--theme-border-color);
  padding: 0.45rem 0.75rem;
  border-radius: var(--theme-radius-sm);
  background: #ffffff;
}

.modern-nav-toggler:focus {
  box-shadow: 0 0 0 3px var(--theme-primary-subtle);
}

/* Mobile Menu Drawer & Overlay (Request 3) */
@media (max-width: 991.98px) {
  .modern-navbar .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff !important;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.2);
    border-bottom: 3px solid var(--theme-primary);
    border-top: 1px solid var(--theme-border-color);
    z-index: 1050;
  }

  .modern-navbar .navbar-nav .nav-link {
    padding: 0.75rem 0 !important;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
  }

  .modern-navbar .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .modern-navbar .nav-link.active::after {
    display: none;
  }

  .modern-navbar .nav-link.active {
    color: var(--theme-primary-dark) !important;
    border-left: 3px solid var(--theme-primary);
    padding-left: 0.75rem !important;
  }

  /* Fixed Backdrop Overlay for Mobile Menu */
  .mobile-menu-backdrop {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(11, 19, 43, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1020;
    display: none;
  }

  body.mobile-nav-active .mobile-menu-backdrop {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   3. Modern Solid Buttons & Badges (ZERO Gradients)
   -------------------------------------------------------------------------- */
.btn-theme-primary {
  background-color: var(--theme-primary) !important;
  border: 1px solid var(--theme-primary) !important;
  color: #0b132b !important;
  font-weight: 600 !important;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--theme-radius-pill);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-theme-primary:hover {
  background-color: var(--theme-primary-hover) !important;
  border-color: var(--theme-primary-hover) !important;
  color: #000000 !important;
  transform: translateY(-2px);
}

.btn-theme-outline {
  background-color: transparent !important;
  border: 1.5px solid var(--theme-primary-dark) !important;
  color: var(--theme-dark) !important;
  font-weight: 600 !important;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--theme-radius-pill);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-theme-outline:hover {
  background-color: var(--theme-primary-light) !important;
  border-color: var(--theme-primary) !important;
  color: var(--theme-primary-dark) !important;
  transform: translateY(-2px);
}

.btn-outline-nav {
  background-color: transparent !important;
  border: 1.5px solid #cbd5e1 !important;
  color: var(--theme-dark) !important;
  font-weight: 500 !important;
  font-size: 0.9rem;
  padding: 0.5rem 1.15rem;
  border-radius: var(--theme-radius-pill);
  transition: all 0.2s ease;
}

.btn-outline-nav:hover {
  border-color: var(--theme-primary-dark) !important;
  color: var(--theme-primary-dark) !important;
  background-color: var(--theme-primary-light) !important;
}

.btn-theme-dark {
  background-color: var(--theme-dark) !important;
  border: 1px solid var(--theme-dark) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 0.65rem 1.4rem;
  border-radius: var(--theme-radius-pill);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-theme-dark:hover {
  background-color: var(--theme-dark-secondary) !important;
  color: var(--theme-primary) !important;
  transform: translateY(-2px);
}

.modern-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--theme-primary-light);
  color: var(--theme-primary-dark);
  border: 1px solid var(--theme-primary);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--theme-radius-pill);
}

.modern-badge-dark {
  background-color: var(--theme-dark-secondary);
  color: var(--theme-primary);
  border: 1px solid var(--theme-primary);
}

.text-turquoise {
  color: var(--theme-primary-dark) !important;
}

/* --------------------------------------------------------------------------
   4. Hero Section (Dark Navy Theme BG + Static Reduced-Opacity World Map)
   -------------------------------------------------------------------------- */
.modern-hero-section {
  position: relative;
  background-color: var(--theme-dark); /* Deep navy hero (theme colour) */
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 3.5rem 0 3rem;
  min-height: max(620px, calc(100vh - var(--navbar-height)));
  min-height: max(620px, calc(100svh - var(--navbar-height)));
}

@media (min-width: 992px) {
  .modern-hero-section {
    padding: 1.5rem 0 !important;
  }
}

/* Static (never rotating) dotted world map behind the hero copy.
   hero-world-map.svg = theme map drawn in brand turquoise at 0.35 opacity
   (halved from 0.7) over the dark navy hero - no animation, no motion. */
.modern-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../img/hero-world-map.svg") no-repeat center center;
  background-size: 100% auto;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 992px) {
  .modern-hero-section::before {
    background-size: cover;
    background-position: center 42%;
  }
}

.modern-hero-section .container {
  position: relative;
  z-index: 2;
}

/* Dark-hero contrast: every piece of hero copy stays legible on navy */
.modern-hero-section .hero-title {
  color: #ffffff;
}

.modern-hero-section .hero-lead {
  color: #cbd5e1;
}

.modern-hero-section .text-turquoise {
  color: var(--theme-primary) !important;
}

.modern-hero-section .btn-theme-outline {
  color: #ffffff !important;
  border-color: var(--theme-primary) !important;
}

.modern-hero-section .btn-theme-outline:hover {
  color: var(--theme-primary-dark) !important;
}

.metrics-ribbon {
  position: relative;
  padding: 2.25rem 0 !important;
  background-color: #ffffff;
  border-top: 1px solid var(--theme-border-color);
  border-bottom: 1px solid var(--theme-border-color);
  z-index: 3;
}

.hero-title {
  font-size: calc(1.75rem + 1.1vw);
  font-weight: 800;
  line-height: 1.2;
  color: var(--theme-text-heading);
  margin-bottom: 0.85rem;
}

.hero-lead {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--theme-text-main);
  font-weight: 400;
  margin-bottom: 1.35rem;
  max-width: 580px;
}

/* Carousel Slider Card in Hero */
.hero-slider-card {
  position: relative;
  border-radius: var(--theme-radius-md);
  background-color: #ffffff;
  padding: 0.55rem;
  box-shadow: var(--theme-shadow-md);
  border: 1px solid var(--theme-border-color);
}

.hero-slider-img-wrap {
  border-radius: calc(var(--theme-radius-md) - 4px);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
  background-color: #0b132b;
}

.hero-slider-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background-color: #0b132b;
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  border-radius: var(--theme-radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--theme-primary);
  z-index: 5;
}

/* Solid dark overlay with opacity - NO gradient */
.hero-slide-content-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.15rem 0.85rem;
  background-color: rgba(11, 19, 43, 0.92);
  color: #ffffff;
  z-index: 5;
}

/* Floating Clean Metric Cards */
.hero-floating-card-1 {
  position: absolute;
  bottom: -10px;
  left: -15px;
  background-color: #ffffff;
  border: 1px solid var(--theme-border-color);
  padding: 0.75rem 1rem;
  border-radius: var(--theme-radius-md);
  box-shadow: var(--theme-shadow-md);
  z-index: 10;
  max-width: 230px;
}

.hero-floating-card-2 {
  position: absolute;
  top: 15px;
  right: -15px;
  background-color: #ffffff;
  border: 1px solid var(--theme-border-color);
  padding: 0.65rem 1rem;
  border-radius: var(--theme-radius-md);
  box-shadow: var(--theme-shadow-md);
  z-index: 10;
}

@media (max-width: 991px) {
  .hero-floating-card-1,
  .hero-floating-card-2 {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   5. Key Trust Metrics Ribbon
   -------------------------------------------------------------------------- */
.metric-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.metric-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--theme-radius-md);
  background-color: var(--theme-primary-light);
  color: var(--theme-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid var(--theme-primary);
}

.metric-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--theme-text-heading);
  margin-bottom: 0.1rem;
}

.metric-desc {
  font-size: 0.8rem;
  color: var(--theme-text-muted);
  margin-bottom: 0;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   6. Sections & Titles
   -------------------------------------------------------------------------- */
.modern-section {
  padding: 4.5rem 0;
  position: relative;
}

.modern-section-subtle {
  background-color: var(--theme-bg-subtle);
}

.section-tag {
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: calc(1.6rem + 0.8vw);
  font-weight: 800;
  color: var(--theme-text-heading);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--theme-text-muted);
  max-width: 650px;
  margin-bottom: 2.25rem;
}

/* Inclusion Image Composition */
.inclusion-image-grid {
  position: relative;
  padding: 1rem;
}

.inclusion-main-img {
  width: 82%;
  border-radius: var(--theme-radius-md);
  box-shadow: var(--theme-shadow-md);
  border: 3px solid #ffffff;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.inclusion-sub-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 58%;
  border-radius: var(--theme-radius-md);
  box-shadow: var(--theme-shadow-md);
  border: 3px solid #ffffff;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.inclusion-stat-badge {
  position: absolute;
  top: 0;
  right: 15px;
  background-color: #ffffff;
  border: 1px solid var(--theme-border-color);
  padding: 0.75rem 1.15rem;
  border-radius: var(--theme-radius-md);
  box-shadow: var(--theme-shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 5;
}

.feature-check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.feature-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: var(--theme-text-main);
}

.feature-check-list li i {
  color: var(--theme-primary-dark);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   7. Modern Service Cards
   -------------------------------------------------------------------------- */
.service-modern-card {
  background-color: #ffffff;
  border: 1px solid var(--theme-border-color);
  border-radius: var(--theme-radius-md);
  padding: 1.75rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: var(--theme-shadow-sm);
}

.service-modern-card:hover {
  transform: translateY(-4px);
  border-color: var(--theme-primary);
  box-shadow: var(--theme-shadow-md);
}

/* Blog Sidebar Widgets (Fixed alignment, content-fitted, never stretch vertically) */
.blog-sidebar-widget {
  background-color: #ffffff;
  border: 1px solid var(--theme-border-color);
  border-radius: var(--theme-radius-md);
  padding: 1.5rem;
  height: auto !important;
  box-shadow: var(--theme-shadow-sm);
  transition: all 0.25s ease;
}

.blog-sidebar-widget:hover {
  border-color: var(--theme-primary);
  box-shadow: var(--theme-shadow-md);
}

.blog-cat-link {
  color: #1e293b !important;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.blog-cat-link:hover {
  color: var(--theme-primary-dark) !important;
}

.service-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--theme-radius-md);
  background-color: var(--theme-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--theme-primary);
}

.service-icon-wrap img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.service-modern-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--theme-text-heading);
  margin-bottom: 0.75rem;
}

.service-modern-card p {
  font-size: 0.9rem;
  color: var(--theme-text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-action-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--theme-primary-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-action-link:hover {
  color: #0b132b;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   8. Bento Value Grid
   -------------------------------------------------------------------------- */
.bento-feature-card {
  background-color: #ffffff;
  border: 1px solid var(--theme-border-color);
  border-radius: var(--theme-radius-md);
  padding: 1.5rem 1.25rem;
  height: 100%;
  transition: all 0.2s ease;
  box-shadow: var(--theme-shadow-sm);
}

.bento-feature-card:hover {
  border-color: var(--theme-primary);
  transform: translateY(-2px);
}

.bento-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--theme-radius-sm);
  background-color: var(--theme-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  border: 1px solid var(--theme-primary);
}

.bento-icon-box img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.bento-feature-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--theme-text-heading);
  margin-bottom: 0.4rem;
}

.bento-feature-card p {
  font-size: 0.85rem;
  color: var(--theme-text-muted);
  margin-bottom: 0;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   9. Steps & Clients
   -------------------------------------------------------------------------- */
.step-card {
  background-color: #ffffff;
  border: 1px solid var(--theme-border-color);
  border-radius: var(--theme-radius-md);
  padding: 2rem 1.6rem;
  height: 100%;
  box-shadow: var(--theme-shadow-sm);
  transition: all 0.25s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--theme-primary);
}

.step-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--theme-primary-dark);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--theme-text-heading);
  margin-bottom: 0.65rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--theme-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.client-segment-card {
  background-color: #ffffff;
  border: 1px solid var(--theme-border-color);
  border-radius: var(--theme-radius-md);
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  transition: all 0.2s ease;
  height: 100%;
}

.client-segment-card:hover {
  border-color: var(--theme-primary);
  background-color: var(--theme-primary-light);
}

.client-segment-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background-color: var(--theme-primary-light);
  color: var(--theme-primary-dark);
  border: 1px solid var(--theme-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.client-segment-card h5 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--theme-text-heading);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   10. Modern Testimonials (Solid Avatars, NO Gradients)
   -------------------------------------------------------------------------- */
.testimonial-modern-card {
  background-color: #ffffff;
  border: 1px solid var(--theme-border-color);
  border-radius: var(--theme-radius-md);
  padding: 2rem 1.6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--theme-shadow-sm);
}

.testimonial-modern-card:hover {
  border-color: var(--theme-primary);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 3px;
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--theme-text-main);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--theme-border-light);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #0b132b;
  color: var(--theme-primary);
  border: 1.5px solid var(--theme-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.testimonial-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--theme-text-heading);
  margin-bottom: 0.1rem;
}

.testimonial-org {
  font-size: 0.8rem;
  color: var(--theme-primary-dark);
  font-weight: 500;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   11. Solid CTA Banner (ZERO Gradients)
   -------------------------------------------------------------------------- */
.modern-cta-banner {
  background-color: #0b132b;
  border: 1px solid rgba(64, 224, 208, 0.3);
  border-radius: var(--theme-radius-md);
  padding: 3.25rem 2.5rem;
  color: #ffffff;
  position: relative;
  box-shadow: var(--theme-shadow-md);
}

.modern-cta-banner h2 {
  font-size: calc(1.7rem + 0.8vw);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.modern-cta-banner p {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 650px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. Modern Inner Page Header with Reduced Opacity Image Overlay (Request 5)
   -------------------------------------------------------------------------- */
.modern-inner-hero {
  position: relative;
  background-color: #0b132b;
  color: #ffffff;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 3px solid var(--theme-primary);
  overflow: hidden;
}

.modern-inner-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.22; /* Visible from far with reduced opacity */
  pointer-events: none;
  z-index: 1;
}

.modern-inner-hero .container {
  position: relative;
  z-index: 2;
}

.modern-inner-hero h1 {
  font-size: calc(1.8rem + 1vw);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.modern-inner-hero p {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 700px;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   13. Modern Auth Cards & Pill-Shaped Inputs (Login, Register, Password Reset)
   -------------------------------------------------------------------------- */
.modern-auth-container {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem;
  background: radial-gradient(circle at 10% 20%, rgba(64, 224, 208, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(18, 130, 118, 0.04) 0%, transparent 40%),
              #f8fafc;
}

.modern-auth-card {
  background-color: #ffffff;
  border: 1px solid var(--theme-border-color);
  border-radius: 24px !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  width: 100%;
  max-width: 480px;
  padding: 2.75rem 2.5rem;
  transition: box-shadow 0.3s ease;
}

.modern-auth-card h2 {
  font-size: 1.55rem !important;
  font-weight: 700 !important;
  color: var(--theme-text-heading) !important;
  letter-spacing: -0.3px;
  font-family: var(--font-poppins) !important;
}

.modern-auth-card label.form-label {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  margin-bottom: 0.45rem !important;
  font-family: var(--font-poppins) !important;
}

/* Inset Icon Container for Pill Inputs (Icons floating inside input field) */
.modern-auth-card .input-icon-wrap {
  position: relative !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
}

/* Floating Inset Left Icon */
.modern-auth-card .input-icon-wrap .input-icon {
  position: absolute !important;
  left: 20px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #94a3b8 !important;
  font-size: 1rem !important;
  pointer-events: none !important;
  z-index: 4 !important;
  transition: color 0.25s ease, transform 0.2s ease !important;
}

/* Pill Input Field */
.modern-auth-card .input-icon-wrap .form-control {
  width: 100% !important;
  height: 52px !important;
  border-radius: 50px !important;
  padding-left: 52px !important;
  padding-right: 20px !important;
  background-color: #f8fafc !important;
  border: 1.5px solid var(--theme-border-color) !important;
  font-size: 0.92rem !important;
  color: var(--theme-text-main) !important;
  font-family: var(--font-poppins) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  outline: none !important;
}

.modern-auth-card .input-icon-wrap .form-control::placeholder {
  color: #94a3b8 !important;
  font-size: 0.88rem !important;
  font-weight: 400 !important;
}

/* Focus State: highlights border, shadow, background, and icon color */
.modern-auth-card .input-icon-wrap:focus-within .input-icon {
  color: var(--theme-primary-dark) !important;
}

.modern-auth-card .input-icon-wrap .form-control:focus {
  border-color: var(--theme-primary) !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(64, 224, 208, 0.18) !important;
  outline: none !important;
}

/* Has-toggle padding adjustment */
.modern-auth-card .input-icon-wrap.has-toggle .form-control {
  padding-right: 52px !important;
}

/* Inset Password Eye Toggle Button */
.modern-auth-card .input-icon-wrap .btn-toggle-password {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 8px !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 5 !important;
  transition: color 0.2s ease !important;
}

.modern-auth-card .input-icon-wrap .btn-toggle-password:hover {
  color: var(--theme-text-heading) !important;
}

/* Backward-compatibility for any .input-group or standalone form-control */
.modern-auth-card .input-group {
  border-radius: 50px !important;
  background-color: #f8fafc !important;
  border: 1.5px solid var(--theme-border-color) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
}

.modern-auth-card .input-group:focus-within {
  border-color: var(--theme-primary) !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(64, 224, 208, 0.18) !important;
}

.modern-auth-card .input-group .input-group-text {
  background-color: transparent !important;
  border: none !important;
  padding: 0.75rem 0.5rem 0.75rem 1.35rem !important;
  color: #94a3b8 !important;
  font-size: 0.95rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.modern-auth-card .input-group:focus-within .input-group-text i {
  color: var(--theme-primary-dark) !important;
}

.modern-auth-card .input-group .form-control {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0.75rem 1rem 0.75rem 0.35rem !important;
  height: 52px !important;
  font-size: 0.92rem !important;
  color: var(--theme-text-main) !important;
  font-family: var(--font-poppins) !important;
}

.modern-auth-card .form-control:not(.input-icon-wrap .form-control):not(.input-group .form-control),
.modern-auth-card input[type="text"]:not(.input-icon-wrap input):not(.input-group input),
.modern-auth-card input[type="email"]:not(.input-icon-wrap input):not(.input-group input),
.modern-auth-card input[type="password"]:not(.input-icon-wrap input):not(.input-group input),
.modern-auth-card input[type="tel"]:not(.input-icon-wrap input):not(.input-group input),
.modern-auth-card select.form-select {
  border-radius: 50px !important;
  border: 1.5px solid var(--theme-border-color) !important;
  background-color: #f8fafc !important;
  padding: 0.75rem 1.35rem !important;
  height: 52px !important;
  font-size: 0.92rem !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
  font-family: var(--font-poppins) !important;
}

.modern-auth-card .form-control:not(.input-icon-wrap .form-control):not(.input-group .form-control):focus,
.modern-auth-card input[type="text"]:not(.input-icon-wrap input):not(.input-group input):focus,
.modern-auth-card input[type="email"]:not(.input-icon-wrap input):not(.input-group input):focus,
.modern-auth-card input[type="password"]:not(.input-icon-wrap input):not(.input-group input):focus,
.modern-auth-card input[type="tel"]:not(.input-icon-wrap input):not(.input-group input):focus,
.modern-auth-card select.form-select:focus {
  border-color: var(--theme-primary) !important;
  box-shadow: 0 0 0 4px rgba(64, 224, 208, 0.18) !important;
  background-color: #ffffff !important;
  outline: none !important;
}

/* Auth Buttons matching Website Pill Style */
.modern-auth-card .btn-theme-primary {
  border-radius: 50px !important;
  height: 52px !important;
  font-size: 0.98rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 14px rgba(64, 224, 208, 0.28) !important;
  transition: all 0.25s ease !important;
}

.modern-auth-card .btn-theme-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(64, 224, 208, 0.4) !important;
}

.modern-auth-card .btn-theme-primary:active {
  transform: translateY(0) !important;
}



/* --------------------------------------------------------------------------
   14. Modern Footer (Request 7 & Request 8)
   -------------------------------------------------------------------------- */
.modern-footer {
  background-color: #0b132b;
  color: #94a3b8;
  padding: 4rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modern-footer .text-secondary,
.modern-footer p.text-secondary,
.modern-footer span.text-secondary,
.modern-footer div.text-secondary {
  color: #94a3b8 !important;
}

.modern-inner-hero .text-secondary,
.modern-cta-banner .text-secondary {
  color: #cbd5e1 !important;
}

.modern-footer h6 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.modern-footer a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  display: inline-block;
  margin-bottom: 0.6rem;
}

.modern-footer a:hover {
  color: var(--theme-primary);
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #1e293b;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  margin-bottom: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease !important;
}

.footer-social-link:hover {
  background-color: var(--theme-primary);
  color: #0b132b !important;
  transform: translateY(-2px);
}

/* Policy Line (Row above copyright, center-aligned, Request 7) */
.footer-policy-row {
  margin-top: 2.25rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-policy-link {
  color: #94a3b8 !important;
  font-size: 0.8rem !important; /* Reduced size */
  font-weight: 400 !important; /* Unbolded */
  text-decoration: none !important; /* No underline */
  margin: 0 0.85rem !important;
  transition: color 0.2s ease;
}

.footer-policy-link:hover {
  color: var(--theme-primary) !important;
  text-decoration: none !important; /* Remove underline on hover */
}

/* Copyright Row (Request 7) */
.footer-bottom-bar {
  padding-top: 1.15rem;
  font-size: 0.8rem !important; /* Reduced size */
  color: #64748b !important;
  font-weight: 400 !important; /* Unbolded */
}

.footer-bottom-bar p {
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  color: #64748b !important;
}

.footer-tufani-text {
  font-size: 0.78rem !important; /* Reduced size */
  font-weight: 400 !important; /* Unbolded */
  color: #64748b !important;
}

.footer-tufani-link {
  color: var(--theme-primary) !important;
  font-size: 0.78rem !important; /* Reduced size */
  font-weight: 400 !important; /* Unbolded */
  text-decoration: none !important; /* No underline */
  letter-spacing: 0.02em;
  margin-bottom: 0 !important;
  display: inline !important;
}

.footer-tufani-link:hover {
  color: #ffffff !important;
  text-decoration: none !important; /* Remove underline on hover */
}

/* --------------------------------------------------------------------------
   15. Mobile Adjustments & Mobile Footer Centering (Request 8)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 1.95rem;
  }
  .modern-cta-banner {
    padding: 2.25rem 1.5rem;
  }
  .modern-auth-card {
    padding: 1.75rem 1.25rem;
  }

  /* Center all footer items on mobile (Request 8) */
  .modern-footer {
    text-align: center !important;
  }

  .modern-footer .container .row > div {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
    margin-bottom: 2rem;
  }

  .modern-footer .container .row > div:last-child {
    margin-bottom: 0;
  }

  .modern-footer .footer-logo-img {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .modern-footer .footer-social-wrap {
    justify-content: center !important;
  }

  .modern-footer .footer-contact-item {
    justify-content: center !important;
    text-align: center !important;
  }

  .modern-footer ul {
    padding-left: 0;
    list-style: none;
    text-align: center;
  }

  .footer-policy-row .d-flex {
    flex-direction: column;
    align-items: center !important;
    gap: 0.5rem;
  }

  .footer-policy-link {
    margin: 0.2rem 0 !important;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
    gap: 0.5rem;
  }
}
