/* styles.css - Main styles for Happy Saja */
:root{
  --bg:#fff8e1;
  --primary:#ffb300;
  --secondary:#ff6f61;
  --accent:#ffd54f;
  --text:#4e342e;

  /* Modern color palette inspired by the GitHub repo */
  --saja-primary: 38 95% 50%;
  --saja-secondary: 12 80% 60%;
  --saja-accent: 45 100% 65%;
  --saja-cream: 45 100% 97%;
  --saja-brown: 15 50% 20%;
  --saja-coral: 12 80% 60%;
  --saja-mint: 160 60% 70%;
  --saja-sky: 200 80% 70%;
  --saja-grape: 280 60% 55%;
  --saja-bubblegum: 330 80% 65%;
  --saja-teal: 175 70% 45%;
  --saja-sunshine: 45 100% 60%;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(45 100% 97%) 0%, hsl(45 100% 92%) 50%, hsl(38 95% 95%) 100%);
  --gradient-warm: linear-gradient(135deg, hsl(38 95% 50%) 0%, hsl(12 80% 60%) 100%);
  --gradient-sunset: linear-gradient(135deg, hsl(12 80% 60%) 0%, hsl(38 95% 50%) 100%);
  --gradient-card: linear-gradient(180deg, hsl(0 0% 100%) 0%, hsl(45 100% 97%) 100%);

  /* Shadows */
  --shadow-playful: 0 8px 30px -8px hsl(38 95% 50% / 0.35);
  --shadow-card: 0 10px 40px -10px hsl(15 50% 20% / 0.12);
  --shadow-float: 0 20px 50px -20px hsl(15 50% 20% / 0.18);
  --shadow-glow: 0 0 30px hsl(38 95% 50% / 0.3);
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html,body{
  height:100%;
  overflow-x:hidden;
}

body{
  background:var(--bg);
  color:var(--text);
  font-family:'Poppins',sans-serif;
  min-height:100vh;
}

/* Header */
header {
  background: var(--primary);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0,0,0,.1);
  position: sticky;
  top: 0;
  z-index: 50;
  height: 90px;
}

header .brand {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1rem;
}

header .brand.centered {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

/* SnackBoxes specific header styling */
header .brand a[href*="index.html"] {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

header .brand a[href*="index.html"]:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-2px);
}

header .brand div:last-child {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
}

/* Responsive header adjustments */
@media (max-width: 768px) {
  header {
    padding: 0.5rem 0.75rem;
    height: 70px;
  }

  header .brand {
    gap: 0.5rem;
  }

  header .brand a[href*="index.html"] {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }

  header img.logo {
    height: 120px;
  }

  header .brand div:last-child {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0.4rem 0.5rem;
    height: 60px;
  }

  header .brand {
    gap: 0.25rem;
  }

  header .brand a[href*="index.html"] {
    font-size: 0.75rem;
    padding: 0.3rem 0.5rem;
  }

  header img.logo {
    height: 100px;
  }

  header .brand div:last-child {
    font-size: 0.75rem;
    display: none; /* Hide title on very small screens to save space */
  }
}

header img.logo {
  height: 175px;
  width: auto;
  object-fit: contain;
  border: none;
  border-radius: 0;
  background: none;
  padding: 0;
  transition: transform 0.3s ease;
}

header img.logo:hover {
  transform: scale(1.05);
}

header h1{
  font-family:'Fredoka One',cursive;
  font-size:1.15rem;
  color:#fff;
  margin:0;
  text-shadow:1px 1px 3px rgba(0,0,0,.12);
}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:1rem;
}

@media(min-width:768px){
  .container{padding:2rem}
}

.step-title{
  font-family:'Fredoka One',cursive;
  color:var(--primary);
  font-size:clamp(1.25rem,4vw,1.8rem);
  margin:1rem 0;
  text-align:center;
}

/* Progress Bar - SnackBoxes Style (No Lines, Orange Glow) */
.progress-container{
  background:#fff;
  padding:.75rem 1rem;
  box-shadow:0 2px 4px rgba(0,0,0,.08);
  overflow:hidden;
  position:relative;
}

.progress-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  max-width:1200px;
  margin:0 auto;
  position:relative;
  padding:8px 20px;
}

/* Hide progress lines for snackboxes */
.progress-line{
  display: none !important;
}

