/********************************************************
    Template Name: taskquatch
    Created By: TrendyTheme
    Envato Profile: https://themeforest.net/user/trendytheme
    Website: http://trendytheme.net
    Version: 1.0
    Support: http://trendytheme.net/support
*********************************************************/

/*
====================================
[ CSS TABLE CONTENT ]
------------------------------------
    1.0 - General
    2.0 - Page Header
    3.0 - Global Classes
    4.0 - Pre Defined Filter/Overlay
    5.0 - Hero Section
    6.0 - Presentation Wrapper
    7.0 - Video Presentaion
    8.0 - Featured Item
    9.0 - Mockup Presentaion
    10.0 - Screenshot Wrapper
    11.0 - Testimonial Carousel
    12.0 - Pricing Table
    13.0 - Fun Facts
    14.0 - Download Wrapper
    15.0 - Clients
    16.0 - Magnific Popup Customisation for Zoom Effect
    16.0 - Preloader

-------------------------------------
[ END CSS TABLE CONTENT ]
=====================================
*/

/* Brand Color Variables */
:root {
  --brand-primary: #1A2E3B;
  --brand-primary-soft: #24485E;
  --brand-secondary: #FF6B6B;
  --brand-cream: #F9F7F2;
  --brand-charcoal: #0F1B24;
  --brand-teal-light: var(--brand-primary-soft);
  --brand-glass-border: rgba(255, 255, 255, 0.1);
  --gray-text: rgba(15, 27, 36, 0.78);
  --gray-light: var(--brand-cream);
  --price-accent: #2F9E66;
  --shadow-sm: 0 10px 30px rgba(15, 27, 36, 0.12);
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 15px;
  line-height: 29px;
  font-weight: 400;
  color: var(--gray-text);
  background-color: var(--gray-light);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased !important;
  /* Remove hardware acceleration that causes flickering */
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
  transform: none !important;
  -webkit-backface-visibility: visible !important;
  -moz-backface-visibility: visible !important;
  -ms-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-perspective: none !important;
  -moz-perspective: none !important;
  -ms-perspective: none !important;
  perspective: none !important;
}

html {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  /* Remove hardware acceleration that causes flickering */
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
  transform: none !important;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

/* Ensure wrapper allows overflow for larger images on mobile */
.wrapper {
  overflow-x: hidden; /* Prevent horizontal scroll */
  overflow-y: visible; /* Allow vertical scroll */
}

/* Mobile-first: prevent horizontal overflow and improve touch targets */
@media (max-width: 767px) {
  .wrapper,
  .main.main-raised,
  .container {
    overflow-x: hidden;
  }
  /* Prevent Common Tasks (and similar sections) from having inner vertical scroll */
  #common-tasks,
  #common-tasks .container,
  #how-it-works,
  #how-it-works .container {
    overflow-x: hidden !important;
    overflow-y: visible !important;
  }
  .tt-main-header .hero-headline {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  /* Features video block: full width on mobile */
  #features .col-md-8.col-md-offset-2 {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  .video-container {
    margin-left: 0;
    margin-right: 0;
  }
  /* How It Works + Trust: fix feature cards on mobile - no horizontal overflow */
  #how-it-works .card-row-equal,
  .card-row-equal {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
  #how-it-works .card-row-equal [class*="col-"],
  .light-grey-bg .card-row-equal [class*="col-"] {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 16px;
  }
  #how-it-works .card-row-equal .feature-card-compact,
  .card-row-equal .feature-card,
  .card-row-equal .feature-card-compact {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .card-row-equal.card-row-trust [class*="col-"] {
    flex-basis: 100%;
    max-width: 100%;
  }
  /* Center common tasks cards on mobile: center card inside each column */
  #common-tasks .common-task-col {
    display: flex !important;
    justify-content: center !important;
  }
  #common-tasks .common-task-col .common-task-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  /* Center join the community (Earn) cards on mobile */
  #earning .earning-content-row {
    justify-content: center !important;
  }
  #earning .community-stats-inline {
    justify-content: center !important;
  }
  #earning .community-stats-inline > [class*="col-"] {
    display: flex !important;
    justify-content: center !important;
  }
  #earning .community-stat-inline {
    max-width: 280px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #earning .earning-block {
    max-width: 400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* Center press cards on mobile */
  #real-stories .press-carousel .owl-item,
  .press-carousel .owl-item {
    display: flex !important;
    justify-content: center !important;
  }
  #real-stories .press-carousel .press-item,
  .press-carousel .press-item {
    width: 100% !important;
    max-width: 380px !important;
  }
  #real-stories .press-carousel .press-card,
  .press-carousel .press-card {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* Center story (testimonial) cards on mobile */
  #real-stories .story-cards-row {
    justify-content: center;
  }
  #real-stories .story-col {
    display: flex !important;
    justify-content: center !important;
  }
  #real-stories .story-col .story-card {
    width: 100%;
    max-width: 380px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* Constrain main content container on mobile */
  .main.main-raised .container {
    width: 100%;
    max-width: 100%;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: -0.02em;
  color: var(--brand-charcoal);
  margin: 0 0 15px;
}

.text-white {
  color: #ede2d3 !important;
}

.light-grey-bg {
  background-color: var(--brand-cream);
}

@media screen and (min-width: 992px) {
  .bg-fixed {
    background-attachment: fixed;
  }
}

/*Homepage Header*/
.tt-main-header {
  padding-top: 14vh;
  padding-bottom: 60px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-soft) 100%);
  background-attachment: fixed;
  overflow-x: hidden; /* prevent hero content (marquee, mockup) from causing page horizontal scroll */
  overflow-y: visible;
}

.tt-main-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
  opacity: 0.3;
  z-index: 1;
}

.tt-main-header .title {
  color: #fff;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

/* Premium hero layout (60/40) */
.tt-main-header .hero-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .tt-main-header .hero-grid {
    display: block;
  }
}

.tt-main-header .hero-left,
.tt-main-header .hero-right {
  min-width: 0;
}

.tt-main-header .hero-right {
  justify-self: end;
}

.hero-mockup {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-height: 520px;
  overflow: visible;
}

.hero-mockup-img {
  width: 128%;
  max-width: 820px;
  height: auto;
  display: block;
  max-width: none;
  filter: drop-shadow(0 30px 90px rgba(0, 0, 0, 0.38));
  transform: translateY(10px) translateX(10px);
}

@media (max-width: 991px) {
  .hero-mockup {
    min-height: 0;
    margin-top: 34px;
    justify-content: center;
  }
  .hero-mockup-img {
    width: 110%;
    max-width: none;
    transform: none;
  }
}

/* Hero headline - larger, conversion driver */
.tt-main-header .hero-headline {
  margin-top: 0;
  padding-top: 0;
  font-size: 3.05em;
  line-height: 1.2;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: -0.02em;
  color: var(--brand-cream) !important;
}

.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.hero-checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(249, 247, 242, 0.92);
  font-size: 1.08em;
  line-height: 1.5;
}

.hero-checklist .lucide {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
  color: rgba(249, 247, 242, 0.92);
}

.trust-glass {
  margin-top: 18px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--brand-glass-border);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  max-width: 560px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

/* Hero: service search under trust glass matches trust panel width (same max-width + full width of column) */
.tt-main-header .hero-left .hero-trust-search-row.row {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  max-width: 560px;
}

.tt-main-header .hero-left .hero-trust-search-row .service-match-search {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.trust-glass-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.trust-glass-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-glass-item .lucide {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--brand-secondary);
}

.trust-glass-text {
  min-width: 0;
}

.trust-glass-value {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.1;
}

.trust-glass-label {
  font-size: 0.92em;
  color: rgba(249, 247, 242, 0.78);
  line-height: 1.2;
}

/* Mobile / small screens: keep 3×2 grid with tighter spacing (avoid one tall column of six rows) */
@media (max-width: 576px) {
  .trust-glass {
    margin-top: 12px;
    padding: 8px;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  }

  .trust-glass-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .trust-glass-item {
    gap: 5px;
    padding: 6px 4px;
    border-radius: 10px;
  }

  .trust-glass-item .lucide {
    width: 14px;
    height: 14px;
  }

  .trust-glass-value {
    font-size: 0.72rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
  }

  .trust-glass-label {
    font-size: 0.6rem;
    line-height: 1.15;
    opacity: 0.9;
  }
}

@media (max-width: 768px) and (min-width: 577px) {
  .trust-glass-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tt-main-header .description,
.tt-main-header .hero-subhead {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 1.3em;
  line-height: 1.6em;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 2;
}

.tt-main-header .hero-subhead {
  margin-bottom: 10px;
  /* Desktop/tablet: lay points out horizontally for fast scanning */
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
}

.tt-main-header .hero-subhead .hero-subhead-point {
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
}

.tt-main-header .hero-subhead .hero-subhead-point:first-child {
  margin-top: 0;
}

.tt-main-header .hero-subhead .hero-subhead-point i {
  color: var(--brand-secondary);
  width: 18px;
  text-align: center;
  margin-right: 8px;
}

.hero-hook {
  margin: 6px 0 10px 0;
  font-size: 1.05em;
  font-weight: 600;
  color: rgba(255, 246, 235, 0.92);
  letter-spacing: 0.01em;
  position: relative;
  z-index: 2;
}

/* Specialty marquees under the hero trust bar */
.hero-specialty-marquees {
  margin-top: 14px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  max-width: 680px;
  width: 100%;
  min-width: 0; /* allow flex shrink so column doesn't overflow */
}

/* Specialty marquee in Common Tasks section (light background) */
.specialty-marquees-row {
  margin-bottom: 28px;
}
.specialty-marquees-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
  margin: 0 0 10px 0;
  text-align: center;
}
#common-tasks .specialty-marquees-row {
  margin-top: 0;
  margin-bottom: 44px;
}
#common-tasks .specialty-marquees-in-section.hero-specialty-marquees {
  margin-top: 0;
  margin-bottom: 0;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
