/* =============================================
   Soft24 Technologies & Business Solutions – Custom Stylesheet
   ============================================= */

/* Font loading moved to HTML head for performance - see link rel="preload" */

/* ---------- Variables ---------- */
:root {
  --primary:       #2563eb;
  --primary-light: #3b82f6;
  --primary-dark:  #1d4ed8;
  --accent:        #0ea5e9;
  --dark:          #1e293b;
  --dark-2:        #334155;
  --text:          #1e293b;
  --text-light:    #64748b;
  --text-muted:    #94a3b8;
  --border:        #e2e8f0;
  --bg-light:      #f8fafc;
  --bg-section:    #f1f5f9;
  --white:         #ffffff;
  --transition:    all 0.35s ease;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     24px;
  --shadow-sm:     0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-md:     0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg:     0 24px 64px rgba(0, 0, 0, 0.1);
  /* Spacing */
  --spacing-xs:   0.5rem;
  --spacing-sm:   0.75rem;
  --spacing-md:   1rem;
  --spacing-lg:   1.5rem;
  --spacing-xl:   2rem;
  --spa
  cing-2xl:  3rem;
  /* Typography */
  --font-xs:      0.75rem;
  --font-sm:      0.875rem;
  --font-base:    1rem;
  --font-lg:      1.125rem;
  --font-xl:      1.25rem;
  --font-2xl:     1.5rem;
  --font-3xl:     1.875rem;
  /* Section padding */
  --section-padding: 80px 0;
  --section-padding-sm: 52px 0;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Offset fixed navbar when jumping to anchor links */
  scroll-padding-top: 82px;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 8px;
  border: 2px solid #f1f5f9;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ---------- Text Selection ---------- */
::selection      { background: rgba(30, 64, 175, 0.15); color: var(--primary-dark); }
::-moz-selection { background: rgba(30, 64, 175, 0.15); color: var(--primary-dark); }

/* ---------- Focus Ring (Accessibility) ---------- */
:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Skip-to-content Link ---------- */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: .5rem 1.2rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: .88rem;
  z-index: 9999;
  transition: top .2s ease;
}
.skip-to-content:focus { top: 0; }

/* ---------- Scroll Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 0.10s; }
[data-reveal-delay="2"] { transition-delay: 0.20s; }
[data-reveal-delay="3"] { transition-delay: 0.30s; }
[data-reveal-delay="4"] { transition-delay: 0.40s; }

/* ---------- Section Layout ---------- */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }

@media (max-width: 991px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
}

@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 6px;
  font-size: var(--font-xs);
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  margin-bottom: var(--spacing-md);
}

.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.4px;
}

.section-desc {
  font-size: var(--font-base);
  color: var(--text-light);
  max-width: 620px;
  line-height: 1.65;
}

@media (max-width: 767px) {
  .section-desc {
    max-width: 100%;
  }
}

.section-divider {
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0.6rem 0 var(--spacing-lg);
}
.section-divider.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Card Utilities ---------- */
.card-equal-height {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-equal-height .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-equal-height .card-content {
  flex: 1;
}

/* ---------- Alignment Utilities ---------- */
.text-center-custom { text-align: center; }
.text-left-custom { text-align: left; }
.text-right-custom { text-align: right; }

.align-center-custom { align-items: center; }
.align-start-custom { align-items: flex-start; }
.align-end-custom { align-items: flex-end; }

.justify-center-custom { justify-content: center; }
.justify-start-custom { justify-content: flex-start; }
.justify-end-custom { justify-content: flex-end; }

/* ---------- Buttons ---------- */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white) !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.25s ease;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}
.btn-primary-custom::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s ease;
  border-radius: inherit;
}
.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
  color: var(--white) !important;
}
.btn-primary-custom:hover::after { background: rgba(255,255,255,0.04); }
.btn-primary-custom:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2); }

/* Larger hero CTA */
.btn-hero-cta {
  padding: 0.95rem 2.4rem !important;
  font-size: var(--font-base) !important;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3) !important;
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: transparent;
  color: var(--primary) !important;
  border: 1.5px solid var(--primary);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 2rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline-custom:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-dark) !important;
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-white-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  color: var(--primary-dark) !important;
}
.btn-white-custom:active { transform: translateY(0); }

/* ============================================================
   NAVBAR
============================================================ */
#mainNavbar {
  background: rgba(255, 255, 255, 0.98);
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

#mainNavbar.scrolled {
  background: rgba(255, 255, 255, 0.99) !important;
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.navbar-brand .brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.brand-logo-img {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.3px;
}

.brand-name span { color: var(--primary); }

.nav-link-custom {
  color: var(--text) !important;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 6px;
  transition: all 0.25s ease !important;
  position: relative;
  letter-spacing: 0.2px;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--primary) !important;
  background: rgba(37, 99, 235, 0.06);
  transform: translateY(-1px);
}

/* Animated underline accent on active link */
.nav-link-custom::after {
  content: '';
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
  margin-top: 2px;
}
.nav-link-custom.active::after {
  transform: scaleX(1);
}