.progress-step{
  position:relative;
  z-index:2;
  background:transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.progress-circle{
  width:50px;
  height:50px;
  border-radius:50%;
  background:#ddd;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#666;
  font-weight:700;
  font-size:1.2rem;
  position:relative;
  z-index:3;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.progress-label{
  display:block;
  margin-top:8px;
  position:relative;
  z-index:3;
  font-size:.9rem;
  color:#666;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-weight:600;
  text-align:center;
  transition: all 0.3s ease;
}

.progress-step.active .progress-circle{
  background: #ffb300;
  color:#fff;
  transform:scale(1.1);
  box-shadow: 0 0 20px rgba(255, 179, 0, 0.6), 0 4px 12px rgba(255, 179, 0, 0.4);
  animation: pulse 2s infinite;
}

.progress-step.active .progress-label{
  color: #ffb300;
  font-weight: 700;
}

.progress-step.completed .progress-circle{
  background: #28a745;
  color:#fff;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
}

.progress-step.completed .progress-label{
  color: #28a745;
  font-weight: 700;
}

@keyframes pulse {
  0% { box-shadow: 0 0 20px rgba(255, 179, 0, 0.6), 0 4px 12px rgba(255, 179, 0, 0.4); }
  50% { box-shadow: 0 0 30px rgba(255, 179, 0, 0.8), 0 6px 16px rgba(255, 179, 0, 0.6); }
  100% { box-shadow: 0 0 20px rgba(255, 179, 0, 0.6), 0 4px 12px rgba(255, 179, 0, 0.4); }
}

@media(max-width:480px){
  .progress-circle{
    width:45px;
    height:45px;
    font-size:1.1rem;
  }
  .progress-label{
    font-size:.8rem;
    margin-top:6px;
  }
}

@media(max-width:360px){
  .progress-circle{
    width:40px;
    height:40px;
    font-size:1rem;
  }
  .progress-label{
    font-size:.75rem;
  }
}

/* Buttons */
.btn{
  background:var(--primary);
  color:#fff;
  border:none;
  padding:.6rem 1.1rem;
  border-radius:999px;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 4px 6px rgba(0,0,0,.08);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,.15);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

.btn-secondary{
  background:var(--secondary);
}

/* Step Content */
.step-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.step-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.button-group{
  display:flex;
  gap:1rem;
  justify-content:center;
  margin-top:1.5rem;
  flex-wrap:wrap;
}

/* Box Grid - Reverted to Original Layout */
.box-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(140px,1fr));
  gap:.9rem;
  margin-bottom:1rem;
}

@media(min-width:768px){
  .box-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.25rem}
}

/* Guest Slider Layout - FORCE HORIZONTAL */
.guest-control {
  margin: 2rem auto;
  max-width: 500px;
}

.slider-container {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
  width: 100%;
}

.slider-wrapper {
  flex: 1;
  max-width: 300px;
  display: flex;
  align-items: center;
}

.slider-wrapper input[type="range"] {
  width: 100% !important;
  height: 8px;
  border-radius: 4px;
  background: #ddd;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.slider-wrapper input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.slider-wrapper input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.slider-preview {
  min-width: 60px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.slider-preview #guestPreview {
  font-size: 1.4rem; /* Smaller font size */
  font-weight: 800;
  color: var(--primary);
  background: #fff;
  border-radius: 50%;
  width: 40px; /* Smaller container */
  height: 40px; /* Smaller container */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border: 2px solid var(--primary);
}

.box-stack-container {
  text-align: center;
  margin: 1rem 0;
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.box-stack-container::-webkit-scrollbar {
  height: 4px;
}

.box-stack-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.box-stack-container::-webkit-scrollbar-thumb {
  background: #ffb300;
  border-radius: 2px;
}

.box-stack-container::-webkit-scrollbar-thumb:hover {
  background: #ff8f00;
}

/* Box thumb styling for overflow prevention */
.box-thumb {
  display: inline-block;
  font-size: 1.6rem;
  margin: 0px;
  animation: 0.3s ease-out 250ms 1 normal both running boxAppear;
  white-space: nowrap;
  max-width: 100%;
}

/* Ensure box stack doesn't overflow */
#boxStack {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.slider-hint {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Force horizontal even on mobile for now */
.slider-container,
.slider-container * {
  flex-wrap: nowrap !important;
}

/* Swimming fish animation for footer */
@keyframes swimFish {
    0%, 100% { transform: translateX(0) scaleX(1); }
    25% { transform: translateX(20px) scaleX(0.9); }
    50% { transform: translateX(40px) scaleX(1); }
    75% { transform: translateX(20px) scaleX(0.9); }
}

.box-option{
  background:#fff;
  border:3px solid transparent;
  border-radius:12px;
  padding:.9rem;
  text-align:center;
  cursor:pointer;
  box-shadow:0 4px 6px rgba(0,0,0,.06);
  transition: all 0.3s ease;
}

.box-option:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 15px rgba(0,0,0,.1);
}