/* Single row + slower animation in Services so search bar stays primary */
#common-tasks .specialty-marquees-row .hero-marquee-bottom {
  display: none;
}
#common-tasks .hero-marquee-track-left {
  animation: hero-marquee-left 180s linear infinite;
}
#common-tasks .hero-marquee-track-right {
  animation: hero-marquee-right 200s linear infinite;
}
#common-tasks .hero-marquee-item {
  color: #003F4E;
  background: #fff;
  border: 1px solid rgba(0, 63, 78, 0.2);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
#common-tasks .hero-marquee-item:hover {
  background: #f8f9fa;
  border-color: rgba(0, 63, 78, 0.35);
  color: #003F4E;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
#common-tasks .hero-marquee-label {
  color: inherit;
}

/* Mockup column */
.tt-main-header .col-md-5 {
  position: relative;
}

.hero-marquee {
  overflow: hidden;
  border-radius: 12px;
  /* softer edge fade so cards at edges aren't harshly cut off (5%–95% solid) */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.hero-marquee-bottom {
  margin-top: 14px;
}
#common-tasks .hero-marquee-bottom {
  margin-top: 18px;
}

.hero-marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  align-items: center;
  padding: 4px 0;
}

.hero-marquee-track-left {
  animation: hero-marquee-left 110s linear infinite;
}

.hero-marquee-track-right {
  animation: hero-marquee-right 130s linear infinite;
}

@keyframes hero-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes hero-marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.hero-marquee-item {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  position: relative;
  padding: 6px 10px 6px 58px; /* left padding = 6 + 42 (img) + 10 (gap) */
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  overflow: hidden;
  flex-shrink: 0; /* prevent pills from squashing; full label stays visible */
  max-width: min(280px, 100%); /* cap pill width so very long names don't break layout */
}

.hero-marquee-item:hover {
  background: rgba(0, 0, 0, 0.26);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* Image absolutely positioned inside pill so it cannot render outside */
.hero-marquee-item-img {
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  border-radius: 10px;
  object-fit: cover;
  display: block !important;
  pointer-events: none;
}

.hero-marquee-label {
  font-size: 0.95em;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px; /* long names get ellipsis instead of wrapping or overflowing */
}

@media (prefers-reduced-motion: reduce) {
  .hero-marquee-track-left,
  .hero-marquee-track-right {
    animation: none;
  }
}

@media (max-width: 768px) {
  .hero-specialty-marquees {
    max-width: 100%;
  }
  .hero-marquee-item-img,
  .hero-marquee-item img {
    display: none !important;
  }
  .hero-marquee-item {
    padding: 6px 12px; /* same left/right when no image */
    max-width: min(220px, 100%);
  }
  .hero-marquee-label {
    font-size: 0.9em;
    max-width: 180px;
  }
}

/* Short label above trust bar */
.hero-trust-label {
  margin: 0 0 8px 0;
  font-size: 0.95em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 2;
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.trust-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95em;
}

.trust-indicator i {
  color: var(--brand-secondary);
  font-size: 1.2em;
}

/* Hero trust bar - 2 rows, full width, multiple trust items */
.trust-indicators.hero-trust-bar {
  margin-top: 16px;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.05em;
  letter-spacing: 0.02em;
}

.trust-indicators.hero-trust-bar-two-rows {
  /* Keep the bar compact on desktop so it doesn't look "empty" */
  display: inline-grid;
  grid-template-columns: repeat(3, max-content);
  gap: 12px 20px;
  align-items: center;
  justify-content: start;
}

.trust-indicators.hero-trust-bar .trust-indicator {
  font-weight: 700;
  white-space: nowrap;
  gap: 6px;
}

.trust-indicators.hero-trust-bar .trust-indicator i {
  font-size: 1.25em;
}

/* Hero CTA hierarchy - primary dominant, secondary subtle */
.hero-buttons {
  margin-top: 28px;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.hero-buttons .hero-cta-primary,
.hero-buttons .hero-cta-secondary {
  /* Force identical sizing (height + vertical alignment), keep side-by-side */
  display: inline-flex !important;
  width: auto !important;
  flex-shrink: 0 !important;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 26px !important;
  line-height: 1;
  box-sizing: border-box;
  vertical-align: middle;
  gap: 8px;
  border-radius: 999px;
}

.hero-buttons .hero-cta-primary {
  font-size: 1.05em;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  background: var(--brand-secondary) !important;
  color: #fff !important;
  border: 2px solid transparent !important;
}

.hero-buttons .hero-cta-secondary {
  /* Same size as primary CTA, but outline treatment */
  font-size: 1.05em;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: rgba(255, 255, 255, 0.95);
}

.hero-buttons .hero-cta-primary:hover,
.hero-buttons .hero-cta-primary:focus {
  transform: translateY(-1px);
  filter: brightness(0.98);
  color: #fff !important;
}

.hero-buttons .hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: white;
}

/* Primary CTA glow/pulse (reduced-motion safe) */
.hero-cta-glow {
  box-shadow: 0 12px 32px rgba(255, 107, 107, 0.24);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-cta-glow {
    animation: cta-glow-pulse 2.4s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cta-glow {
    animation: none !important;
  }
}

@keyframes cta-glow-pulse {
  0% {
    box-shadow: 0 12px 32px rgba(255, 107, 107, 0.22);
  }
  50% {
    box-shadow: 0 18px 48px rgba(255, 107, 107, 0.34);
  }
  100% {
    box-shadow: 0 12px 32px rgba(255, 107, 107, 0.22);
  }
}

/* iPhone-style mockup (CSS frame around screenshot) */
.phone-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 520px;
}

.phone-mockup {
  width: min(390px, 100%);
  margin-left: auto;
  position: relative;
  z-index: 2;
}

.phone-frame {
  position: relative;
  border-radius: 46px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 26px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 3;
}

.phone-screen-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
}