/* ============================================================
   SERVICES DROPDOWN
============================================================ */
/* Prevent Bootstrap from interfering with our dropdown-toggle colour */
.nav-link-custom.dropdown-toggle {
  cursor: pointer;
}
.nav-link-custom.dropdown-toggle::after {
  /* Reuse Bootstrap caret but style it to match */
  border-top-color: rgba(255,255,255,0.7);
  transition: transform 0.25s ease;
}
.nav-item.dropdown.show > .nav-link-custom.dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Dropdown menu panel */
.saas-dropdown {
  background: rgba(255, 255, 255, 0.99);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.5rem 0.3rem;
  min-width: 240px;
  margin-top: 0.5rem !important;
}

/* Individual dropdown items */
.saas-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.saas-dropdown .dropdown-item i {
  width: 16px;
  text-align: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  font-size: 0.85rem;
}
.saas-dropdown .dropdown-item:hover {
  background: rgba(37, 99, 235, 0.06);
  color: var(--primary);
  padding-left: 1.1rem;
}
.saas-dropdown .dropdown-item:hover i {
  transform: scale(1.1);
  color: var(--primary-light);
}
.saas-dropdown .dropdown-item.active-page {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-weight: 600;
}

/* Navbar CTA Button */
.navbar-cta {
  padding: 0.6rem 1.4rem !important;
  font-size: 0.85rem !important;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(37, 99, 235, 0.2) !important;
}

.navbar-cta:hover {
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3) !important;
}

/* Divider inside dropdown */
.saas-dropdown .dropdown-divider {
  border-color: var(--border);
  margin: 0.3rem 0.8rem;
}

/* Mobile: show dropdown inline (stacked) */
@media (max-width: 991.98px) {
  #mainNavbar {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }
  
  .saas-dropdown {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: none;
    margin-top: 0 !important;
    padding: 0.25rem 0;
  }
  .saas-dropdown .dropdown-item {
    color: var(--text);
    padding: 0.45rem 1.5rem;
  }
  .saas-dropdown .dropdown-item:hover { color: var(--primary); }
  
  .navbar-cta {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.5rem !important;
    margin-top: 1rem;
  }
  
  .nav-link-custom {
    padding: 0.6rem 1rem !important;
  }
}

/* ============================================================
   HERO
============================================================ */
#hero {
  min-height: auto;
  padding: 100px 0 70px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 40%, #f1f5f9 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtle grid overlay for depth */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Animated gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 65%);
  top: -200px; right: -150px;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.10) 0%, transparent 65%);
  bottom: -100px; left: -100px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

.orb-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 65%);
  top: 35%; left: 30%;
  animation: orbFloat 6s ease-in-out infinite 2s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33%  { transform: translate(20px, -20px); }
  66%  { transform: translate(-15px, 15px); }
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--primary-dark);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.12);
}

.hero-badge .badge-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%  { opacity: 0.5; transform: scale(0.6); }
}

.hero-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 1.1rem;
}

.hero-heading .gradient-text {
  background: linear-gradient(100deg, var(--primary) 0%, var(--accent) 50%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientShift 4s ease-in-out infinite alternate;
}

@keyframes gradientShift {
  0%   { background-position: 0% center; }
  100% { background-position: 100% center; }
}

.hero-sub {
  color: var(--text-light);
  font-size: 0.95rem;
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero-cta-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: #475569;
  margin-top: 0.8rem;
  font-weight: 500;
}
.hero-cta-note i { color: #22c55e; font-size: 0.85rem; }

/* Stat pills */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Services Highlights Pills */
.service-highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--primary);
  border-radius: 20px;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.service-highlight-pill:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.service-highlight-pill i {
  font-size: 0.9rem;
}

/* Industries Section */
.industries-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.industries-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 0.6rem 0;
}

.industry-tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition);
}

.industry-tag:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--primary);
  color: var(--primary);
}

/* Service Card Compact */
.service-card-compact {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card-compact:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.sc-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.875rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.service-card-compact h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.service-card-compact p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 0.875rem;
  flex-grow: 1;
}

.sc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.875rem;
}

.sc-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.sc-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
}

.sc-link:hover {
  color: var(--primary-dark);
  gap: 0.4rem;
}

/* Technology Stack Section - Enhanced */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.875rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.tech-badge:hover {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.04);
  color: var(--primary);
  transform: translateY(-1px);
}

