/* ========================================================================
   CODLAB Dark Theme — codlab-dark.css
   Replaces codlab-pro.css + orange-theme.css
   Palette: Dark Navy #262b32 | Aqua #54a8c7
   Font: THICCCBOI (Sandbox Demo 3)
   ======================================================================== */

/* ========================================================================
   0a. NAVBAR LOGO FIX — Always show white logo on dark navbar
   ======================================================================== */
.navbar.navbar-dark .logo-dark,
.navbar.navbar-dark.fixed .logo-dark,
.navbar.transparent.navbar-dark.fixed .logo-dark {
  display: none !important;
}

.navbar.navbar-dark .logo-light,
.navbar.navbar-dark.fixed .logo-light,
.navbar.transparent.navbar-dark.fixed .logo-light {
  display: inline-block !important;
}

/* Header wrapper: dark bg */
header.wrapper {
  background-color: #262b32 !important;
}

/* Clone/fixed navbar: dark bg to match hero */
.navbar.navbar-dark.navbar-clone.fixed {
  background-color: #262b32 !important;
  backdrop-filter: blur(12px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
  box-shadow: 0 1px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Ensure nav links stay white on dark sticky navbar */
.navbar.navbar-dark.navbar-clone.fixed .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
}

.navbar.navbar-dark.navbar-clone.fixed .nav-link:hover {
  color: #54a8c7 !important;
}

/* Navbar fixed button color override */
.navbar.navbar-dark.fixed .btn:not(.btn-expand):not(.btn-gradient) {
  background: #54a8c7 !important;
  border-color: #54a8c7 !important;
  color: #ffffff !important;
}

/* ========================================================================
   0b. UNICONS ICON FIX — ensure icon font is used
   ======================================================================== */
[class^="uil-"],
[class*=" uil-"],
.uil {
  font-family: 'Unicons' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================================================
   0. FONT OVERRIDE
   ======================================================================== */
body {
  font-family: 'THICCCBOI', sans-serif;
}

/* ========================================================================
   1. COLOR OVERRIDES (was orange-theme.css)
   ======================================================================== */

/* Nav link hover */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: #54a8c7 !important;
}

.nav-link::after {
  color: #54a8c7 !important;
}

/* Primary button */
.btn-yellow {
  background-color: #54a8c7 !important;
  border-color: #54a8c7 !important;
}

.btn-yellow:hover {
  background-color: #468faa !important;
  border-color: #468faa !important;
}

/* Soft button */
.btn-soft-yellow {
  color: #54a8c7 !important;
  background-color: rgba(84, 168, 199, 0.1) !important;
}

.btn-soft-yellow:hover {
  background-color: #54a8c7 !important;
  color: #fff !important;
}

.btn-soft-yellow:active {
  background-color: #54a8c7 !important;
  border-color: #54a8c7 !important;
  color: #fff !important;
}

.btn-yellow:active {
  background-color: #468faa !important;
  border-color: #468faa !important;
}

/* Link "more" in cards */
.more:hover {
  color: #54a8c7 !important;
}

/* Accordion */
.accordion-button::before {
  color: #54a8c7 !important;
}

.accordion-button:hover,
.accordion-button.collapsed:hover {
  color: #54a8c7 !important;
}

/* ========================================================================
   2. CARD HOVER — Subtle lift + glow
   ======================================================================== */
.card {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 3rem rgba(30, 34, 40, 0.12) !important;
}

/* ========================================================================
   3. BUTTONS — Micro lift + glow
   ======================================================================== */
.btn {
  transition: transform 0.25s ease,
              box-shadow 0.25s ease,
              background-color 0.25s ease,
              border-color 0.25s ease !important;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

/* Primary CTA glow */
.btn-yellow:hover,
.btn[style*="54a8c7"]:hover {
  box-shadow: 0 0.5rem 1.5rem rgba(84, 168, 199, 0.35) !important;
}

/* Soft button hover */
.btn-soft-yellow:hover {
  box-shadow: 0 0.4rem 1.2rem rgba(84, 168, 199, 0.2) !important;
}

/* Process step number circles - more visible */
.icon.btn.btn-circle.btn-soft-yellow {
  background-color: rgba(84, 168, 199, 0.15) !important;
  border: 1px solid rgba(84, 168, 199, 0.25) !important;
}

.icon.btn.btn-circle.btn-soft-yellow .number {
  color: #54a8c7 !important;
  font-weight: 800 !important;
}

/* CTA dark section buttons */
.cta-dark .btn-yellow {
  background: #54a8c7 !important;
  border-color: #54a8c7 !important;
  color: #fff !important;
  box-shadow: 0 0.5rem 1.5rem rgba(84, 168, 199, 0.3) !important;
}

.cta-dark .btn-yellow:hover {
  background: #468faa !important;
  box-shadow: 0 0.5rem 2rem rgba(84, 168, 199, 0.5) !important;
}

/* Outline white button - used on dark hero sections */
.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
  background: transparent !important;
}

.btn-outline-white:hover {
  background: #fff !important;
  border-color: #fff !important;
  color: #343f52 !important;
}

.btn-outline-white:active {
  background: #fff !important;
  border-color: #fff !important;
  color: #343f52 !important;
}

.cta-dark .btn-outline-white {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
}

.cta-dark .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #fff !important;
}