.brand-seal {
  position: absolute;
  left: -14px;
  bottom: -10px;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.brand-seal img {
  width: 86%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

@media (max-width: 991px) {
  .phone-visual {
    justify-content: center;
    min-height: 0;
    margin-top: 34px;
  }
  .phone-mockup {
    margin-left: 0;
  }
  .brand-seal {
    left: 10px;
    bottom: -18px;
    width: 120px;
    height: 120px;
  }
}

/* Role Switching Animation */
.role-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.role-switch .role-badge {
  padding: 6px 14px;
  background: var(--brand-secondary);
  color: white;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9em;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Ensure mockup image has proper spacing - desktop only */
@media (min-width: 992px) {
  .tt-main-header .col-md-5 {
    position: relative;
    z-index: 2;
    overflow: visible !important;
    padding-left: 0 !important;
  }

  /* Reduce gap between text and image */
  .tt-main-header .col-md-7 {
    padding-right: 10px !important;
  }
}

/* Allow row to overflow for larger image */
.tt-main-header .row {
  overflow: visible !important;
}

/* Allow container to overflow for larger image */
.tt-main-header .container {
  overflow: visible !important;
}

/* Base image styles - desktop only */
@media (min-width: 992px) {
  /* Frameless mockup: no stage, no card – just the phone on the teal background */
  .tt-main-header .device-mockup-img {
    max-width: 125% !important;
    width: 125% !important;
    height: auto !important;
    object-fit: contain !important;
    margin-bottom: 20px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    display: block;
    position: relative;
    z-index: 2;
    transform: scale(1) !important;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  
  .tt-main-header .col-md-5 {
    margin-left: 0 !important;
    padding-left: 15px !important;
  }
  
  .tt-main-header .col-md-7 {
    padding-right: 15px !important;
  }
}

/* Reset image styles on mobile */
@media (max-width: 991px) {
  .tt-main-header .col-md-5 {
    margin-left: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    text-align: center;
  }
  
  .tt-main-header .col-md-7 {
    padding-right: 15px !important;
    padding-left: 15px !important;
  }
  
  /* Frameless mockup: no stage on mobile/tablet */
  .tt-main-header .device-mockup-img {
    max-width: 95% !important;
    width: 95% !important;
    height: auto !important;
    margin: 0 auto 20px !important;
    display: block;
    object-fit: contain !important;
    border-radius: 0;
    box-shadow: none;
  }
  
  .tt-main-header .container {
    overflow: visible !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .tt-main-header .row {
    overflow: visible !important;
    margin-left: 0;
    margin-right: 0;
  }
}


/* Larger size for desktop screens */
@media (min-width: 1200px) {
  .tt-main-header .col-md-5 {
    margin-left: 0 !important;
  }
  
  .tt-main-header .device-mockup-img {
    width: 130% !important;
    max-width: 130% !important;
    margin-left: auto !important;
    margin-top: 0 !important;
  }
  
  .tt-main-header .col-md-7 {
    padding-right: 15px !important;
  }
}

/* Extra large screens */
@media (min-width: 1400px) {
  .tt-main-header .col-md-5 {
    margin-left: 0 !important;
  }
  
  .tt-main-header .device-mockup-img {
    width: 135% !important;
    max-width: 135% !important;
    margin-left: auto !important;
    margin-top: 0 !important;
  }
}

/* Add extra spacing for the main content section - prevent horizontal overflow, no inner scroll */
.main.main-raised {
  position: relative;
  z-index: 1;
  margin-top: 0; /* Ensure no top margin that could cause overlap */
  overflow-x: hidden;
  overflow-y: visible;
  max-width: 100%;
}

/* Keep container and rows within viewport at all breakpoints */
.main.main-raised .container {
  box-sizing: border-box;
  max-width: 100%;
}

.main.main-raised .row {
  box-sizing: border-box;
  max-width: 100%;
}

.main.main-raised .section-padding:first-child {
  padding-top: 70px;
  position: relative;
  z-index: 1;
}

/* Ensure the hero section container has proper overflow handling */
.tt-main-header .container {
  position: relative;
  z-index: 2;
  overflow: visible !important;
}

/* Add a subtle shadow or border to help separate sections visually */
.main.main-raised {
  box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
  border-radius: 10px 10px 0 0;
  margin-top: -10px; /* Slight overlap to create seamless transition */
}

/*Page Header*/
.tt-page-header {
  height: 400px;
  padding-top: 150px;
}
.tt-page-header .title {
  color: #ede2d3;
  margin: 0;
}

.title {
  font-weight: 500;
  color: #3e3e3e;
}

h2.title {
  margin-bottom: 30px;
}

.description {
  font-size: 1.1em;
  line-height: 1.6em;
}

.section-divider {
  display: inline-block;
  width: 20px;
  height: 3px;
  margin-bottom: 20px;
}

.section-divider.white {
  background-color: #ede2d3;
}


.section-padding {
  padding-top: 55px;
  padding-bottom: 55px;
}

/*typography page*/
.tt-typo {
  padding-left: 25%;
  margin-bottom: 40px;
  position: relative;
}
.tt-typo .tt-note {
  bottom: 10px;
  color: #c0c1c2;
  display: block;
  font-weight: 400;
  font-size: 13px;
  line-height: 13px;
  left: 0;
  margin-left: 20px;
  position: absolute;
  width: 260px;
}

/*margin classes*/
.no-margin {
  margin: 0;
}
.margin-top-80 {
  margin-top: 80px;
}
.margin-bottom-40 {
  margin-bottom: 40px;
}
.margin-bottom-60 {
  margin-bottom: 60px;
}
.margin-bottom-80 {
  margin-bottom: 80px;
}

/*padding classes*/
.no-gutter > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}
.padding-top-100 {
  padding-top: 100px;
}
.padding-bottom-100 {
  padding-bottom: 100px;
}

/* ================= Pre Defined Filter ==================== */
.filter,
.filter .container {
  position: relative;
}
.filter:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(38, 35, 34, 0.2); /*fallback overlay*/
}

/* dark overlay */
.filter.dark-0:before {
  background-color: rgba(38, 35, 34, 0);
}
.filter.dark-1:before {
  background-color: rgba(38, 35, 34, 0.1);
}
.filter.dark-2:before {
  background-color: rgba(38, 35, 34, 0.2);
}
.filter.dark-3:before {
  background-color: rgba(38, 35, 34, 0.3);
}
.filter.dark-4:before {
  background-color: rgba(38, 35, 34, 0.4);
}
.filter.dark-5:before {
  background-color: rgba(38, 35, 34, 0.5);
}
.filter.dark-6:before {
  background-color: rgba(38, 35, 34, 0.6);
}
.filter.dark-7:before {
  background-color: rgba(38, 35, 34, 0.7);
}
.filter.dark-8:before {
  background-color: rgba(38, 35, 34, 0.8);
}
.filter.dark-9:before {
  background-color: rgba(38, 35, 34, 0.9);
}
.filter.dark-10:before {
  background-color: rgba(38, 35, 34, 1);
}

/*
Hero Section
------------------------------------------------------*/
.header img {
  max-width: 100%;
}

/* Override legacy hero img constraint for premium mockup */
.tt-main-header img.hero-mockup-img {
  width: 120% !important;
  max-width: none !important;
  height: auto !important;
}

@media screen and (max-width: 991px) {
  .header img {
    display: block;
    margin: 20px auto -50px;
  }

  .tt-main-header img.hero-mockup-img {
    width: 100% !important;
    margin: 0 auto !important;
  }
}

/*
Presentation Wrapper
------------------------------------------------------*/
.presentation-wrapper {
  position: relative;
  padding-top: 110px;
  padding-bottom: 110px;
}

@media screen and (min-width: 768px) {
  .presentation {
    min-height: 690px;
  }
}

.presentation img {
  position: absolute;
}
.presentation .first {
  left: calc(50% - 510px);
  top: 7%;
  z-index: 1;
}
.presentation .second {
  left: calc(50% - 230px);
  z-index: 3;
}
.presentation .third {
  left: calc(50% - -135px);
  top: 7%;
  z-index: 2;
}

@media screen and (max-width: 1040px) {
  .presentation .third {
    left: calc(50% - -80px);
  }
}
@media screen and (max-width: 991px) {
  .presentation .first {
    left: calc(50% - 400px);
  }
  .presentation .third {
    left: calc(50% - -10px);
  }
}
@media screen and (max-width: 767px) {
  .presentation .first,
  .presentation .third {
    display: none;
  }
  .presentation .second {
    position: static;
    margin: 0 auto;
  }
}

/*
Video Presentaion
------------------------------------------------------*/
.video-presentaion {
  padding-top: 200px;
  padding-bottom: 200px;
  background: url("assets/img/video-banner.jpg");
  background-size: cover !important;
}
.video-presentaion h2 {
  font-weight: 400;
}
.play-trigger {
  color: #fff;
  margin-bottom: 30px;
  display: inline-block;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.play-trigger i {
  font-size: 90px;
}

@media screen and (max-width: 767px) {
  .video-presentaion {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/*
Featured-item
------------------------------------------------------*/
.featured-item .icon i {
  width: 70px;
  height: 70px;
  font-size: 36px;
  line-height: 68px;
  text-align: center;
  border-radius: 50%;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  transition: all 0.3s;
}
.featured-item.icon-border .icon i {
  border: 1px solid #ccc;
}
.featured-item:hover .icon i {
  color: #fff;
  border-color: transparent;
}

.primary-bg .featured-item .icon i {
  color: #fff;
}

.featured-item.icon-left .icon i {
  float: left;
  margin-top: 25px;
  margin-right: 20px;
}
.featured-item.icon-right .icon i {
  float: right;
  margin-top: 25px;
  margin-left: 20px;
}
.featured-item.icon-right {
  text-align: right;
}

.featured-item .desc {
  overflow: hidden;
}

@media screen and (max-width: 991px) {
  .featured-item.icon-right .icon i {
    float: left;
    margin-right: 20px;
    margin-left: 0;
  }
  .featured-item.icon-right {
    text-align: left;
  }
  .featured-item.margin-top-80 {
    margin-top: 30px;
  }
}

/*featured-carousel*/
.featured-carousel .featured-item .desc h3 {
  color: #fff;
  text-transform: capitalize;
  margin-bottom: 30px;
}
.featured-carousel.owl-theme .owl-controls {
  margin-top: 55px;
}

.featured-carousel.owl-theme .owl-dots .owl-dot span {
  width: 13px;
  height: 13px;
  margin: 5px 5px;
  background: rgba(0, 0, 0, 0.25);
}

.primary-bg .featured-carousel.owl-theme .owl-dots .owl-dot.active span,
.primary-bg .featured-carousel.owl-theme .owl-dots .owl-dot:hover span {
  background: #fff;
}

/*
Mockup Presentaion
------------------------------------------------------*/
.extra-fearures-wrapper {
  padding-top: 100px;
}
.mocup-wrappper {
  position: relative;
  min-height: 300px;
}
.mocup-holder img {
  max-width: 100%;
  position: absolute;
  transform: translate(0%, -50%);
}
.mocup-holder img.first {
  z-index: 1;
  bottom: -40%;
}
.mocup-holder img.second {
  z-index: 2;
  bottom: -25%;
}
.mocup-holder img.third {
  z-index: 3;
  bottom: -10%;
}

@media screen and (min-width: 1200px) {
  .mocup-holder img.first {
    left: calc(50% - 530px);
  }
  .mocup-holder img.second,
  .mocup-holder img.third {
    left: calc(50% - 430px);
  }
}

@media screen and (max-width: 768px) {
  .mocup-wrappper {
    display: none;
  }
  .extra-fearures-wrapper {
    padding-bottom: 100px;
  }
}

/*
Best solution wrapper
------------------------------------------------------*/
.best-solution-wrapper {
  padding-top: 220px;
  padding-bottom: 100px;
}
.best-solution-intro {
  padding-top: 50px;
}
@media screen and (max-width: 991px) {
  .best-solution-wrapper img {
    margin: 0 auto 50px;
  }
}

@media screen and (max-width: 768px) {
  .best-solution-wrapper {
    padding-top: 100px;
  }
}

/*
Screenshot Wrapper
------------------------------------------------------*/
.tt-screenshot-wrap {
  position: relative;
}

.tt-screenshot-wrap .arrow-left,
.tt-screenshot-wrap .arrow-right {
  width: 40px;
  height: 40px;
  position: absolute;
  z-index: 11;
  top: 50%;
  margin-top: -20px;
  background: #fff;
  border-radius: 50%;
  font-size: 24px;
  line-height: 40px;
  display: inline-block;
  text-align: center;
  opacity: 0;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.tt-screenshot-wrap .arrow-left:hover,
.tt-screenshot-wrap .arrow-right:hover {
  color: #fff;
}

.tt-screenshot-wrap .arrow-left {
  left: 20px;
}
.tt-screenshot-wrap .arrow-right {
  right: 20px;
}

.tt-screenshot-wrap:hover .arrow-left,
.tt-screenshot-wrap:hover .arrow-right {
  opacity: 1;
}

/*
Testimonial Carousel
------------------------------------------------------*/
.thumb-carousel .icon {
  margin-bottom: 50px;
}
.thumb-carousel .testimonial-meta {
  font-weight: 700;
  margin-bottom: 30px;
}
.thumb-carousel .testimonial-meta span {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}
.thumb-carousel .flex-control-thumbs li {
  width: 72px;
  float: none;
  margin: 0 15px;
}
.thumb-carousel .flex-control-thumbs img {
  opacity: 0.1;
  border-radius: 50%;
}
.thumb-carousel .flex-direction-nav a {
  display: none;
}
.thumb-carousel .flex-control-thumbs img.flex-active {
  opacity: 1;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

/*
Pricing Table
--------------------------------------------------*/
.pricing-wrapper {
  width: 95%;
  margin: 0 auto;
}
.pricing-table {
  background: #ede2d3;
  border-radius: 3px;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
  margin-bottom: 30px;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.table-contents {
  background: #ede2d3;
  padding: 30px;
}
.table-header {
  padding: 40px;
  color: #353534;
}
.package-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
}
.package-price {
  line-height: 40px;
  font-weight: 500;
}
.package-price .price {
  font-size: 50px;
}
.package-price .currency-symbol {
  font-size: 35px;
}
.package-price .currency-code {
  font-size: 16px;
}

.table-info {
  background-color: #ede2d3;
  padding: 30px;
}
.table-info ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.table-info ul li {
  font-size: 16px;
  line-height: 40px;
  color: #8f8f8f;
}

.table-footer {
  padding: 0 30px 60px;
}

.pricing-table:hover {
  box-shadow: 0 18px 38px 0 rgb(218, 218, 218), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

/*
Fun Facts
--------------------------------------------------*/
.facts-wrapper {
  padding-top: 130px;
  padding-bottom: 130px;
}
.facts-wrapper .counter-wrap i {
  font-size: 45px;
  margin-bottom: 10px;
}
.facts-wrapper .timer {
  display: block;
  font-size: 55px;
  line-height: 70px;
  font-weight: 700;
  color: #454545;
  margin-bottom: 10px;
}
.facts-wrapper .count-description {
  color: #8f8f8f;
  text-transform: uppercase;
}

@media screen and (max-width: 991px) {
  .facts-wrapper .counter-wrap {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}

/*
Download Wrapper
--------------------------------------------------*/
.download-wrapper {
  padding-top: 130px;
  padding-bottom: 130px;
  background-image: url("assets/img/download-banner.jpg");
  background-size: cover !important;
}
.download-wrapper h2 {
  text-transform: capitalize;
  font-weight: 500;
}
.download-btn-wrapper {
  margin-top: 60px;
}
.download-btn-wrapper .btn {
  text-transform: capitalize;
  margin: 5px 10px;
}
.download-btn-wrapper .btn i {
  font-size: 24px;
  margin-right: 10px;
}

.download-btn-wrapper .btn:not(.btn-just-icon):not(.btn-fab) .fa {
  font-size: 24px;
  margin-top: -8px;
  position: relative;
  top: 3px;
}

/* Clients
------------------------------------------------------------- */
.clients-grid {
  width: 95%;
  margin: 0 auto;
}
.clients-grid .border-box {
  border: 1px solid #eee;
  margin-left: -1px;
  margin-bottom: -1px;
  -webkit-transition: box-shadow 0.3s;
  -moz-transition: box-shadow 0.3s;
  -ms-transition: box-shadow 0.3s;
  transition: box-shadow 0.3s;
}

.clients-grid .border-box img {
  padding: 30px 50px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  -webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */
  filter: grayscale(100%);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  transition: all 0.3s;
}
.clients-grid .border-box img:hover {
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}

.clients-grid .border-box:hover {
  box-shadow: 0 18px 38px 0 rgb(218, 218, 218), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

/*Footer*/
@media screen and (max-width: 768px) {
  .footer nav.pull-left {
    float: none !important;
    text-align: center;
  }
}

/* 
Magnific Popup Customisation for Zoom Effect
-------------------------------------------------------------------*/
.mfp-fade.mfp-bg {
  opacity: 0;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.75;
}
.mfp-bottom-bar {
  display: none;
}
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}
.mfp-arrow-right::after,
.mfp-arrow-left::after {
  font-family: "FontAwesome";
  border: none !important;
  color: #fff;
  font-size: 65px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.mfp-arrow-right::after {
  content: "\f105" !important;
}
.mfp-arrow-left::after {
  content: "\f104" !important;
}
.mfp-arrow-right::before,
.mfp-arrow-left::before {
  border: none !important;
}
.mfp-arrow {
  height: 60px;
}
.mfp-arrow::before,
.mfp-arrow::after,
.mfp-arrow .mfp-b,
.mfp-arrow .mfp-a {
  margin-top: 15px;
  top: -1px !important;
}
img.mfp-img {
  padding: 40px 0px 0;
}
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transform: scale(0.95);
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  transform: scale(1);
  opacity: 1;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
  transform: scale(0.95);
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

/*Back to Top*/
#backTop {
  z-index: 500;
  position: fixed;
  bottom: -52px;
  right: 20px;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#backTop.show {
  bottom: 20px;
}

/* ================= Preloader ==================== */
#tt-preloader {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999999;
  display: block;
  background: #fff;
}
.tt-preloader-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
}
.tt-preloader-wave:before,
.tt-preloader-wave:after {
  position: absolute;
  display: inline-block;
  content: "";
  width: 60px;
  height: 60px;
  border-radius: 50%;
  /*background: #f96332;*/ /*color from presets*/
  -webkit-animation: preloader-wave 1.6s linear infinite;
  animation: preloader-wave 1.6s linear infinite;
}
.tt-preloader-wave:after {
  animation-delay: -0.8s;
  -webkit-animation-delay: -0.8s;
}
@keyframes preloader-wave {
  0% {
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
    opacity: 0.5;
    filter: alpha(opacity=50);
  }
  100% {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 0;
    filter: alpha(opacity=0);
  }
}
@-webkit-keyframes preloader-wave {
  0% {
    -webkit-transform: scale(0, 0);
    opacity: 0.5;
    filter: alpha(opacity=50);
  }
  100% {
    -webkit-transform: scale(1, 1);
    opacity: 0;
    filter: alpha(opacity=0);
  }
}

/* New Styles for Improved Website */

/* Hero Section Improvements - keep buttons in one row (flex is in main hero block above) */
.hero-buttons .btn,
.hero-buttons a.btn {
  margin-right: 0;
  margin-bottom: 0;
  display: inline-flex !important;
  width: auto !important;
  max-width: none !important;
}

.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(249, 247, 242, 0.92);
  color: rgba(249, 247, 242, 0.92);
  transition: all 0.3s ease;
}

.btn-outline-white:hover {
  background: rgba(249, 247, 242, 0.92);
  color: var(--brand-charcoal);
}

/* Section Improvements */
.section-description {
  font-size: 1.1em;
  color: #8f8f8f;
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature Cards */
.features-row {
  display: flex;
  flex-wrap: wrap;
}

.features-row .col-md-4 {
  display: flex;
  margin-bottom: 30px;
}

.feature-card {
  padding: 28px 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.feature-card .feature-icon {
  margin-bottom: 16px;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.feature-card .feature-icon i {
  color: var(--brand-primary);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
  color: var(--brand-secondary);
  transform: scale(1.1);
}

.feature-card h4 {
  margin-bottom: 10px;
  color: #3e3e3e;
  font-weight: 600;
  flex-shrink: 0;
}

.feature-card p {
  color: #8f8f8f;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 0;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

.feature-icon {
  margin-bottom: 25px;
  color: #003F4E;
}

.feature-card h4 {
  margin-bottom: 15px;
  color: #3e3e3e;
  font-weight: 600;
}

.feature-card p {
  color: #8f8f8f;
  line-height: 1.6;
}

/* Step Items */
.step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.step-number {
  background: var(--brand-primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 63, 78, 0.3);
  transition: all 0.3s ease;
}

.step-item:hover .step-number {
  background: var(--brand-secondary);
  transform: scale(1.1);
}

.step-content h4 {
  margin-bottom: 10px;
  color: #3e3e3e;
  font-weight: 600;
}

.step-content p {
  color: #8f8f8f;
  margin: 0;
  line-height: 1.6;
}

/* How It Works - 3 columns with icons */
#how-it-works .step-item {
  flex-direction: column;
  align-items: center;
}

#how-it-works .step-number {
  margin-right: 0;
  margin-bottom: 10px;
}

.step-number.step-number-icon {
  font-size: 1.4em;
}

.step-number.step-number-icon i {
  color: white;
}

/* Combined sections - less top/bottom padding */
.combined-section.section-padding {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* Sections with cards: do NOT create a scroll container - clip horizontal at wrapper/body only */
#how-it-works,
#common-tasks {
  overflow: visible !important;
  max-width: 100%;
}
#common-tasks .container,
#how-it-works .container,
.light-grey-bg .container {
  overflow: visible !important;
  max-width: 100%;
}

/* Compact feature cards (in How It Works + Trust) */
.feature-card-compact {
  padding: 20px 14px;
  max-width: 100%;
  box-sizing: border-box;
}

.feature-card-compact .feature-icon {
  margin-bottom: 10px;
}

.feature-card-compact h4 {
  margin-bottom: 6px;
  font-size: 1.05em;
}

.feature-card-compact p {
  margin-bottom: 0;
  font-size: 0.9em;
  line-height: 1.45;
}

/* Trust row: icon on left bumped to middle of row, text on right */
.feature-card-horizontal {
  flex-direction: row !important;
  align-items: center;
  text-align: left;
  gap: 16px;
}

.feature-card-horizontal .feature-icon {
  margin-bottom: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-horizontal .feature-icon i {
  font-size: 1.75rem;
}

.feature-card-compact-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card-horizontal .feature-card-compact-text h4 {
  margin-bottom: 4px;
}

.feature-card-horizontal .feature-card-compact-text p {
  margin-bottom: 0;
  flex: none;
  min-height: 0;
}

/* card-row-trust: ensure horizontal cards get correct flex */
.card-row-equal.card-row-trust .feature-card-horizontal .feature-card-compact-text h4,
.card-row-equal.card-row-trust .feature-card-horizontal .feature-card-compact-text p {
  flex: none;
  min-height: 0;
}

/* Equal-height card rows + even spacing - prevent overflow at all breakpoints */
.card-row-equal {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-left: -15px;
  margin-right: -15px;
  max-width: calc(100% + 30px); /* row + negative margins must not exceed container */
  box-sizing: border-box;
}

.card-row-equal [class*="col-"] {
  display: flex;
  margin-bottom: 0;
  box-sizing: border-box;
  min-width: 0; /* allow flex item to shrink below content size */
}

.card-row-equal .feature-card,
.card-row-equal .feature-card-compact,
.card-row-equal a.feature-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
}

.card-row-equal .feature-card .feature-icon,
.card-row-equal .feature-card-compact .feature-icon {
  flex-shrink: 0;
}

.card-row-equal .feature-card h4,
.card-row-equal .feature-card-compact h4 {
  flex-shrink: 0;
}

.card-row-equal .feature-card p,
.card-row-equal .feature-card-compact p {
  flex: 1;
  min-height: 2.8em;
}

.card-row-equal.card-grid [class*="col-"] {
  margin-bottom: 20px;
}

.card-row-equal.card-grid {
  margin-bottom: -20px;
}

.card-row-equal.card-grid .feature-card {
  text-align: center;
}

.card-row-equal.card-grid .feature-card p {
  text-align: center;
}

/* Why bar - inline icon + text (Features section) */
.why-bar {
  margin-top: 24px;
  padding: 20px 0;
  border-top: 1px solid #eee;
}

.why-bar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  color: #3e3e3e;
}

.why-bar-item i {
  color: var(--brand-primary);
  font-size: 1.3em;
}

/* Earning + Community merged section */
.subsection-title {
  font-size: 1.15em;
  font-weight: 600;
  color: #3e3e3e;
  margin: 0 0 12px 0;
}

/* Earning section: subheadings on one row, content aligned below */
.earning-subheadings {
  margin-bottom: 14px;
}

.earning-content-row {
  align-items: flex-start;
}

.earning-block {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
}

.earning-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
}

.earning-bullets li {
  padding: 6px 0;
  padding-left: 28px;
  position: relative;
  color: #555;
  font-size: 0.95em;
}

.earning-bullets li i {
  position: absolute;
  left: 0;
  color: var(--brand-primary);
  top: 8px;
}

.community-stats-inline {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-content: stretch;
}

.community-stats-inline > [class*="col-"] {
  display: flex;
}

.community-stats-inline .community-stat-inline {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100px;
}

.community-stat-inline {
  padding: 28px 10px !important;
  margin-bottom: 12px;
}

.community-stat-inline .stat-number {
  font-size: 1.8em;
  margin-bottom: 4px;
}

.community-stat-inline .stat-label {
  font-size: 0.85em;
}

.community-stat-inline .stat-icon {
  display: none;
}

/* Story card compact */
.story-card-compact {
  padding: 18px;
  margin-bottom: 16px;
}

.story-card-compact .story-header {
  margin-bottom: 10px;
}

.story-card-compact .story-content {
  font-size: 0.95em;
  line-height: 1.5;
}

.story-card-compact .story-task {
  font-size: 0.85em;
  margin-top: 8px;
}

/* Press carousel inside Stories section (no dark bg) */
.press-carousel-inline .press-card {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.press-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(26, 46, 59, 0.06);
  border: 1px solid rgba(15, 27, 36, 0.08);
  color: var(--brand-primary);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}

.press-carousel-inline .press-title {
  color: #3e3e3e;
}

.press-carousel-inline .press-excerpt {
  color: #666;
}

.press-carousel-inline .press-link {
  color: var(--brand-primary);
}

/* Condensed feature cards (icons + one line) */
.feature-card-condensed .feature-icon {
  margin-bottom: 10px;
}

.feature-card-condensed p {
  margin-bottom: 0;
  font-size: 0.95em;
}

/* Common task cards as links */
a.common-task-card {
  transition: all 0.3s ease;
}

a.common-task-card:hover {
  text-decoration: none;
  color: inherit;
}

a.common-task-card:hover .feature-icon i {
  color: var(--brand-secondary);
}

/* Premium service cards grid (Services section) */
#common-tasks .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 0;
  padding-top: 8px;
}

@media (max-width: 991px) {
  #common-tasks .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #common-tasks .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 27, 36, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
  color: inherit;
}

.service-card:focus,
.service-card:focus-visible {
  outline: 2px solid rgba(255, 107, 107, 0.55);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 27, 36, 0.16);
  }
}

.service-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #f3f4f6;
}

.service-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-body {
  padding: 18px 18px 16px;
}

.service-card-overline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 27, 36, 0.55);
}

.service-card-title {
  margin: 8px 0 10px;
  font-size: 1.28em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-charcoal);
}