/* Technology icon colors */
.ti-react { color: #61DAFB; }
.ti-angular { color: #DD0031; }
.ti-vue { color: #4FC08D; }
.ti-node { color: #339933; }
.ti-python { color: #3776AB; }
.ti-aws { color: #FF9900; }
.ti-azure { color: #0078D4; }
.ti-docker { color: #2496ED; }
.ti-android { color: #3DDC84; }
.ti-apple { color: #000000; }
.ti-flutter { color: #02569B; }
.ti-js { color: #F7DF1E; }
.ti-git { color: #F05032; }
.ti-github { color: #181717; }
.ti-html { color: #E34F26; }
.ti-css { color: #1572B6; }
.ti-sql { color: #CC2927; }
.ti-mysql { color: #4479A1; }
.ti-net { color: #512BD4; }

/* Trust Commitment */
.trust-commitment {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
}

.trust-commitment-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.tc-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.tc-text h6 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.tc-text p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Footer CTA */
.footer-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
}

.footer-cta-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.fcta-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.fcta-text h6 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.fcta-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.fcta-text .btn-primary-custom {
  background: #fff;
  color: var(--primary);
  border: none;
}

.fcta-text .btn-primary-custom:hover {
  background: #f8fafc;
  color: var(--primary-dark);
}

/* Product Preview Card */
.product-preview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  text-decoration: none;
  height: 100%;
}

.product-preview-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pp-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.product-preview-card h6 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.product-preview-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.pp-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
}

.pp-link:hover {
  gap: 0.4rem;
  color: var(--primary-dark);
}

/* Insight Preview Card */
.insight-preview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  text-decoration: none;
  height: 100%;
}

.insight-preview-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ipc-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #10b981, #34d399);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.insight-preview-card h6 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.insight-preview-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.ipc-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #10b981;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
}

.ipc-link:hover {
  gap: 0.4rem;
  color: #059669;
}

@media (max-width: 767px) {
  .footer-cta { padding: 1.5rem; }
  .footer-cta-content { flex-direction: column; text-align: center; gap: 1rem; }
  .fcta-icon { width: 48px; height: 48px; font-size: 1.2rem; }
  .fcta-text h6 { font-size: 1rem; }
  .fcta-text p { font-size: 0.85rem; }
  
  /* Product and Insight preview cards */
  .product-preview-card, .insight-preview-card { padding: 1.25rem; }
  .pp-icon, .ipc-icon { width: 48px; height: 48px; font-size: 1.2rem; }
  .product-preview-card h6, .insight-preview-card h6 { font-size: 0.95rem; }
  .product-preview-card p, .insight-preview-card p { font-size: 0.8rem; }
}

/* Product Detail Page Preparation */
.pd-hero {
  background: linear-gradient(135deg, #060c18 0%, #0f172a 45%, #1a1040 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.pd-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.18) 0%, transparent 65%);
  top: -180px;
  right: -120px;
  border-radius: 50%;
  pointer-events: none;
}

.pd-hero-content {
  position: relative;
  z-index: 2;
}

.pd-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.pd-hero p {
  color: #64748b;
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 1.5rem;
}

.pd-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.pd-screenshot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

.pd-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.pd-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.pd-feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.pd-feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pd-feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.pd-feature-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.pd-feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.pd-pricing-section {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 3rem;
}

.pd-pricing-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.pd-pricing-section p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.pd-demo-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #fff;
  text-align: center;
}

.pd-demo-cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pd-demo-cta p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.pd-demo-cta .btn-white-custom {
  background: #fff;
  color: var(--primary);
  border: none;
}

.pd-demo-cta .btn-white-custom:hover {
  background: #f8fafc;
  color: var(--primary-dark);
}

@media (max-width: 767px) {
  .pd-hero { padding: 60px 0 40px; }
  .pd-hero h1 { font-size: 2rem; }
  .pd-hero p { font-size: 0.95rem; }
  .pd-features-grid { grid-template-columns: 1fr; }
  .pd-pricing-section { padding: 1.5rem; }
  .pd-demo-cta { padding: 1.5rem; }
}

/* Trust Indicators Section */
.trust-header {
  padding-right: 2rem;
}

.trust-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.trust-sub {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: var(--transition);
}

.trust-badge-item:hover {
  border-color: rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.04);
  transform: translateY(-2px);
}

.tbi-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.tbi-content h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.25rem 0;
}

.tbi-content p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.4;
}

/* Technology Expertise Badges in Hero */
.tech-expertise-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tech-badge-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.tech-badge-mini i {
  font-size: 1rem;
  color: var(--primary);
}

.tech-badge-mini:hover {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.04);
  color: var(--primary);
  transform: translateY(-1px);
}

/* Consultation CTA Block */
.consultation-cta-content {
  padding-right: 2rem;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.consultation-cta-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.consultation-cta-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.cta-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.cta-feature i {
  color: #22c55e;
  font-size: 0.85rem;
}

.consultation-cta-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cc-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

.consultation-cta-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.consultation-cta-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cc-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

.cc-note i {
  color: var(--primary);
  margin-right: 0.3rem;
}

/* Process Timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.process-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(37, 99, 235, 0.1);
  line-height: 1;
}

.process-content {
  position: relative;
  z-index: 1;
}

.process-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}

.process-content h5 {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.process-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Business Statistics */
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.sc-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}

.sc-number {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.sc-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-mini-card {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
  transition: var(--transition);
}

.stat-mini-card:hover {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.04);
}

.smc-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.smc-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1.25rem;
  min-width: 115px;
  text-align: center;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.stat-pill:hover {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.04);
}

.stat-pill .num {
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-pill .label {
  font-size: 0.73rem;
  color: #475569;
  margin-top: 0.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Hero visual card */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-card-main {
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.1), 0 0 0 1px rgba(37,99,235,0.08) inset;
  position: relative;
  overflow: hidden;
}

.hero-card-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.3), rgba(14,165,233,0.2), transparent);
}

.code-block {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 1.2rem;
  font-family: 'Consolas', monospace;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text);
  border: 1px solid var(--border);
}

.code-block .c-key   { color: var(--primary-dark); }
.code-block .c-str   { color: var(--accent); }
.code-block .c-func  { color: var(--primary-light); }
.code-block .c-num   { color: var(--primary); }

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.98);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  backdrop-filter: blur(8px);
  z-index: 3;
}

.floating-badge .fb-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.fb-success  { background: rgba(34,197,94,0.15); color: #16a34a; }
.fb-warning  { background: rgba(245,158,11,0.15); color: #d97706; }
.fb-info     { background: rgba(14,165,233,0.15);  color: #0284c7; }

.badge-pos-1 { bottom: -20px; left: -30px; animation: floatBadge 3s ease-in-out infinite; }
.badge-pos-2 { top: -20px;   right: -20px; animation: floatBadge 4s ease-in-out infinite 1s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ============================================================
   ABOUT
============================================================ */
#about { background: var(--bg-light); }

.about-img-block {
  position: relative;
}

.about-img-box {
  background: linear-gradient(135deg, var(--bg-section), var(--bg-light));
  border-radius: var(--radius-lg);
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.about-img-icon {
  font-size: 8rem;
  color: rgba(37, 99, 235, 0.2);
}

.exp-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  min-width: 130px;
}

.exp-badge .exp-num {
  font-size: var(--font-3xl);
  font-weight: 800;
  line-height: 1;
}

.exp-badge .exp-label {
  font-size: var(--font-xs);
  opacity: 0.9;
  margin-top: 0.2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.about-feature:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.af-icon {
  width: 44px; height: 44px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.about-feature:hover .af-icon {
  background: var(--primary);
  color: #fff;
}

.af-text h6 {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.af-text p {
  font-size: var(--font-sm);
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   SERVICES
============================================================ */
#services { background: var(--white); }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(14, 165, 233, 0.04));
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--radius-lg);
}

.service-card:hover {
  border-color: rgba(37, 99, 235, 0.25);
  transform: translateY(-7px);
  box-shadow: 0 28px 70px rgba(37, 99, 235, 0.12);
}

.service-card:hover::after { opacity: 1; }

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
}

.s-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
}

.s-icon-1 { background: rgba(37, 99, 235, 0.1); color: var(--primary); }
.s-icon-2 { background: rgba(14, 165, 233, 0.1);  color: var(--accent); }
.s-icon-3 { background: rgba(245,158,11,0.1); color: #f59e0b; }
.s-icon-4 { background: rgba(239,68,68,0.1);  color: #ef4444; }

.service-card:hover .s-icon-1 { background: var(--primary); color: #fff; }
.service-card:hover .s-icon-2 { background: var(--accent); color: #fff; }
.service-card:hover .s-icon-3 { background: #f59e0b; color: #fff; }
.service-card:hover .s-icon-4 { background: #ef4444; color: #fff; }

.s-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(37, 99, 235, 0.08);
  line-height: 1;
  font-family: 'Inter', sans-serif;
}

.service-card h5 {
  font-weight: 800;
  color: var(--dark);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
  flex: 1;
}

.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; }

.s-tag {
  background: var(--bg-light);
  color: var(--text-light);
  border-radius: 6px;
  padding: 0.2rem 0.65rem;
  font-size: var(--font-xs);
  font-weight: 600;
  border: 1px solid var(--border);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 700;
  font-size: var(--font-sm);
  margin-top: var(--spacing-lg);
  transition: var(--transition);
}

.service-link i { transition: transform 0.25s ease; }
.service-link:hover { gap: 0.7rem; color: var(--primary-dark); }
.service-link:hover i { transform: translateX(3px); }

/* ============================================================
   WHY CHOOSE US
============================================================ */
#why-us { background: var(--bg-light); }

.why-grid { display: grid; gap: var(--spacing-lg); }

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.why-card:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}

.why-card h6 {
  font-weight: 800;
  color: var(--dark);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.why-card p {
  color: var(--text-light);
  font-size: var(--font-sm);
  margin: 0;
  line-height: 1.6;
}

.why-visual {
  position: relative;
}

.why-main-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl) var(--spacing-xl);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.why-main-card h3 {
  font-size: var(--font-3xl);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: var(--spacing-md);
}

.why-main-card p { opacity: 0.85; font-size: 0.95rem; }

.why-stat-row {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-top: var(--spacing-lg);
}

.why-stat {
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: var(--spacing-md) 1.2rem;
  flex: 1;
  min-width: 90px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.15);
}

.why-stat .ws-num {
  font-size: var(--font-3xl);
  font-weight: 800;
  line-height: 1;
}

.why-stat .ws-label {
  font-size: var(--font-xs);
  opacity: 0.75;
  margin-top: 0.2rem;
}

.why-floating {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  border: 1px solid var(--border);
  min-width: 200px;
}

.wf-icon {
  width: 40px; height: 40px;
  background: rgba(34,197,94,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  font-size: 1.1rem;
}

.wf-text .wf-title {
  font-weight: 700;
  font-size: var(--font-sm);
  color: var(--dark);
  margin-bottom: 0.1rem;
}

.wf-text .wf-sub {
  font-size: var(--font-xs);
  color: var(--text-light);
}

/* ============================================================
   CTA SECTION
============================================================ */
#cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--accent) 100%);
  position: relative;
  overflow: hidden;
}

.cta-orb-1 {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 65%);
  top: -200px; left: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.cta-orb-2 {
  position: absolute;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 65%);
  bottom: -120px; right: -80px;
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 68px 0;
}

.cta-inner h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.cta-inner h2 .cta-highlight {
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-inner p {
  color: rgba(255,255,255,0.9);
  font-size: var(--font-lg);
  max-width: 520px;
  margin: var(--spacing-md) auto var(--spacing-xl);
}

.cta-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: center;
}

.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255,255,255,0.2);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: rgba(255,255,255,0.85);
  font-size: var(--font-sm);
  font-weight: 600;
}

.trust-item i { color: #4ade80; font-size: var(--font-base); }

/* ============================================================
   FOOTER
============================================================ */
#footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-brand-name {
  font-size: var(--font-xl);
  font-weight: 800;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.footer-brand-name span { color: var(--primary-light); }

.footer-tagline {
  color: #94a3b8;
  font-size: var(--font-sm);
  line-height: 1.7;
  max-width: 270px;
  margin-bottom: var(--spacing-lg);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.fs-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: var(--font-sm);
  transition: var(--transition);
}

.fs-icon:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

.footer-heading {
  font-size: var(--font-sm);
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  color: #475569;
  font-size: var(--font-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.footer-links a:hover { color: var(--primary-light); padding-left: 5px; }
.footer-links a i { transition: transform 0.2s ease; }
.footer-links a:hover i { transform: translateX(2px); }

.footer-contact-item {
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
  margin-bottom: 0.75rem;
  color: #475569;
  font-size: var(--font-sm);
}

.footer-contact-item i {
  color: var(--primary-light);
  font-size: var(--font-base);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a { color: #475569; }
.footer-contact-item a:hover { color: var(--primary-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: var(--spacing-xl);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.footer-bottom span,
.footer-bottom a {
  font-size: var(--font-xs);
  color: #334155;
}

.footer-bottom a:hover { color: #a5b4fc; }

/* ============================================================
   RESPONSIVE
============================================================ */
/* ============================================================
   BACK-TO-TOP BUTTON
============================================================ */
#backToTop {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(79,70,229,0.35);
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.25s ease;
  pointer-events: none;
}
#backToTop.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#backToTop:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 32px rgba(37, 99, 235, 0.4);
}
#backToTop:active { transform: translateY(0) scale(0.97); }

/* ============================================================
   BUTTON RIPPLE
============================================================ */
.ripple-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: ripple-anim 0.55s linear;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* ============================================================
   CARD TILT UTILITY (via JS data-tilt)
============================================================ */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* ============================================================
   RESPONSIVE
============================================================ */

/* Tablet (992px and below) */
@media (max-width: 991.98px) {
  .floating-badge { display: none; }
  .exp-badge { position: static; display: inline-block; margin-top: 1rem; }
  .why-floating { display: none; }
  .hero-stats { justify-content: center; }
  html { scroll-padding-top: 70px; }
  
  /* Navbar adjustments */
  #mainNavbar { padding-top: 1rem; padding-bottom: 1rem; }
  .navbar-brand .brand-name { font-size: 1.15rem; }
  .brand-icon { width: 34px; height: 34px; font-size: 0.9rem; }
  
  /* Section spacing */
  .section { padding: 48px 0; }
  .section-sm { padding: 40px 0; }
  
  /* Card adjustments */
  .service-card { padding: 1.5rem 1.25rem; }
  .why-card { padding: 1.2rem 1.3rem; }
  
  /* Process timeline */
  .process-timeline { grid-template-columns: 1fr; gap: 1rem; }
  .process-step { padding: 1.25rem; }
  
  /* Statistics cards */
  .stat-card { padding: 1.25rem; }
  .sc-icon { width: 48px; height: 48px; font-size: 1.2rem; }
  .sc-number { font-size: 1.8rem; }
  
  /* Trust badges */
  .trust-badges { grid-template-columns: 1fr; }
  .trust-header { padding-right: 0; margin-bottom: 1.5rem; }
  
  /* Tech expertise badges */
  .tech-expertise-badges { gap: 0.5rem; }
  .tech-badge-mini { font-size: 0.75rem; padding: 0.35rem 0.75rem; }
  
  /* Consultation CTA */
  .consultation-cta-content { padding-right: 0; margin-bottom: 1.5rem; }
  .consultation-cta-card { padding: 1.5rem; }
  .cc-icon { width: 56px; height: 56px; font-size: 1.3rem; }
  .cta-features { gap: 0.5rem; }
  
  /* Typography */
  .section-title { font-size: clamp(1.5rem, 4vw, 2.1rem); }
  .hero-heading { font-size: clamp(2rem, 6vw, 3.2rem); }
}

/* Mobile (768px and below) */
@media (max-width: 767.98px) {
  .section { padding: 48px 0; }
  .section-sm { padding: 36px 0; }
  .section-title { letter-spacing: -0.3px; font-size: clamp(1.4rem, 5vw, 1.9rem); }
  .section-desc { font-size: 0.95rem; max-width: 100%; }
  
  /* Hero section */
  .hero-cta-group { justify-content: center; }
  .hero-cta-note { justify-content: center; text-align: center; }
  .hero-content { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-heading { letter-spacing: -1.5px; }
  .hero-stats { justify-content: center; gap: 0.6rem; }
  .stat-pill { min-width: 105px; padding: 0.75rem 1rem; }
  .stat-pill .num { font-size: 1.6rem; }
  
  /* Process timeline */
  .process-timeline { grid-template-columns: 1fr; gap: 1rem; }
  .process-step { padding: 1.25rem; }
  .process-number { font-size: 2rem; }
  .process-icon { width: 48px; height: 48px; font-size: 1.1rem; }
  
  /* Statistics cards */
  .stat-card { padding: 1.25rem; }
  .sc-icon { width: 48px; height: 48px; font-size: 1.2rem; }
  .sc-number { font-size: 1.8rem; }
  .sc-label { font-size: 0.75rem; }
  
  /* Trust badges */
  .trust-badges { grid-template-columns: 1fr; }
  .trust-header { padding-right: 0; margin-bottom: 1rem; }
  .trust-title { font-size: 1.1rem; }
  .trust-sub { font-size: 0.85rem; }
  .trust-badge-item { padding: 0.875rem 1rem; }
  .tbi-icon { width: 40px; height: 40px; font-size: 1rem; }
  
  /* Tech expertise badges */
  .tech-expertise-badges { gap: 0.5rem; margin-top: 1rem; }
  .tech-badge-mini { font-size: 0.75rem; padding: 0.35rem 0.7rem; }
  
  /* Service cards compact */
  .service-card-compact { padding: 1rem; }
  .sc-icon { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 0.75rem; }
  .service-card-compact h5 { font-size: 0.95rem; margin-bottom: 0.5rem; }
  .service-card-compact p { font-size: 0.8rem; margin-bottom: 0.75rem; }
  .sc-tags { gap: 0.35rem; margin-bottom: 0.75rem; }
  .sc-tag { font-size: 0.65rem; padding: 0.2rem 0.4rem; }
  
  /* Tech grid */
  .tech-grid { gap: 0.5rem 0.75rem; max-width: 100%; }
  .tech-badge { padding: 0.4rem 0.75rem; font-size: 0.8rem; }
  
  /* Trust commitment */
  .trust-commitment { padding: 1.25rem 1.5rem; }
  .trust-commitment-content { gap: 0.875rem; }
  .tc-icon { width: 44px; height: 44px; font-size: 1.1rem; }
  .tc-text h6 { font-size: 0.95rem; }
  .tc-text p { font-size: 0.8rem; }
  
  /* Consultation CTA */
  .consultation-cta-content { padding-right: 0; margin-bottom: 1.5rem; }
  .consultation-cta-content h3 { font-size: 1.4rem; }
  .consultation-cta-card { padding: 1.25rem; }
  .cc-icon { width: 52px; height: 52px; font-size: 1.2rem; }
  .consultation-cta-card h4 { font-size: 1.1rem; }
  .cta-features { gap: 0.5rem; }
  
  /* Why section */
  .why-main-card { padding: 1.75rem 1.25rem; }
  .why-main-card h3 { font-size: 1.6rem; }
  .why-stat-row { gap: 0.75rem; }
  .why-stat { padding: 0.85rem 1rem; min-width: 80px; }
  .why-stat .ws-num { font-size: 1.5rem; }
  
  /* CTA section */
  .cta-inner { padding: 52px 0; }
  .cta-inner h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .cta-inner p { font-size: 0.95rem; margin: 0.85rem auto 1.5rem; }
  .cta-btn-group { gap: 0.85rem; }
  .cta-trust { gap: 1rem; flex-direction: column; align-items: center; }
  
  /* Footer */
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-brand-name { font-size: 1.2rem; }
  
  /* Larger tap targets on mobile */
  .nav-link-custom { padding: 0.6rem 1rem !important; }
  .btn-primary-custom,
  .btn-outline-custom,
  .btn-white-custom { min-height: 48px; padding: 0.85rem 1.5rem; }
  
  /* Improve readability */
  body { font-size: 15px; line-height: 1.78; }
  
  /* Service cards */
  .service-card { padding: 1.4rem 1.15rem; }
  .service-card h5 { font-size: 1rem; }
  .service-card p { font-size: 0.875rem; }
  
  /* About section */
  .about-img-box { height: 320px; }
  .about-feature { padding: 1rem; }
}

/* Small mobile (576px and below) */
@media (max-width: 575.98px) {
  .section { padding: 44px 0; }
  .section-sm { padding: 32px 0; }
  .section-tag { font-size: 0.7rem; padding: 0.35rem 0.85rem; }
  .section-title { font-size: clamp(1.3rem, 6vw, 1.7rem); }
  .section-desc { font-size: 0.9rem; }
  
  /* Hero section */
  .hero-heading { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hero-sub { font-size: 1rem; }
  .hero-badge { font-size: 0.7rem; padding: 0.35rem 0.9rem; }
  .stat-pill { min-width: 90px; padding: 0.65rem 0.85rem; }
  .stat-pill .num { font-size: 1.4rem; }
  .stat-pill .label { font-size: 0.65rem; }
  
  /* Why section */
  .why-card { padding: 1.1rem 1.15rem; }
  .why-card h6 { font-size: 0.875rem; }
  .why-card p { font-size: 0.8rem; }
  .why-icon { width: 44px; height: 44px; font-size: 1rem; }
  .why-stat-row { flex-direction: column; }
  .why-stat { min-width: auto; padding: 0.75rem 0.9rem; }
  .why-stat .ws-num { font-size: 1.4rem; }
  
  /* Service cards */
  .service-card { padding: 1.25rem 1rem; }
  .service-card-top { margin-bottom: 1rem; }
  .s-icon { width: 48px; height: 48px; font-size: 1.25rem; }
  .service-card h5 { font-size: 0.95rem; }
  .service-card p { font-size: 0.85rem; margin-bottom: 1rem; }
  .service-link { font-size: 0.8rem; margin-top: 1rem; }
  
  /* About section */
  .about-img-box { height: 280px; }
  .about-feature { padding: 0.9rem; gap: 0.85rem; }
  .af-icon { width: 38px; height: 38px; font-size: 1rem; }
  .af-text h6 { font-size: 0.85rem; }
  .af-text p { font-size: 0.8rem; }
  .exp-badge { padding: 1rem 1.25rem; min-width: 110px; }
  .exp-badge .exp-num { font-size: 1.6rem; }
  
  /* CTA section */
  .cta-inner { padding: 40px 0; }
  .cta-inner h2 { font-size: clamp(1.4rem, 7vw, 2rem); }
  .cta-inner p { font-size: 0.9rem; }
  
  /* Full-width buttons on very small screens */
  .hero-cta-group .btn-primary-custom,
  .hero-cta-group .btn-outline-custom { width: 100%; justify-content: center; }
  
  #backToTop { bottom: 1.2rem; right: 1.2rem; width: 40px; height: 40px; }
  
  /* Footer */
  .footer-brand-name { font-size: 1.1rem; }
  .footer-heading { font-size: 0.8rem; margin-bottom: 1rem; }
  .footer-links a { font-size: 0.8rem; }
  .footer-contact-item { font-size: 0.8rem; gap: 0.6rem; }
  .footer-cta { padding: 1.5rem; }
  .footer-cta-content { flex-direction: column; text-align: center; gap: 1rem; }
  .fcta-icon { width: 48px; height: 48px; font-size: 1.2rem; }
  .fcta-text h6 { font-size: 1rem; }
  .fcta-text p { font-size: 0.85rem; }
}

/* Extra small mobile (400px and below) */
@media (max-width: 399.98px) {
  .section { padding: 36px 0; }
  .section-sm { padding: 28px 0; }
  
  /* Hero */
  .hero-heading { font-size: clamp(1.6rem, 10vw, 2.2rem); }
  .hero-sub { font-size: 0.95rem; }
  .stat-pill { min-width: 80px; padding: 0.6rem 0.75rem; }
  
  /* Buttons */
  .btn-primary-custom,
  .btn-outline-custom { padding: 0.8rem 1.25rem; font-size: 0.9rem; }
  
  /* Cards */
  .service-card { padding: 1.15rem 0.9rem; }
  .why-card { padding: 1rem 0.9rem; }
  
  /* Typography */
  body { font-size: 14px; }
}

/* Prevent content overflow */
@media (max-width: 767.98px) {
  /* Prevent horizontal scroll */
  body, html { overflow-x: hidden; }
  
  /* Fix long text overflow */
  .section-tag { white-space: normal; text-align: center; }
  .service-tags { flex-wrap: wrap; }
  .s-tag { white-space: normal; text-align: center; }
  
  /* Fix table overflow */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  
  /* Fix image overflow */
  img { max-width: 100%; height: auto; }
  
  /* Fix code blocks overflow */
  .code-block { font-size: 0.75rem; overflow-x: auto; }
  
  /* Fix button text overflow */
  .btn-primary-custom,
  .btn-outline-custom { white-space: normal; text-align: center; }
}

/* Form responsive improvements */
@media (max-width: 767.98px) {
  /* Form inputs */
  .form-control,
  .form-select {
    font-size: 16px !important; /* Prevent iOS zoom */
    padding: 0.75rem 1rem;
  }
  
  /* Form labels */
  .form-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  /* Form groups */
  .mb-3 { margin-bottom: 1rem !important; }
  
  /* Checkbox/Radio improvements */
  .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
  }
  .form-check-label {
    font-size: 0.9rem;
    margin-left: 0.5rem;
  }
}

/* Grid responsive improvements */
@media (max-width: 767.98px) {
  /* Ensure proper stacking */
  .row { margin-left: -0.75rem; margin-right: -0.75rem; }
  .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
  .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4,
  .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10,
  .col-sm-11, .col-sm-12 { padding-left: 0.75rem; padding-right: 0.75rem; }
  
  /* Grid gap adjustments */
  .g-3, .g-4, .g-5 { gap: 1rem !important; }
}

/* Navbar responsive improvements */
@media (max-width: 991.98px) {
  /* Mobile navbar */
  #mainNavbar .navbar-collapse {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid rgba(255,255,255,0.08);
  }
  
  /* Mobile nav links */
  .navbar-nav { gap: 0.5rem; }
  .nav-link-custom {
    padding: 0.75rem 1rem !important;
    border-radius: 10px;
    font-size: 0.95rem;
  }
  
  /* Mobile dropdown */
  .saas-dropdown {
    background: rgba(255,255,255,0.05);
    border: none;
    border-radius: 10px;
    box-shadow: none;
    backdrop-filter: none;
    margin-top: 0 !important;
    padding: 0.25rem 0;
  }
  
  .saas-dropdown .dropdown-item {
    color: rgba(255,255,255,0.7);
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .saas-dropdown .dropdown-item:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
    padding-left: 1.25rem;
  }
  
  /* Mobile CTA button */
  .navbar .btn-primary-custom {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  #mainNavbar .navbar-collapse {
    padding: 0.75rem;
    margin-top: 0.75rem;
  }
  
  .nav-link-custom {
    padding: 0.65rem 0.9rem !important;
    font-size: 0.9rem;
  }
}

/* =============================================
   SAAS ENHANCEMENTS
   Trusted Ticker · Tech Badges · Glass Cards
   Bento Grid · Glow Hovers · Mesh Sections
   ============================================= */

/* ---------- SaaS CSS variables ---------- */
:root {
  --glow-primary: 0 0 0 1px rgba(99,102,241,.18),  0 8px 32px rgba(79,70,229,.22),  0 0 60px rgba(79,70,229,.07);
  --glow-accent:  0 0 0 1px rgba(6,182,212,.18),   0 8px 32px rgba(6,182,212,.22),  0 0 60px rgba(6,182,212,.07);
  --radius-xl:    28px;
}

/* ---------- Dark mesh gradient background ---------- */
.section-dark {
  background: linear-gradient(135deg, #08101f 0%, #0f172a 55%, #130e2a 100%);
  color: #f1f5f9;
  position: relative;
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%,  rgba(99,102,241,.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 100% 100%, rgba(6,182,212,.09) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.section-dark > .container { position: relative; z-index: 1; }

/* ---------- Trusted-By / Tech Ticker ---------- */
.trusted-section {
  padding: 36px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.trusted-label {
  text-align: center;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.ticker-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem 2.2rem;
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color .25s;
  cursor: default;
}
.ticker-item:hover { color: var(--primary); }
.ticker-item i { font-size: 1.25rem; flex-shrink: 0; }

.ticker-sep {
  display: inline-flex;
  align-items: center;
  padding: 0 .3rem;
  color: var(--border);
  font-size: 1.1rem;
  line-height: 1;
}

/* ---------- Tech Stack section ---------- */
.techstack-section {
  background: linear-gradient(to bottom, var(--bg-light), var(--white));
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: center;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: .7rem 1.35rem;
  font-size: .84rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  cursor: default;
}
.tech-badge i { font-size: 1.2rem; transition: transform .25s ease; }
.tech-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--glow-primary);
}
.tech-badge:hover i { transform: scale(1.15) rotate(-6deg); }

/* Brand icon colour classes */
.ti-react   { color: #61dafb; }
.ti-angular { color: #dd1b16; }
.ti-vue     { color: #42b883; }
.ti-node    { color: #68a063; }
.ti-python  { color: #3776ab; }
.ti-aws     { color: #ff9900; }
.ti-docker  { color: #2496ed; }
.ti-android { color: #3ddc84; }
.ti-apple   { color: #555;    }
.ti-figma   { color: #f24e1e; }
.ti-js      { color: #f7df1e; }
.ti-git     { color: #f05032; }
.ti-github  { color: #333;    }
.ti-html    { color: #e34f26; }
.ti-css     { color: #264de4; }

/* ---------- Glass card utility ---------- */
.glass-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.glass-card-dark {
  background: rgba(15,23,42,.7);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ---------- Bento Feature Grid ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.bento-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
  border-radius: 3px 3px 0 0;
}
.bento-card:hover::before { transform: scaleX(1); }
.bento-card:hover {
  border-color: rgba(99,102,241,.25);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.bento-wide { grid-column: span 2; }

.bento-card .bc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(99,102,241,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
  transition: var(--transition);
}
.bento-card:hover .bc-icon { background: var(--primary); color: #fff; transform: scale(1.05); }

.bento-card h5 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .45rem;
}
.bento-card p {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* ---------- Enhanced service-card bottom glow stripe ---------- */
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 1.5rem; right: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform .4s ease;
  border-radius: 2px;
}
.service-card:hover::before { transform: scaleX(1); }

/* ---------- Stats banner (gradient band) ---------- */
.stats-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #4338ca 50%, var(--accent) 100%);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.sb-stat .sb-num {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}
.sb-stat .sb-label {
  font-size: .76rem;
  opacity: .78;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: .3rem;
}
.sb-divider {
  width: 1px;
  background: rgba(255,255,255,.2);
  align-self: stretch;
  margin: 0 .5rem;
}

/* ---------- AOS pointer-events fix ---------- */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ---------- Responsive SaaS additions ---------- */
@media (max-width: 991.98px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
}
@media (max-width: 767.98px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .ticker-item { padding: .6rem 1.4rem; }
  .stats-banner { padding: 2rem 1.5rem; }
}
@media (max-width: 575.98px) {
  .tech-grid { gap: .55rem; }
  .tech-badge { padding: .5rem .9rem; font-size: .78rem; }
  .sb-stat .sb-num { font-size: 2rem; }
}