.box-option.selected{
  border-color:var(--primary);
  background:#fff9ef;
  transform:scale(1.02);
}

.box-image{
  height:92px;
  border-radius:8px;
  background:#f6f6f6;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
  margin-bottom:.6rem;
  font-size:2rem;
}

.box-name{
  font-weight:700;
  font-size:.95rem;
}

.box-price{
  color:var(--secondary);
  font-weight:700;
  margin-top:.35rem;
  font-size:.95rem;
}

/* Footer */
footer{
  background:linear-gradient(135deg,#ffb300 0%,#87ceeb 50%,#0066cc 100%);
  color:#fff;
  padding:1.25rem 0;
  margin-top:4rem;
  position:relative;
  overflow:hidden;
  min-height:220px;
  text-align:center;
  font-size:12px;
}

/* ===== MODERN HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-emojis {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.emoji-float {
  position: absolute;
  font-size: 4rem;
  opacity: 0.6;
  animation: float 3s ease-in-out infinite;
}

.emoji-float.e1 { top: 10%; left: 10%; animation-delay: 0s; }
.emoji-float.e2 { top: 20%; right: 15%; animation-delay: 1.5s; }
.emoji-float.e3 { top: 40%; left: 20%; animation-delay: 3s; }
.emoji-float.e4 { top: 60%; right: 10%; animation-delay: 2s; }
.emoji-float.e5 { top: 70%; left: 15%; animation-delay: 4s; }
.emoji-float.e6 { top: 30%; right: 20%; animation-delay: 1s; }
.emoji-float.e7 { bottom: 20%; left: 25%; animation-delay: 2.5s; }
.emoji-float.e8 { bottom: 30%; right: 25%; animation-delay: 0.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
  text-align: center;
  max-width: 4xl;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 10;
}

.fun-fact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: white;
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
  border: 2px solid hsl(var(--saja-primary) / 0.2);
}

.fact-emoji {
  font-size: 2rem;
}

.fact-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--text);
}

.fact-icon {
  color: var(--secondary);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-family: 'Fredoka One', cursive;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.gradient-text {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.wiggle-text {
  display: inline-block;
  animation: wiggle 1.5s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

.hero-description {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  color: hsl(15 30% 40%);
  margin-bottom: 3rem;
  max-width: 2xl;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Poppins', sans-serif;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
}

.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-family: 'Fredoka One', cursive;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-playful);
}

.cta-primary {
  background: var(--gradient-warm);
  color: white;
}

.cta-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-glow);
}

.cta-secondary {
  background: white;
  color: var(--text);
  border: 2px solid hsl(var(--saja-primary) / 0.3);
  box-shadow: var(--shadow-card);
}

.cta-secondary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-float);
}

.cta-icon {
  font-size: 1.25rem;
}

/* ===== SERVICE SELECTION ===== */
.service-selection {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.service-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.5rem;
  color: white;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.service-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.service-option {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  border: 2px solid transparent;
  backdrop-filter: blur(10px);
}

.service-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  border-color: hsl(var(--saja-primary) / 0.3);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-name {
  font-family: 'Fredoka One', cursive;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.service-desc {
  color: hsl(15 30% 40%);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-features span {
  background: hsl(var(--saja-primary) / 0.1);
  color: var(--text);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}

.service-action {
  background: var(--gradient-warm);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: 'Fredoka One', cursive;
  transition: all 0.3s ease;
  display: inline-block;
}

.service-option:hover .service-action {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  color: hsl(15 30% 40%);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  background: white;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}

.badge-emoji {
  font-size: 2rem;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  fill: white;
}

/* ===== BOXES SECTION ===== */
.boxes-section {
  padding: 5rem 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.section-description {
  font-size: 1.125rem;
  color: hsl(15 30% 40%);
  max-width: 2xl;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--card);
  color: hsl(15 30% 40%);
  box-shadow: var(--shadow-card);
  border: 2px solid hsl(var(--saja-primary) / 0.1);
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
}

.filter-btn.active {
  background: var(--gradient-warm);
  color: white;
  box-shadow: var(--shadow-playful);
}

.boxes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works-section {
  padding: 5rem 0;
  background: var(--gradient-hero);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto 0;
}

.step-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-float);
  border-color: hsl(var(--saja-primary) / 0.2);
}

.step-number {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--gradient-warm);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-playful);
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.step-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.step-description {
  color: hsl(15 30% 40%);
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}

.step-details {
  margin-top: 1rem;
}

.step-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-details li {
  color: hsl(15 30% 40%);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}





/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 4rem 0;
  background: white;
}