.service-card-price {
  font-weight: 700;
  font-size: 0.98em;
  color: var(--price-accent);
}

/* Community Stats */
#community .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.community-stat {
  padding: 22px 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  transition: all 0.3s ease;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.community-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.stat-number {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--brand-primary);
  margin-bottom: 10px;
  position: relative;
}

.stat-icon {
  font-size: 2em;
  color: var(--brand-secondary);
  margin-bottom: 10px;
  display: block;
}

.community-stat {
  position: relative;
}

.community-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  border-radius: 10px 10px 0 0;
}

.stat-label {
  color: #8f8f8f;
  font-size: 1.1em;
  font-weight: 500;
}

/* Download Section */
.download-section {
  margin: 40px 0;
  pointer-events: auto;
}

.download-section a {
  pointer-events: auto;
}

.download-section img {
  max-width: 200px;
  height: auto;
  margin: 20px 0;
  transition: transform 0.3s ease;
  pointer-events: auto;
}

.download-section img:hover {
  transform: scale(1.05);
}

/* Responsive app stores image */
@media (max-width: 768px) {
  .download-section img {
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  .download-section img {
    max-width: 160px;
  }
}

@media (max-width: 360px) {
  .download-section img {
    max-width: 140px;
  }
}

.newsletter-signup {
  margin-top: 40px;
  padding: 40px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-signup h4 {
  margin-bottom: 20px;
  color: #3e3e3e;
}

.newsletter-signup .form-inline {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-signup .form-group {
  flex: 1;
  min-width: 250px;
}

.newsletter-signup .form-control {
  border-radius: 25px;
  border: 2px solid #e0e0e0;
  padding: 12px 20px;
  font-size: 16px;
}

.newsletter-signup .form-control:focus {
  border-color: #003F4E;
  box-shadow: 0 0 0 0.2rem rgba(0, 63, 78, 0.25);
}

/* Footer Improvements */
.footer {
  background: #3e3e3e;
  color: #ede2d3;
  padding: 40px 0 20px;
}

.footer h5 {
  color: #ede2d3;
  margin-bottom: 15px;
}

.footer p {
  color: #bdbdbd;
  margin: 0;
}

.social-links {
  margin-top: 10px;
}

.social-links .btn {
  margin-left: 10px;
}

/* Comprehensive Mobile Responsive Fixes */
@media (max-width: 1200px) {
  .tt-main-header .title {
    font-size: 2.4em;
    white-space: normal;
    word-wrap: break-word;
  }
  
  .tt-main-header .description {
    font-size: 1.1em;
  }
}

@media (max-width: 991px) {
  .tt-main-header {
    padding-top: 15vh;
    padding-bottom: 80px;
    min-height: auto;
  }
  
  .tt-main-header .title {
    font-size: 2.2em;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.2;
  }
  
  .tt-main-header .description {
    font-size: 1em;
    line-height: 1.5;
  }
  
  .hero-buttons .btn {
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    padding: 10px 20px;
  }
  
  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .main.main-raised .section-padding:first-child {
    padding-top: 60px;
  }
  
  .feature-card {
    padding: 30px 15px;
  }
  
  .community-stat {
    padding: 25px 15px;
  }
  
  .stat-number {
    font-size: 2.2em;
  }
  
  /* Fix hero section layout on tablets */
  .tt-main-header .col-md-5 {
    margin-top: 30px;
    margin-left: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    text-align: center;
  }
  
  .tt-main-header .device-mockup-img {
    max-width: 95% !important;
    width: 95% !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto 20px !important;
    display: block;
  }
  
  .tt-main-header .col-md-7 {
    padding-right: 15px !important;
    padding-left: 15px !important;
  }
}

@media (max-width: 768px) {
  .tt-main-header {
    padding-top: 120px; /* Fixed padding to account for navbar height */
    padding-bottom: 60px;
    min-height: auto;
  }
  
  .tt-main-header .title {
    font-size: 1.8em;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
    margin-bottom: 20px;
  }
  
  .tt-main-header .description {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  /* Mobile: stack the 3 hero points vertically */
  .tt-main-header .hero-subhead {
    display: block;
  }

  .tt-main-header .hero-subhead .hero-subhead-point {
    display: block;
    white-space: normal;
    margin-top: 8px;
  }

  .tt-main-header .hero-subhead .hero-subhead-point:first-child {
    margin-top: 0;
  }
  
  .hero-trust-label {
    font-size: 0.85em;
  }
  
  .trust-indicators.hero-trust-bar {
    padding: 12px 16px;
    gap: 10px 16px;
    font-size: 0.9em;
    margin-bottom: 26px;
  }
  .trust-indicators.hero-trust-bar-two-rows {
    /* On mobile, use full width for easy scanning */
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center; /* center each "card" within its grid cell */
  }

  .trust-indicators.hero-trust-bar-two-rows .trust-indicator {
    justify-content: center; /* center icon+label within the card */
    text-align: center;
  }
  
  .hero-buttons {
    margin-top: 24px;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    align-items: flex-start;
    gap: 12px;
  }
  
  .hero-buttons .btn,
  .hero-buttons .hero-cta-primary,
  .hero-buttons .hero-cta-secondary {
    width: 100%;
    max-width: 320px;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    font-size: 16px;
    padding: 14px 24px;
    box-sizing: border-box;
  }

  /* Center common tasks cards on mobile */
  #common-tasks .common-task-col {
    display: flex !important;
    justify-content: center !important;
  }
  #common-tasks .common-task-col .common-task-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .section-padding {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  
  .main.main-raised .section-padding:first-child {
    padding-top: 55px;
  }
  
  .section-description {
    font-size: 1em;
    margin-bottom: 24px;
  }
  
  /* Stack columns on mobile */
  .tt-main-header .col-md-7,
  .tt-main-header .col-md-5 {
    width: 100% !important;
    float: none !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Mobile hero: keep layout centered, text left-aligned (more balanced feel) */
  .tt-main-header .col-md-7 {
    max-width: 560px;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left;
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
  
  .tt-main-header .col-md-5 {
    margin-top: 30px;
    margin-left: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    text-align: center;
  }
  
  .tt-main-header .device-mockup-img {
    max-width: 95% !important;
    width: 95% !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto 20px !important;
    display: block;
  }
  
  .tt-main-header .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
  }
  
  .tt-main-header .container {
    overflow: visible !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Additional mobile fixes for navbar overlap */
  .navbar-fixed-top {
    z-index: 1030;
  }
  
  /* Ensure body has proper padding for fixed navbar */
  body {
    padding-top: 0; /* Let the header handle its own padding */
  }
  
  /* Ensure proper spacing for all sections */
  .col-md-4,
  .col-md-6,
  .col-md-3 {
    margin-bottom: 30px;
  }
  
  .step-item {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 15px;
    align-self: center;
  }
  
  .newsletter-signup {
    padding: 30px 20px;
    margin-top: 30px;
  }
  
  .newsletter-signup .form-inline {
    flex-direction: column;
  }
  
  .newsletter-signup .form-group {
    min-width: auto;
    width: 100%;
  }
  
  .footer .text-right {
    text-align: center !important;
    margin-top: 20px;
  }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
  .tt-main-header {
    padding-top: 100px; /* Slightly reduced for very small screens */
    padding-bottom: 40px;
  }
  
  .tt-main-header .title,
  .tt-main-header .hero-headline {
    font-size: 1.6em;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  
  .tt-main-header .description {
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  
  .hero-buttons .btn,
  .hero-buttons .hero-cta-primary,
  .hero-buttons .hero-cta-secondary {
    max-width: 100%;
    font-size: 14px;
    padding: 12px 16px;
  }
  
  .main.main-raised .section-padding:first-child {
    padding-top: 60px;
  }
  
  .social-links {
    text-align: center;
  }
  
  .social-links .btn {
    margin: 5px;
  }
  
  .feature-card {
    padding: 25px 15px;
    margin-bottom: 20px;
  }
  
  .community-stat,
  .community-stat-inline {
    padding: 20px 15px;
    margin-bottom: 20px;
  }
  
  .stat-number {
    font-size: 2em;
  }
  
  .stat-label {
    font-size: 1em;
  }
  
  .cta-buttons {
    gap: 12px;
  }
  
  .cta-button {
    min-width: auto;
    width: 100%;
    max-width: 100%;
    padding: 14px 24px;
  }
  
  .download-section {
    flex-direction: column;
    gap: 16px;
  }
  
  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .tt-main-header {
    padding-top: 10vh;
    padding-bottom: 30px; /* Reduced from 100px to 30px */
  }
  
  .tt-main-header .title {
    font-size: 1.5em;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
    margin-bottom: 15px;
  }
  
  .tt-main-header .description {
    font-size: 0.9em;
    line-height: 1.7;
    margin-bottom: 12px;
  }
  
  .hero-buttons {
    margin-top: 20px;
  }
  
  .hero-buttons .btn {
    font-size: 14px;
    padding: 10px 15px;
    margin-bottom: 12px;
  }
  
  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .main.main-raised .section-padding:first-child {
    padding-top: 40px; /* Reduced from 140px to 40px */
  }
  
  .section-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  
  .feature-card {
    padding: 20px 12px;
    margin-bottom: 15px;
  }
  
  .feature-card h4 {
    font-size: 1.1em;
    margin-bottom: 10px;
  }
  
  .feature-card p {
    font-size: 0.9em;
    line-height: 1.5;
  }
  
  .community-stat {
    padding: 15px 12px;
    margin-bottom: 15px;
  }
  
  .stat-number {
    font-size: 1.8em;
    margin-bottom: 8px;
  }
  
  .stat-label {
    font-size: 0.9em;
  }
  
  .step-content h4 {
    font-size: 1.1em;
    margin-bottom: 8px;
  }
  
  .step-content p {
    font-size: 0.9em;
    line-height: 1.5;
  }
  
  .newsletter-signup {
    padding: 25px 15px;
    margin-top: 25px;
  }
  
  .newsletter-signup h4 {
    font-size: 1.1em;
    margin-bottom: 15px;
  }
  
  .newsletter-signup .form-control {
    font-size: 14px;
    padding: 10px 15px;
  }
  
  .newsletter-signup .btn {
    font-size: 14px;
    padding: 10px 20px;
  }
  
  /* Reduced spacing for mockup image on small screens */
  .tt-main-header .col-md-5 {
    margin-left: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    text-align: center;
  }
  
  .tt-main-header .device-mockup-img {
    max-width: 95% !important;
    width: 95% !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto 15px !important;
    display: block;
  }
  
  .tt-main-header .col-md-7 {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
}

@media (max-width: 360px) {
  .tt-main-header .title,
  .tt-main-header .hero-headline {
    font-size: 1.3em;
    line-height: 1.5;
  }
  
  .tt-main-header .description {
    font-size: 0.85em;
    line-height: 1.8;
  }
  
  .hero-buttons .btn,
  .hero-buttons .hero-cta-primary,
  .hero-buttons .hero-cta-secondary {
    font-size: 13px;
    padding: 10px 12px;
  }
  
  .feature-card {
    padding: 15px 10px;
  }
  
  .community-stat,
  .community-stat-inline {
    padding: 12px 10px;
  }
  
  .community-stats-inline .col-xs-4 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .stat-number {
    font-size: 1.6em;
  }
  
  .newsletter-signup {
    padding: 20px 12px;
  }

  /* Very small phones: slightly reduce hero side padding */
  .tt-main-header .col-md-7 {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* Fix for container overflow */
.container {
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
  /* Remove image flickering prevention that causes issues */
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
  transform: none !important;
  -webkit-backface-visibility: visible !important;
  -moz-backface-visibility: visible !important;
  -ms-backface-visibility: visible !important;
  backface-visibility: visible !important;
  /* Remove image rendering optimizations that cause issues */
  image-rendering: auto !important;
}

/* Optimize buttons to prevent flickering */
.btn {
  /* Remove button flickering prevention that causes issues */
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
  transform: none !important;
  -webkit-backface-visibility: visible !important;
  -moz-backface-visibility: visible !important;
  -ms-backface-visibility: visible !important;
  backface-visibility: visible !important;
  /* Remove transitions that cause flickering */
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
  /* Remove font smoothing that can cause issues */
  -webkit-font-smoothing: auto !important;
  -moz-osx-font-smoothing: auto !important;
}

/* Remove background optimizations that cause flickering */
.header, .tt-main-header, .main, .section-padding {
  /* Remove background flickering prevention that causes issues */
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
  transform: none !important;
  -webkit-backface-visibility: visible !important;
  -moz-backface-visibility: visible !important;
  -ms-backface-visibility: visible !important;
  backface-visibility: visible !important;
  /* Remove background optimizations */
  background-attachment: scroll !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* Nav dropdowns: match transparent navbar, readable panel */
.navbar .navbar-nav > li.dropdown > .dropdown-toggle {
  color: inherit;
}
.navbar .navbar-nav > li.dropdown.open > .dropdown-toggle {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.navbar .dropdown-menu.tt-nav-dropdown {
  background: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  padding: 8px 0;
  margin-top: 4px;
}
.navbar .dropdown-menu.tt-nav-dropdown li > a {
  color: #333;
  padding: 10px 20px;
  font-size: 14px;
}
.navbar .dropdown-menu.tt-nav-dropdown li > a:hover,
.navbar .dropdown-menu.tt-nav-dropdown li > a:focus {
  background: rgba(0, 63, 78, 0.08);
  color: #003F4E;
}

/* Fix for navbar on mobile */
@media (max-width: 768px) {
  .navbar > .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  .navbar-header {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .navbar-brand img {
    height: 32px !important;
    width: auto !important;
    /* Remove navbar logo optimizations that cause flickering */
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
    -webkit-backface-visibility: visible !important;
    -moz-backface-visibility: visible !important;
    -ms-backface-visibility: visible !important;
    backface-visibility: visible !important;
  }
  
  .navbar-toggle {
    margin-top: 8px;
    /* Remove toggle button optimizations that cause flickering */
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
    -webkit-backface-visibility: visible !important;
    -moz-backface-visibility: visible !important;
    -ms-backface-visibility: visible !important;
    backface-visibility: visible !important;
  }
  
  /* Ensure navbar collapse works properly */
  .navbar-collapse {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 10px;
    /* Remove navbar optimizations that cause flickering */
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
    -webkit-backface-visibility: visible !important;
    -moz-backface-visibility: visible !important;
    -ms-backface-visibility: visible !important;
    backface-visibility: visible !important;
  }
  
  .navbar-nav {
    margin: 0;
    padding: 10px 0;
  }
  
  .navbar-nav > li > a {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    /* Remove nav links optimizations that cause flickering */
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
    -webkit-backface-visibility: visible !important;
    -moz-backface-visibility: visible !important;
    -ms-backface-visibility: visible !important;
    backface-visibility: visible !important;
  }
  
  .navbar-nav > li:last-child > a {
    border-bottom: none;
  }
  .navbar-nav .dropdown-menu.tt-nav-dropdown {
    position: static;
    float: none;
    box-shadow: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0 0 8px 0;
    margin-top: 0;
  }
  .navbar-nav .dropdown-menu.tt-nav-dropdown li > a {
    color: rgba(255, 255, 255, 0.95);
    padding: 10px 15px 10px 28px;
  }
  .navbar-nav .dropdown-menu.tt-nav-dropdown li > a:hover,
  .navbar-nav .dropdown-menu.tt-nav-dropdown li > a:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }
  
  /* Earning section: stack and center on mobile */
  .earning-subheadings .col-md-5,
  .earning-subheadings .col-md-7 {
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
  }
  .earning-content-row .col-md-5,
  .earning-content-row .col-md-7 {
    width: 100%;
    margin-bottom: 20px;
  }
  .earning-content-row .col-md-5:last-child,
  .earning-content-row .col-md-7:last-child {
    margin-bottom: 0;
  }
  .earning-block {
    margin-bottom: 24px;
    text-align: left;
  }
  .community-stats-inline .col-xs-4 {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  /* Contact form: full width inputs and reduced padding */
  .contact-card {
    padding: 20px 16px;
    border-radius: 8px;
  }
  .contact-card .row [class*="col-md-"] {
    width: 100%;
    max-width: 100%;
  }
  #contact .col-md-8.col-md-offset-2 {
    margin-left: 0;
    margin-right: 0;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
  }
  
  /* Why bar: stack and center */
  .why-bar .col-md-4 {
    width: 100%;
    margin-bottom: 12px;
  }
  .why-bar .col-md-4:last-child {
    margin-bottom: 0;
  }
  
  /* Mobile sticky navbar - teal background when not transparent */
  .navbar.navbar-fixed-top:not(.navbar-transparent),
  .navbar.navbar-color-on-scroll.navbar-fixed-top:not(.navbar-transparent),
  .navbar.navbar-default.navbar-fixed-top:not(.navbar-transparent) {
    background-color: #003F4E !important;
    background: #003F4E !important;
  }
  
  .navbar.navbar-fixed-top:not(.navbar-transparent) .navbar-nav > li > a,
  .navbar.navbar-color-on-scroll.navbar-fixed-top:not(.navbar-transparent) .navbar-nav > li > a {
    color: #ffffff !important;
  }
  
  /* Progress bar should be coral on mobile */
  .scroll-indicator {
    background: var(--brand-secondary) !important;
  }
}

/* Remove all interactive element optimizations that cause flickering */
.navbar, .navbar-brand, .navbar-nav > li > a, .navbar-toggle {
  /* Remove navbar optimizations that cause flickering */
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
  transform: none !important;
  -webkit-backface-visibility: visible !important;
  -moz-backface-visibility: visible !important;
  -ms-backface-visibility: visible !important;
  backface-visibility: visible !important;
  /* Remove transitions that cause flickering */
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}

/* Simplify back to top button */
#backTop {
  z-index: 500;
  position: fixed;
  bottom: -52px;
  right: 20px;
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
  /* Remove optimizations that cause flickering */
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
  transform: none !important;
  -webkit-backface-visibility: visible !important;
  -moz-backface-visibility: visible !important;
  -ms-backface-visibility: visible !important;
  backface-visibility: visible !important;
}

#backTop.show {
  bottom: 20px;
}

/* Additional responsive fixes for very small screens */
@media (max-width: 480px) {
  .navbar-brand {
    padding: 5px 0 !important;
  }
  
  .navbar-brand img {
    height: 28px !important;
  }
  
  .navbar-toggle {
    margin-top: 10px;
    padding: 6px 8px;
  }
  
  /* Ensure proper text wrapping */
  .tt-main-header .title {
    word-break: break-word;
    hyphens: auto;
  }
  
  /* Improve button spacing */
  .hero-buttons {
    margin-top: 20px;
  }
  
  .hero-buttons .btn {
    margin-bottom: 12px;
    padding: 12px 15px;
  }
  
  /* Better spacing for sections */
  .section-padding {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  
  /* Improve form layout */
  .newsletter-signup .form-inline {
    gap: 10px;
  }
  
  .newsletter-signup .form-control {
    margin-bottom: 10px;
  }
}

/* Ensure proper viewport handling */
@media (max-width: 360px) {
  .tt-main-header {
    padding-top: 8vh;
    padding-bottom: 20px; /* Reduced from 120px to 20px */
  }
  
  .navbar-brand img {
    height: 26px !important;
  }
  
  .tt-main-header .title {
    font-size: 1.2em;
    line-height: 1.6;
  }
  
  .tt-main-header .description {
    font-size: 0.8em;
    line-height: 1.9;
  }
  
  .hero-buttons .btn {
    font-size: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
  }
  
  .section-padding {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  
  .main.main-raised .section-padding:first-child {
    padding-top: 32px;
  }
  
  .feature-card {
    padding: 15px 10px;
  }
  
  .community-stat {
    padding: 12px 10px;
  }
  
  .stat-number {
    font-size: 1.6em;
  }
  
  .newsletter-signup {
    padding: 20px 12px;
  }
  
  .newsletter-signup .form-control {
    font-size: 13px;
    padding: 8px 12px;
  }
  
  .newsletter-signup .btn {
    font-size: 13px;
    padding: 8px 15px;
  }
  
  /* Reduced spacing for mockup image on very small screens */
  .tt-main-header .col-md-5 {
    margin-left: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    text-align: center;
  }
  
  .tt-main-header .device-mockup-img {
    max-width: 95% !important;
    width: 95% !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto 10px !important;
    display: block;
  }
  
  .tt-main-header .col-md-7 {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Press / Community Love Section */
.press-section {
  position: relative;
  background-image: url('assets/img/social_mix.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.press-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 63, 78, 0.85);
  z-index: 1;
  pointer-events: none;
}

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

.press-section .title {
  color: #fff !important;
}

.press-section .section-description {
  color: rgba(255, 255, 255, 0.9) !important;
}

.press-carousel {
  margin-top: 28px;
}

.press-item {
  padding: 10px;
}

.press-item a {
  text-decoration: none;
  display: block;
}

.press-card {
  background: #fff;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.press-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.press-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.press-logo img {
  max-height: 60px;
  max-width: 200px;
  object-fit: contain;
}

.press-logo-text {
  font-size: 1.8em;
  font-weight: 700;
  color: #003F4E;
}

/* Press Logo Badges */
.press-logo-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
}

.press-logo-badge.mix929 {
  background: linear-gradient(135deg, #e91e63, #9c27b0);
  color: #fff;
}

.press-logo-badge.mix929 .logo-text {
  font-size: 1.2em;
  font-weight: 400;
  letter-spacing: 1px;
}

.press-logo-badge.mix929 .logo-number {
  font-size: 2em;
  font-weight: 800;
  line-height: 1;
  margin-top: -5px;
}

.press-logo-badge.wkrn {
  background: linear-gradient(135deg, #1976d2, #0d47a1);
  color: #fff;
}

.press-logo-badge.wkrn .logo-text {
  font-size: 1.8em;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1;
}

.press-logo-badge.wkrn .logo-subtext {
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 2px;
}

.press-title {
  color: #3e3e3e;
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}

.press-excerpt {
  color: #8f8f8f;
  font-size: 0.95em;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
  flex-grow: 1;
}

.press-link {
  color: #003F4E;
  font-weight: 600;
  font-size: 0.95em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.press-link i {
  font-size: 0.85em;
  transition: transform 0.3s ease;
}

.press-card:hover .press-link {
  color: #f44336;
}

.press-card:hover .press-link i {
  transform: translateX(5px);
}

/* Press Carousel Owl Theme Customization */
.press-carousel.owl-theme .owl-dots {
  margin-top: 30px;
}

.press-carousel.owl-theme .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  margin: 5px 7px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.press-carousel.owl-theme .owl-dots .owl-dot.active span,
.press-carousel.owl-theme .owl-dots .owl-dot:hover span {
  background: #fff;
  transform: scale(1.2);
}

.press-carousel.owl-theme .owl-nav {
  margin-top: 20px;
}

.press-carousel.owl-theme .owl-nav button.owl-prev,
.press-carousel.owl-theme .owl-nav button.owl-next {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 10px;
  font-size: 20px;
  line-height: 40px;
  transition: all 0.3s ease;
}

.press-carousel.owl-theme .owl-nav button.owl-prev:hover,
.press-carousel.owl-theme .owl-nav button.owl-next:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Press Section Responsive */
@media (max-width: 991px) {
  .press-card {
    padding: 30px 20px;
    min-height: 280px;
  }
  
  .press-title {
    font-size: 1.2em;
  }
  
  .press-excerpt {
    font-size: 0.9em;
  }
}

@media (max-width: 768px) {
  .press-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  
  .press-card {
    padding: 25px 20px;
    min-height: 260px;
  }

  /* Center press cards on mobile */
  .press-carousel .owl-item {
    display: flex;
    justify-content: center;
  }
  .press-carousel .press-item {
    width: 100%;
    max-width: 380px;
  }
  .press-carousel .press-card {
    margin-left: auto;
    margin-right: auto;
  }

  /* Center story (testimonial) cards on mobile */
  #real-stories .story-cards-row {
    justify-content: center;
  }
  #real-stories .story-col {
    display: flex !important;
    justify-content: center !important;
  }
  #real-stories .story-col .story-card {
    width: 100%;
    max-width: 380px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Center join the community (Earn) cards on mobile */
  #earning .earning-content-row {
    justify-content: center;
  }
  #earning .community-stats-inline {
    justify-content: center;
  }
  #earning .community-stats-inline > [class*="col-"] {
    display: flex;
    justify-content: center;
  }
  #earning .community-stat-inline {
    max-width: 280px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  #earning .earning-block {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .press-logo {
    height: 60px;
    margin-bottom: 20px;
  }
  
  .press-logo img {
    max-height: 50px;
  }
  
  .press-logo-text {
    font-size: 1.5em;
  }
  
  .press-title {
    font-size: 1.1em;
  }
  
  .press-excerpt {
    font-size: 0.85em;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .press-card {
    padding: 20px 15px;
    min-height: 240px;
  }
  
  .press-logo {
    height: 50px;
    margin-bottom: 15px;
  }
  
  .press-logo img {
    max-height: 40px;
  }
  
  .press-logo-text {
    font-size: 1.3em;
  }
  
  .press-title {
    font-size: 1em;
  }
  
  .press-excerpt {
    font-size: 0.8em;
  }
  
  .press-link {
    font-size: 0.85em;
  }
}

/* Animation Enhancements */
.wow {
  visibility: visible !important;
  animation: none !important;
  -webkit-animation: none !important;
  -moz-animation: none !important;
  -o-animation: none !important;
  /* Remove transform3d that can cause flickering */
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
  transform: none !important;
  /* Remove will-change that can cause performance issues */
  will-change: auto !important;
}

/* Disable fadeInUp animations */
.fadeInUp {
  animation: none !important;
  -webkit-animation: none !important;
  -moz-animation: none !important;
  -o-animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
}

/* Disable fadeInLeft animations */
.fadeInLeft {
  animation: none !important;
  -webkit-animation: none !important;
  -moz-animation: none !important;
  -o-animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
}

/* Disable fadeInRight animations */
.fadeInRight {
  animation: none !important;
  -webkit-animation: none !important;
  -moz-animation: none !important;
  -o-animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
}

/* Simplify transitions to prevent flickering */
.btn, .feature-card, .community-stat, .navbar, .navbar-brand, .navbar-nav > li > a, .navbar-toggle {
  transition: none !important;
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  /* Remove transform3d */
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
  transform: none !important;
  /* Remove backface-visibility */
  -webkit-backface-visibility: visible !important;
  -moz-backface-visibility: visible !important;
  -ms-backface-visibility: visible !important;
  backface-visibility: visible !important;
  /* Remove will-change */
  will-change: auto !important;
}

/* Simplify hover effects */
.feature-card:hover {
  transform: none !important;
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
}

.community-stat:hover {
  transform: none !important;
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
}

.download-section img:hover {
  transform: none !important;
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
}

/* Remove hardware acceleration that might be causing issues */
body, html, img, .header, .tt-main-header, .main, .section-padding {
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
  transform: none !important;
  -webkit-backface-visibility: visible !important;
  -moz-backface-visibility: visible !important;
  -ms-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-perspective: none !important;
  -moz-perspective: none !important;
  -ms-perspective: none !important;
  perspective: none !important;
  will-change: auto !important;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
  /* Optimize scrolling performance */
  -webkit-overflow-scrolling: touch;
}

/* Enhanced button styles */
.btn-primary {
  background-color: #003F4E;
  border-color: #003F4E;
  color: white;
}

.btn-primary:hover {
  background-color: #002A35;
  border-color: #002A35;
  color: white;
}

/* Mobile-specific fixes for navbar overlap */
@media screen and (max-width: 768px) {
  /* Ensure proper spacing for fixed navbar on mobile */
  .header.tt-main-header {
    /* Use padding instead of margin so the hero background stays behind the navbar */
    padding-top: 80px;
    margin-top: 0;
  }
  
  /* Adjust hero section spacing on mobile */
  .header.tt-main-header .title {
    padding-top: 40px !important;
    font-size: 2.2em !important;
    margin-bottom: 20px;
  }
  
  /* Hero buttons left-aligned on mobile */
  .hero-buttons {
    text-align: left;
    justify-content: flex-start;
  }
  
  .hero-buttons .btn {
    margin: 0;
  }
  
  /* Adjust mobile navigation */
  .navbar-brand {
    height: auto !important;
  }
  
  .navbar-brand img {
    height: 32px !important;
  }
  
  /* Mobile section padding adjustments */
  .section-padding {
    padding: 44px 0;
  }
  
  /* Mobile feature cards */
  .feature-card {
    margin-bottom: 20px;
  }
  
  /* Mobile community stats */
  .community-stat {
    margin-bottom: 20px;
  }
  
  /* Mobile newsletter signup */
  .newsletter-signup form {
    flex-direction: column;
    align-items: center;
  }
  
  .newsletter-signup .form-group {
    margin-bottom: 15px;
    width: 100%;
    max-width: 300px;
  }
  
  .newsletter-signup .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
  .header.tt-main-header .title {
    font-size: 1.8em !important;
    padding-top: 30px !important;
  }
  
  .header.tt-main-header .description {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .section-padding {
    padding: 32px 0;
  }
}

/* Real Stories Section */
.story-card {
  background: #fff;
  border-radius: 15px;
  padding: 22px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  margin-bottom: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

.story-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.story-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5em;
  font-weight: bold;
  flex-shrink: 0;
}

.story-name {
  font-weight: 600;
  color: var(--brand-charcoal);
  margin: 0;
  font-size: 1.2em;
}

.story-role {
  color: var(--brand-secondary);
  font-size: 0.9em;
  margin: 0;
}

.story-content {
  color: #666;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 15px;
}

.story-task {
  background: var(--brand-cream);
  padding: 12px 18px;
  border-radius: 8px;
  color: var(--brand-charcoal);
  font-size: 0.95em;
  border-left: 4px solid var(--brand-primary);
}

/* Featured Taskquatchers (Why Taskquatch section): cyclic scroll */
.featured-taskquatchers-rows {
  display: block;
}

.featured-taskquatchers-row {
  overflow: hidden;
  margin-bottom: 20px;
  min-height: 120px;
  display: block;
}

.featured-taskquatchers-track {
  display: flex;
  width: 100%;
  will-change: transform;
  flex-wrap: nowrap;
  overflow: hidden;
}

.featured-taskquatchers-track-inner {
  display: flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 0 10px;
}

/* Animation starts when both rows have content (class added by JS) */
.featured-taskquatchers-rows.featured-taskquatchers-animate .featured-taskquatchers-track-left .featured-taskquatchers-track-inner {
  animation: featured-scroll-left 35s linear infinite;
  -webkit-animation: featured-scroll-left 35s linear infinite;
}

.featured-taskquatchers-rows.featured-taskquatchers-animate .featured-taskquatchers-track-right .featured-taskquatchers-track-inner {
  animation: featured-scroll-right 35s linear infinite;
  -webkit-animation: featured-scroll-right 35s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .featured-taskquatchers-rows.featured-taskquatchers-animate .featured-taskquatchers-track-left .featured-taskquatchers-track-inner,
  .featured-taskquatchers-rows.featured-taskquatchers-animate .featured-taskquatchers-track-right .featured-taskquatchers-track-inner {
    animation: none;
    -webkit-animation: none;
  }
}

@keyframes featured-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@-webkit-keyframes featured-scroll-left {
  0% { -webkit-transform: translateX(0); transform: translateX(0); }
  100% { -webkit-transform: translateX(-50%); transform: translateX(-50%); }
}

@keyframes featured-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@-webkit-keyframes featured-scroll-right {
  0% { -webkit-transform: translateX(-50%); transform: translateX(-50%); }
  100% { -webkit-transform: translateX(0); transform: translateX(0); }
}

/* Round avatars: explicit clip for iOS Safari */
.taskquatcher-photo-link {
  display: block;
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.taskquatcher-photo-link:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 20px rgba(0, 63, 78, 0.3);
}

.taskquatcher-photo-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  -webkit-border-radius: 50%;
}

/* Featured Taskquatchers: force 2 rows + round avatars on mobile / iPhone */
@media (max-width: 767px) {
  .featured-taskquatchers-rows {
    display: block !important;
  }
  .featured-taskquatchers-row {
    display: block !important;
    min-height: 110px;
  }
  .featured-taskquatchers-track-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
  }
  .taskquatcher-photo-link {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    overflow: hidden;
  }
  .taskquatcher-photo-link img {
    border-radius: 50%;
    -webkit-border-radius: 50%;
  }
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-teal-light) 100%);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
  pointer-events: auto;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
  opacity: 0.3;
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  pointer-events: auto;
}

.cta-section h2 {
  color: #FFF6EB !important;
  font-size: 2.5em;
  margin-bottom: 14px;
  font-weight: 700;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1em;
  margin-bottom: 28px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  pointer-events: auto;
}

.cta-button {
  padding: 18px 40px;
  border-radius: 30px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  min-width: 200px;
  text-align: center;
  pointer-events: auto;
}

.cta-button-primary {
  background: white;
  color: var(--brand-primary);
}

.cta-button-primary:hover {
  background: var(--brand-cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.cta-button-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95em;
}

.trust-badge i {
  color: var(--brand-secondary);
  font-size: 1.3em;
}

/* Enhanced Press Cards */
.press-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--brand-primary);
}

.press-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.15);
  border-top-color: var(--brand-secondary);
}

.press-logo {
  margin-bottom: 20px;
  min-height: 60px;
  display: flex;
  align-items: center;
}

.press-logo img {
  max-height: 60px;
  width: auto;
}

.press-title {
  color: var(--brand-charcoal);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.press-excerpt {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.press-link {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.press-link:hover {
  color: var(--brand-secondary);
  gap: 12px;
}

/* Enhanced Footer */
.footer {
  background: var(--brand-charcoal);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
}

.footer .container {
  max-width: 1200px;
}

.footer .row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin: 0 -15px;
}

.footer .row > div {
  padding: 0 15px;
  margin-bottom: 30px;
}

.footer h5 {
  color: white;
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.footer-links li {
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.footer-links a:hover {
  color: var(--brand-secondary);
  padding-left: 5px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.social-links a {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}

.copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9em;
}

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

/* Footer Mobile Responsive */
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 20px;
  }

  /* Force footer columns to stack cleanly on mobile (avoid “jumbled” flex wrapping) */
  .footer .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
  }
  
  .footer .row > div {
    width: 100%;
    max-width: 520px;
    padding: 0 15px;
    margin-bottom: 30px;
    text-align: center;
  }
  
  .footer h5 {
    margin-bottom: 15px;
  }
  
  .footer-links {
    align-items: center;
  }

  .footer-links a {
    text-align: center;
  }
  
  .footer-links li {
    margin-bottom: 10px;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .copyright {
    text-align: center;
    padding: 0 15px;
  }
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 2em;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
  }
  
  .trust-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .story-card {
    margin-bottom: 20px;
  }
}