/* ========================================================================
   4. LINKS — Animated underline
   ======================================================================== */
.more.hover {
  position: relative;
  text-decoration: none !important;
}

.more.hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.more.hover:hover::after {
  width: 100%;
}

/* ========================================================================
   5. SERVICE ICONS — Subtle bounce on hover
   ======================================================================== */
.card-body img[class*="w-[5rem]"] {
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.card:hover .card-body img[class*="w-[5rem]"] {
  transform: scale(1.1) translateY(-4px);
}

/* ========================================================================
   6. SECTION ILLUSTRATIONS — Parallax feel
   ======================================================================== */
figure img,
.wrapper > .container img[class*="w-full"],
.wrapper > .container img[class*="w-auto"] {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

figure:hover img {
  transform: scale(1.02);
}

/* ========================================================================
   7. NAVBAR — Glassmorphism on stick
   ======================================================================== */
.navbar-stick {
  backdrop-filter: blur(12px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
  background-color: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 1px 15px rgba(30, 34, 40, 0.08) !important;
}

/* ========================================================================
   8. PROCESS STEP CARDS — Number badge pulse
   ======================================================================== */
.accordion-button {
  transition: color 0.25s ease !important;
}

.icon .number {
  transition: transform 0.3s ease;
}

.card:hover .icon .number {
  transform: scale(1.15);
}

/* ========================================================================
   9. FEATURE CHECKMARKS — Pop effect
   ======================================================================== */
.flex.items-center.gap-2 span[class*="text-[#22c55e]"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  font-size: 0.85rem;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55),
              background-color 0.3s ease;
}

.flex.items-center.gap-2:hover span[class*="text-[#22c55e]"] {
  transform: scale(1.2);
  background: rgba(34, 197, 94, 0.2);
}

/* ========================================================================
   10. SMOOTH SCROLL
   ======================================================================== */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ========================================================================
   11. SELECTION COLOR — Aqua
   ======================================================================== */
::selection {
  background: rgba(84, 168, 199, 0.2);
  color: inherit;
}

/* ========================================================================
   12. FOCUS RING — Aqua
   ======================================================================== */
:focus-visible {
  outline: 2px solid #54a8c7 !important;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ========================================================================
   13. FOOTER NEWSLETTER INPUT
   ======================================================================== */
footer input[type="email"]:focus {
  border-color: #54a8c7 !important;
  box-shadow: 0 0 0 3px rgba(84, 168, 199, 0.15) !important;
}

/* ========================================================================
   14. SCROLL PROGRESS — Aqua
   ======================================================================== */
.progress-wrap svg.progress-circle path {
  stroke: #54a8c7 !important;
}

/* ========================================================================
   15. IMAGE LOADING — Graceful fade-in
   ======================================================================== */
img[loading="lazy"] {
  opacity: 0;
  animation: imgFadeIn 0.6s ease forwards;
}

@keyframes imgFadeIn {
  to { opacity: 1; }
}

img[loading="eager"],
img.svg-inject {
  opacity: 1 !important;
  animation: none !important;
}

/* ========================================================================
   16. PRINT STYLES
   ======================================================================== */
@media print {
  .card:hover { transform: none; box-shadow: none !important; }
  .btn:hover { transform: none; }
  [data-cue] { opacity: 1 !important; transform: none !important; }
  .client-marquee-track { animation: none; }
}

/* ========================================================================
   17. CLIENT LOGO MARQUEE
   ======================================================================== */
.client-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.client-marquee::before,
.client-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.client-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #262b32 0%, transparent 100%);
}

.client-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #262b32 0%, transparent 100%);
}

.client-marquee-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.client-marquee-track img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.5);
  transition: filter 0.3s ease;
  flex-shrink: 0;
}