.features-title {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  color: var(--text);
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-float);
  border-color: hsl(var(--saja-primary) / 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.feature-desc {
  color: hsl(15 30% 40%);
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  font-size: 0.9rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  padding: 4rem 0;
  background: var(--gradient-hero);
}

.testimonials-title {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  color: var(--text);
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
  border-color: hsl(var(--saja-primary) / 0.2);
}

.testimonial-number {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--gradient-warm);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-playful);
}

.testimonial-stars {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: hsl(15 30% 40%);
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  text-align: right;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.testimonial-details {
  margin-top: 1rem;
}

.testimonial-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.testimonial-details li {
  color: hsl(15 30% 40%);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonial-details li::before {
  content: '⭐';
  color: var(--primary);
  font-weight: bold;
}

/* ===== MIDDLE FLOATING EMOJIS ===== */
.middle-floating-emojis {
  position: fixed;
  top: calc(90vh - 10vh); /* Start just above testimonials section */
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.middle-emoji {
  position: absolute;
  font-size: 2.5rem;
  opacity: 0.15;
  animation: float-up linear infinite;
  user-select: none;
}

.middle-emoji.me1 {
  bottom: 10%;
  left: 5%;
  animation-duration: 12s;
  animation-delay: -1s;
}
.middle-emoji.me2 {
  bottom: 15%;
  right: 8%;
  animation-duration: 14s;
  animation-delay: -2s;
}
.middle-emoji.me3 {
  bottom: 25%;
  left: 12%;
  animation-duration: 16s;
  animation-delay: -3s;
}
.middle-emoji.me4 {
  bottom: 30%;
  right: 15%;
  animation-duration: 13s;
  animation-delay: -0.5s;
}
.middle-emoji.me5 {
  bottom: 40%;
  left: 8%;
  animation-duration: 18s;
  animation-delay: -4s;
}
.middle-emoji.me6 {
  bottom: 45%;
  right: 5%;
  animation-duration: 15s;
  animation-delay: -1.5s;
}
.middle-emoji.me7 {
  bottom: 55%;
  left: 15%;
  animation-duration: 17s;
  animation-delay: -3.5s;
}
.middle-emoji.me8 {
  bottom: 60%;
  right: 10%;
  animation-duration: 12.5s;
  animation-delay: -2.5s;
}
.middle-emoji.me9 {
  bottom: 70%;
  left: 5%;
  animation-duration: 20s;
  animation-delay: -5s;
}
.middle-emoji.me10 {
  bottom: 75%;
  right: 12%;
  animation-duration: 14.5s;
  animation-delay: -2s;
}
.middle-emoji.me11 {
  bottom: 20%;
  left: 20%;
  animation-duration: 17.5s;
  animation-delay: -3s;
}
.middle-emoji.me12 {
  bottom: 35%;
  right: 20%;
  animation-duration: 13.5s;
  animation-delay: -1s;
}
.middle-emoji.me13 {
  bottom: 50%;
  left: 18%;
  animation-duration: 18.5s;
  animation-delay: -4s;
}
.middle-emoji.me14 {
  bottom: 65%;
  right: 18%;
  animation-duration: 16s;
  animation-delay: -2.5s;
}
.middle-emoji.me15 {
  bottom: 80%;
  left: 10%;
  animation-duration: 14s;
  animation-delay: -3.5s;
}
.middle-emoji.me16 {
  bottom: 22%;
  left: 25%;
  animation-duration: 15.5s;
  animation-delay: -2.8s;
}
.middle-emoji.me17 {
  bottom: 28%;
  right: 22%;
  animation-duration: 16.8s;
  animation-delay: -3.2s;
}
.middle-emoji.me18 {
  bottom: 52%;
  left: 22%;
  animation-duration: 13.2s;
  animation-delay: -1.8s;
}
.middle-emoji.me19 {
  bottom: 62%;
  right: 25%;
  animation-duration: 17.2s;
  animation-delay: -4.2s;
}
.middle-emoji.me20 {
  bottom: 72%;
  left: 18%;
  animation-duration: 14.8s;
  animation-delay: -2.2s;
}

@keyframes middleFloatUp {
  0% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.8;
  }
  80% {
    transform: translateY(-20vh) rotate(2deg);
    opacity: 0.3;
  }
  100% {
    transform: translateY(-25vh) rotate(3deg);
    opacity: 0;
  }
}

@keyframes float-up {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0.15;
  }
  10% {
    opacity: 0.2;
  }
  90% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large tablets and small laptops (768px and up) */
@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-subtitle {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }

  .hero-description {
    font-size: clamp(1rem, 4vw, 1.25rem);
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .category-filter {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .step-card {
    padding: 1.5rem;
  }

  .middle-emoji {
    font-size: 1.5rem;
  }

  /* Service selection responsiveness */
  .service-options {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
    padding: 0 1rem;
  }

  .service-option {
    padding: 1.5rem;
  }

  .service-icon {
    font-size: 2.5rem;
  }

  .service-name {
    font-size: 1.1rem;
  }

  .service-desc {
    font-size: 0.85rem;
  }

  /* Testimonials responsiveness */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  /* Container adjustments */
  .container {
    padding: 1rem;
  }

  /* Hero content adjustments */
  .hero-content {
    padding: 1rem;
  }

  .hero-section {
    min-height: 80vh;
  }
}

/* Mobile phones (480px and below) */
@media (max-width: 480px) {
  /* Hero section mobile optimizations */
  .hero-section {
    min-height: 70vh;
    padding: 1rem 0;
  }

  .hero-content {
    padding: 1rem 0.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 15vw, 3.5rem);
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: clamp(1.25rem, 10vw, 2rem);
    margin-bottom: 0.5rem;
  }

  .hero-description {
    font-size: clamp(0.9rem, 4.5vw, 1.1rem);
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  /* Service selection mobile */
  .service-selection {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
  }

  .service-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .service-options {
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .service-option {
    padding: 1.25rem 1rem;
    border-radius: 1rem;
  }

  .service-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .service-name {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .service-desc {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }

  .service-features {
    gap: 0.25rem;
    margin-bottom: 1rem;
  }

  .service-features span {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }

  .service-action {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  /* Trust badges mobile */
  .trust-badges {
    gap: 0.75rem;
  }

  .trust-badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .badge-emoji {
    font-size: 1.5rem;
  }

  /* How it works section mobile */
  .how-it-works-section {
    padding: 3rem 0;
  }

  .steps-grid {
    gap: 1rem;
    margin: 2rem auto 0;
  }

  .step-card {
    padding: 1.25rem;
    border-radius: 1rem;
  }

  .step-number {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .step-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }

  .step-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .step-description {
    font-size: 0.85rem;
  }

  .step-details li {
    font-size: 0.75rem;
  }

  /* Testimonials mobile */
  .testimonials-section {
    padding: 2.5rem 0;
  }

  .testimonials-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .testimonials-grid {
    gap: 1rem;
  }

  .testimonial-card {
    padding: 1.25rem;
    border-radius: 1rem;
  }

  .testimonial-number {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .testimonial-stars {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .testimonial-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .testimonial-author {
    font-size: 0.85rem;
  }

  .testimonial-details li {
    font-size: 0.75rem;
  }

  /* Section headers mobile */
  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 0.75rem;
  }

  .section-description {
    font-size: 0.9rem;
  }

  /* Container mobile */
  .container {
    padding: 0.5rem;
  }

  /* Floating emojis mobile */
  .floating-emojis {
    display: none; /* Hide on mobile for better performance */
  }

  .emoji-float {
    display: none;
  }

  .middle-floating-emojis {
    display: none; /* Hide on mobile for better performance */
  }

  .middle-emoji {
    display: none;
  }

  /* Fun fact badge mobile */
  .fun-fact-badge {
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
  }

  .fact-emoji {
    font-size: 1.5rem;
  }

  /* CTA buttons mobile */
  .cta-buttons {
    margin-bottom: 2rem;
  }

  .cta-primary, .cta-secondary {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .cta-icon {
    font-size: 1rem;
  }

  /* Footer mobile */
  footer {
    padding: 1rem 0;
    font-size: 11px;
  }

  .footer-link {
    font-size: 0.85rem;
  }

  /* Chat button mobile */
  #chatButton {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  /* Modal responsiveness */
  .modal-content {
    margin: 1rem;
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
  }
}

/* Small mobile phones (360px and below) */
@media (max-width: 360px) {
  .hero-title {
    font-size: clamp(1.75rem, 18vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 12vw, 1.5rem);
  }

  .hero-description {
    font-size: clamp(0.8rem, 5vw, 1rem);
  }

  .service-option {
    padding: 1rem 0.75rem;
  }

  .service-name {
    font-size: 0.95rem;
  }

  .service-desc {
    font-size: 0.75rem;
  }

  .step-card {
    padding: 1rem;
  }

  .testimonial-card {
    padding: 1rem;
  }

  .container {
    padding: 0.25rem;
  }

  .hero-content {
    padding: 0.5rem 0.25rem;
  }
}