.client-marquee-track img:hover {
  filter: brightness(0) invert(1) opacity(0.9);
}

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

@media (prefers-reduced-motion: reduce) {
  .client-marquee-track { animation: none; }
}

/* ========================================================================
   18. RESULT CARDS
   ======================================================================== */
.result-card {
  background: #fff;
  border-radius: 0.8rem;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 0.25rem 1.75rem rgba(30, 34, 40, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  height: 100%;
}

.result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.5rem 2rem rgba(30, 34, 40, 0.12);
}

.result-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #54a8c7;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.result-desc {
  font-size: 0.95rem;
  color: #60697b;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.result-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 50rem;
  background: #f0f2f5;
  color: #60697b;
}

/* ========================================================================
   19. FOUNDER / TEAM SECTION
   ======================================================================== */
.founder-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 0.5rem 1.5rem rgba(30, 34, 40, 0.12);
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0.25rem 0.75rem rgba(30, 34, 40, 0.1);
}

.team-avatar-lg {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 0.5rem 1.5rem rgba(30, 34, 40, 0.12);
  transition: transform 0.3s ease;
}

.team-avatar-lg:hover {
  transform: scale(1.08);
}

.lang-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #60697b;
  background: #fff;
  padding: 0.4rem 1rem;
  border-radius: 50rem;
  box-shadow: 0 0.15rem 0.75rem rgba(30, 34, 40, 0.07);
}

/* ========================================================================
   20. BREADCRUMB HIDE (keep in DOM for SEO/screen readers)
   ======================================================================== */
nav[aria-label="breadcrumb"],
.breadcrumb,
.breadcrumb-item,
ol.breadcrumb,
li.breadcrumb-item {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ========================================================================
   21. DARK HERO SECTION
   ======================================================================== */
.hero-dark {
  background: #262b32;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-dark h1,
.hero-dark h2,
.hero-dark h3 {
  color: #fff;
}

.hero-dark p {
  color: rgba(255, 255, 255, 0.75);
}

/* Gradient text accent */
.hero-dark .text-gradient,
.hero-dark .gradient-text {
  background: linear-gradient(135deg, #54a8c7 0%, #7ec8e3 50%, #54a8c7 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

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

/* Floating glass shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(84, 168, 199, 0.08);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(84, 168, 199, 0.15);
  pointer-events: none;
  z-index: 0;
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  top: -120px;
  right: -80px;
  animation: heroFloat 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 250px;
  height: 250px;
  bottom: -60px;
  left: -40px;
  animation: heroFloat 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  left: 15%;
  animation: heroFloat 12s ease-in-out infinite 2s;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%      { transform: translateY(-20px) rotate(2deg); }
  66%      { transform: translateY(10px) rotate(-1deg); }
}

/* Hero content sits above shapes */
.hero-dark .container {
  position: relative;
  z-index: 1;
}

/* ========================================================================
   22. HERO ENTRANCE ANIMATIONS
   ======================================================================== */
@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-animate-text {
  animation: heroFadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-animate-image {
  animation: heroFadeInRight 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.hero-animate-badges {
  animation: heroFadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both;
}

/* ========================================================================
   23. HERO TRUST BADGES
   ======================================================================== */
.hero-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 50rem;
  transition: background 0.3s ease;
}

.hero-dark .hero-badge {
  color: rgba(255, 255, 255, 0.8);
}

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

.hero-badge-icon {
  width: 2rem;
  height: 2rem;
  background: rgba(84, 168, 199, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #54a8c7;
  font-size: 0.9rem;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .hero-badges {
    gap: 1rem;
  }
  .hero-badge {
    font-size: 0.78rem;
    padding: 0.4rem 0.75rem;
  }
}

/* ========================================================================
   24. GLASSMORPHISM UTILITY CLASSES
   ======================================================================== */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
}

/* ========================================================================
   25. STATS SECTION — Dark
   ======================================================================== */
.stats-section {
  background: #262b32;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(84, 168, 199, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #54a8c7;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 767px) {
  .stat-number {
    font-size: 2.2rem;
  }
  .stat-label {
    font-size: 0.8rem;
  }
}

/* ========================================================================
   26. CTA DARK SECTION
   ======================================================================== */
.cta-dark {
  background: #262b32;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.cta-dark::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(84, 168, 199, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-dark::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(84, 168, 199, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-dark h2,
.cta-dark h3 {
  color: #fff;
}

.cta-dark p {
  color: rgba(255, 255, 255, 0.7);
}

/* Glowing aqua button */
.cta-dark .btn-aqua,
.btn-aqua {
  display: inline-block;
  background: #54a8c7;
  color: #fff;
  border: none;
  padding: 0.85rem 2.5rem;
  border-radius: 50rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease,
              box-shadow 0.25s ease,
              background-color 0.25s ease;
  cursor: pointer;
}

.btn-aqua:hover {
  transform: translateY(-2px);
  background: #468faa;
  box-shadow: 0 0.5rem 2rem rgba(84, 168, 199, 0.4),
              0 0 40px rgba(84, 168, 199, 0.15);
  color: #fff;
}

.btn-aqua:active {
  transform: translateY(0) scale(0.98);
}

/* ========================================================================
   27. CTA BANNER (gradient variant, kept from original)
   ======================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #262b32 0%, #354050 50%, #262b32 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(84, 168, 199, 0.08);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: rgba(84, 168, 199, 0.05);
  border-radius: 50%;
}

/* ========================================================================
   28. SERVICE CARDS — "More" link
   ======================================================================== */
.service-card .more {
  color: #54a8c7 !important;
  font-weight: 600;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.3s ease;
}

.service-card .more:hover {
  color: #54a8c7 !important;
  gap: 0.5rem;
}

.service-card .more::after {
  content: '\2192';
  transition: transform 0.3s ease;
}

.service-card .more:hover::after {
  transform: translateX(3px);
}

/* ========================================================================
   29. TRUST BAR / TECH LOGOS
   ======================================================================== */
.trust-bar-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: #f9fafb;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.trust-logo-item:hover {
  background: #fff;
  border-color: #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.trust-logo-item svg {
  flex-shrink: 0;
}

.trust-logo-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4b5563;
  letter-spacing: 0.02em;
}

@media (max-width: 767px) {
  .trust-bar-logos {
    gap: 0.75rem;
  }
  .trust-logo-item {
    padding: 0.4rem 0.7rem;
  }
  .trust-logo-item svg {
    width: 28px;
    height: 28px;
  }
  .trust-logo-item span {
    font-size: 0.7rem;
  }
}

/* ========================================================================
   30. REDUCED MOTION — Respect preferences
   ======================================================================== */
@media (prefers-reduced-motion: reduce) {
  .card,
  .btn,
  .more.hover::after,
  figure img,
  .icon .number,
  .card-body img {
    transition: none !important;
  }

  .card:hover {
    transform: none;
  }

  .btn:hover,
  .btn:active {
    transform: none;
  }

  img[loading="lazy"] {
    animation: none;
    opacity: 1;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-shape {
    animation: none !important;
  }

  .hero-dark .text-gradient,
  .hero-dark .gradient-text {
    animation: none !important;
  }

  .hero-animate-text,
  .hero-animate-image,
  .hero-animate-badges {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ========================================================================
   31. MOBILE — NAVBAR & HAMBURGER
   ======================================================================== */
@media (max-width: 991px) {
  /* Ensure hamburger button is visible and touchable */
  button.hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  /* Better hamburger lines for mobile */
  button.hamburger span,
  button.hamburger::before,
  button.hamburger::after {
    height: 2.5px;
    border-radius: 2px;
  }

  /* Navbar container: prevent overflow, better spacing */
  .navbar > .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    gap: 0.25rem;
  }

  /* Logo sizing */
  .navbar-brand img {
    width: 160px !important;
    height: auto;
  }

  /* Offcanvas mobile menu improvements */
  .offcanvas-nav {
    width: 85vw !important;
    max-width: 320px !important;
  }

  .offcanvas-nav .offcanvas-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .offcanvas-nav .offcanvas-body {
    padding: 1rem 0;
  }

  /* Mobile nav links: large touch targets */
  .offcanvas-nav .navbar-nav .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .offcanvas-nav .navbar-nav .nav-link {
    padding: 14px 1.5rem !important;
    font-size: 1rem !important;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .offcanvas-nav .navbar-nav .nav-link:active {
    background: rgba(84, 168, 199, 0.15);
  }

  /* Offcanvas footer */
  .offcanvas-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
  }

  /* Navbar-other: compact layout on mobile */
  .navbar-other {
    flex-shrink: 0 !important;
    width: auto !important;
    max-width: none !important;
  }

  .navbar-other .navbar-nav {
    flex-wrap: nowrap !important;
    gap: 0.15rem !important;
  }

  /* Touch-friendly nav items in navbar-other */
  .navbar-other .nav-item .nav-link,
  .navbar-other .nav-item button {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem !important;
  }
}

/* ========================================================================
   32. MOBILE — TOUCH TARGETS (all mobile)
   ======================================================================== */
@media (max-width: 767px) {
  /* Minimum touch target size (Apple HIG: 44px) */
  a, button, [role="button"],
  input[type="submit"],
  input[type="button"],
  .nav-link {
    min-height: 44px;
  }

  /* Buttons: full width on mobile when in stacked layout */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Cards: reduce padding for mobile */
  .card-body {
    padding: 1.5rem !important;
  }

  /* Section spacing: tighter on mobile */
  section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Headings: responsive sizing */
  h1 { font-size: 1.75rem !important; }
  h2 { font-size: 1.5rem !important; }
  h3 { font-size: 1.25rem !important; }

  /* Lead text: smaller on mobile */
  .lead {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  /* Images: ensure they fit */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .wrapper:not(header), section {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .container:not(.navbar .container) {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* Form inputs: larger on mobile for usability */
  .form-control,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
    padding: 0.75rem 1rem;
    min-height: 48px;
    border-radius: 0.5rem;
  }

  /* Footer: stack columns */
  footer .flex-wrap > div {
    margin-bottom: 2rem;
  }

  /* Newsletter form: stack on mobile */
  #newsletter-form {
    flex-direction: column !important;
  }

  #newsletter-form .btn {
    width: 100%;
  }

  /* Cookie banner: mobile-friendly */
  .codlab-cookie-banner {
    padding: 16px 12px !important;
  }

  .codlab-cookie-content {
    flex-direction: column !important;
    gap: 16px !important;
  }

  .codlab-cookie-actions {
    width: 100% !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .codlab-btn-cookie {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
  }

  .codlab-cookie-text h3 {
    font-size: 18px !important;
  }

  .codlab-cookie-text p {
    font-size: 13px !important;
  }

  /* Cookie settings button: smaller on mobile */
  .codlab-cookie-settings-btn {
    width: 48px !important;
    height: 48px !important;
    bottom: 16px !important;
    right: 16px !important;
    font-size: 22px !important;
  }

  /* Cookie modal: full screen on mobile */
  .codlab-cookie-modal-content {
    margin: 0 !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
  }

  .codlab-cookie-modal {
    padding: 0 !important;
  }

  .codlab-cookie-modal-header {
    padding: 16px 20px !important;
  }

  .codlab-cookie-modal-body {
    padding: 16px 20px !important;
  }

  .codlab-cookie-modal-footer {
    padding: 16px 20px !important;
    flex-direction: column !important;
  }

  .codlab-cookie-modal-footer .codlab-btn-cookie {
    width: 100% !important;
  }

  /* Progress/scroll-to-top: smaller on mobile */
  .progress-wrap {
    width: 2rem !important;
    height: 2rem !important;
    right: 0.75rem !important;
    bottom: 5rem !important; /* Above cookie button */
  }

  .progress-wrap::after {
    font-size: 1rem !important;
    width: 2rem !important;
    height: 2rem !important;
    line-height: 2rem !important;
  }
}

/* ========================================================================
   33. MOBILE — EXTRA SMALL SCREENS (< 375px)
   ======================================================================== */
@media (max-width: 374px) {
  .navbar-brand img {
    width: 85px !important;
  }

  .navbar-other .navbar-nav {
    gap: 0 !important;
  }

  h1 { font-size: 1.5rem !important; }
  h2 { font-size: 1.3rem !important; }

  .card-body {
    padding: 1rem !important;
  }
}

/* ========================================================================
   34. MOBILE — iOS SAFE AREAS & FIXES
   ======================================================================== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  footer {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .codlab-cookie-banner {
    padding-bottom: calc(16px + env(safe-area-inset-bottom)) !important;
  }

  .codlab-cookie-settings-btn {
    bottom: calc(16px + env(safe-area-inset-bottom)) !important;
  }

  .progress-wrap {
    bottom: calc(5rem + env(safe-area-inset-bottom)) !important;
  }

  .offcanvas-nav .offcanvas-footer {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }
}

/* iOS: momentum scrolling */
.offcanvas-body,
.codlab-cookie-modal-body {
  -webkit-overflow-scrolling: touch;
}

/* Disable hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {
  .card:hover {
    transform: none;
    box-shadow: 0 0.25rem 1.75rem rgba(30, 34, 40, 0.07) !important;
  }

  .btn:hover {
    transform: none;
  }

  .card:hover .card-body img[class*="w-[5rem]"] {
    transform: none;
  }

  figure:hover img {
    transform: none;
  }

  .card:hover .icon .number {
    transform: none;
  }

  .language-switcher .inactive-language:hover {
    opacity: 0.5 !important;
    transform: none !important;
    background: transparent !important;
  }

  .language-switcher .inactive-language:active {
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.7) !important;
    transform: scale(0.9) !important;
    transition: all 0.1s ease !important;
  }
}

/* ========================================================================
   35. MOBILE — LANDSCAPE
   ======================================================================== */
@media (max-height: 500px) and (orientation: landscape) {
  .navbar {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }

  .offcanvas-nav .navbar-nav .nav-link {
    padding: 10px 1.5rem !important;
    min-height: 40px;
  }
}

/* ========================================================================
   36. MOBILE — SECTION GAP FIXES
   ======================================================================== */
@media (max-width: 768px) {
  section .container[class*="py-16"],
  section .container.py-16 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  section .container {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  section figure img[src*=".svg"],
  section img[src*=".svg"] {
    max-height: 280px !important;
    width: auto !important;
    margin: 0 auto;
    display: block;
  }

  .hero-animate-image img {
    max-height: 320px !important;
  }

  .flex.flex-wrap[class*="mt-[-50px]"] {
    margin-top: -20px !important;
  }

  section .container .flex.flex-wrap[class*="mb-16"],
  section .container .flex.flex-wrap[class*="mb-20"] {
    margin-bottom: 2rem !important;
  }

  .stats-section .container {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .cta-banner .container,
  .cta-dark .container {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .trust-bar-logos {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Hero shapes: smaller on mobile */
  .hero-shape-1 {
    width: 200px;
    height: 200px;
  }
  .hero-shape-2 {
    width: 150px;
    height: 150px;
  }
  .hero-shape-3 {
    display: none;
  }
}

/* ========================================================================
   37. FORCE VISIBILITY — Contact cards on mobile
   ======================================================================== */
@media (max-width: 767px) {
  [data-cues="slideInUp"][data-group="contact-cards"] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ========================================================================
   38a. GRADIENT OVERRIDES — Remove warm gradients
   ======================================================================== */
.bg-gradient-yellow,
.wrapper.bg-gradient-yellow {
  background: #f6f7f9 !important;
}

.bg-gradient-primary,
.wrapper.bg-gradient-primary,
.bg-gradient-reverse-primary,
.wrapper.bg-gradient-reverse-primary {
  background: #f0f2f5 !important;
}

/* ========================================================================
   38. SERVICE ICONS — Unicons in styled containers
   ======================================================================== */
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(84, 168, 199, 0.12) 0%, rgba(84, 168, 199, 0.06) 100%);
  border: 1px solid rgba(84, 168, 199, 0.15);
  color: #54a8c7;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.service-icon i {
  line-height: 1;
}

.card-body .service-icon {
  margin: 0 auto 1rem;
}

.card:hover .service-icon,
.service-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.5rem 1.5rem rgba(84, 168, 199, 0.15);
  background: linear-gradient(135deg, rgba(84, 168, 199, 0.18) 0%, rgba(84, 168, 199, 0.1) 100%);
}

/* Large service icon variant (for section illustrations) */
.service-icon-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  font-size: 3.5rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(84, 168, 199, 0.1) 0%, rgba(84, 168, 199, 0.04) 100%);
  border: 1px solid rgba(84, 168, 199, 0.12);
  color: #54a8c7;
  transition: transform 0.4s ease;
}

.service-icon-lg:hover {
  transform: scale(1.05);
}
