/**
 * FastOneDay homepage styles (from original lay_Home layout).
 */

:root {
  --primary-green: #8bb83b;
  --dark-green: #648228;
  --light-green: #a3d354;
  --warning-yellow: #ffc107;
  --dark-yellow: #e0a800;
}

.logo-img {
  height: 45px;
  width: auto;
}

@media (min-width: 576px) {
  .logo-img {
    height: 60px;
  }
}

@media (min-width: 992px) {
  .logo-img {
    height: 80px;
  }
}

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 0;
}

/* Original layout uses the photo without the template's light wash overlay. */
.hero::before {
  display: none;
}

.hero .hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content-left {
  background: linear-gradient(135deg, rgba(100, 130, 40, 0.9) 0%, rgba(139, 184, 59, 0.7) 75%, rgba(139, 184, 59, 0) 100%);
  padding: 60px 40px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  max-width: 600px;
  animation: fadeInLeft 1s ease-out;
}

.floating-badge {
  display: inline-block;
  animation: float 3s ease-in-out infinite;
  margin-bottom: 20px;
}

.price-highlight {
  background: linear-gradient(90deg, #ff6b6b, #ff8e53);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3rem;
  font-weight: bold;
}

.trust-badge {
  background: rgba(40, 167, 69, 0.15);
  border: 2px solid #8bb83b;
  border-radius: 10px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  margin: 5px;
  transition: all 0.3s ease;
}

.trust-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

.cta-primary {
  background: linear-gradient(45deg, #ffc107, #ff9800);
  color: #000;
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
  transition: all 0.3s ease;
  animation: pulse-cta 2s infinite;
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.6);
  color: #000;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@keyframes pulse-cta {
  0% { box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4); }
  50% { box-shadow: 0 5px 25px rgba(255, 193, 7, 0.8); }
  100% { box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4); }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.hero-bullets li {
  color: #fff;
  margin: 10px 0;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  animation: fadeInLeft 1s ease-out both;
}

.hero-bullets li:nth-child(1) { animation-delay: 0.2s; }
.hero-bullets li:nth-child(2) { animation-delay: 0.4s; }
.hero-bullets li:nth-child(3) { animation-delay: 0.6s; }

.hero-bullets i {
  color: #8bb83b;
  margin-right: 10px;
  font-size: 1.3rem;
}

.pulse-animation {
  animation: pulse-ring 2s infinite;
  position: relative;
  transform: translateZ(0);
  will-change: transform, box-shadow;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 193, 7, 0.7);
  }
  50% {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 0 0 15px rgba(255, 193, 7, 0);
  }
  100% {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 193, 7, 0);
  }
}

.speed-bar {
  background: var(--warning-yellow) !important;
  border-top: 3px solid var(--dark-yellow);
  border-bottom: 3px solid var(--dark-yellow);
}

.benefit-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
}

.timeline-step {
  position: relative;
  padding: 20px;
}

.timeline-step::after {
  content: "";
  position: absolute;
  top: 35px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--primary-green);
  z-index: -1;
}

.timeline-step:last-child::after {
  display: none;
}

/* How It Works — image + stacked steps */
.how-it-works-fold {
  padding: clamp(2rem, 4vh, 2.75rem) 0;
}

.how-it-works-fold.section {
  padding-top: clamp(2rem, 4vh, 2.75rem);
  padding-bottom: clamp(2rem, 4vh, 2.75rem);
}

.how-it-works-fold .container {
  display: block;
  min-height: 0;
}

.how-it-works-head {
  margin-bottom: 0.75rem;
}

.how-it-works-lead {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  max-width: 42rem;
  margin-inline: auto;
}

.how-it-works-split {
  margin-top: 0;
}

.how-it-works-steps,
.how-it-works-media {
  min-width: 0;
}

.how-steps-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.75vh, 1.25rem);
}

/* Icon circle aligns with step title; description sits under title only */
.how-step-row {
  display: grid;
  grid-template-columns: clamp(48px, 5vw, 60px) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.35rem;
  align-items: center;
}

.how-step-icon {
  grid-column: 1;
  grid-row: 1;
  width: clamp(48px, 5vw, 60px);
  height: clamp(48px, 5vw, 60px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-green);
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  box-shadow: 0 8px 20px rgba(139, 184, 59, 0.35);
  align-self: center;
}

.how-step-title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.25;
  align-self: center;
}

.how-step-desc {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: clamp(0.92rem, 1.25vw, 1rem);
  line-height: 1.5;
}

.how-it-works-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-it-works-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(58vh, 560px);
  object-fit: contain;
  object-position: center right;
  border-radius: 12px;
}

@media (min-width: 768px) {
  .how-it-works-steps {
    padding-right: 0.5rem;
  }

  .how-it-works-media {
    padding-left: 0.25rem;
  }
}

.feature-box {
  padding: 20px;
  border-radius: 10px;
  background: #fff;
  transition: all 0.3s;
}

.feature-box:hover {
  background: var(--light-green);
  transform: scale(1.05);
}

.feature-icon {
  line-height: 1;
  transition: all 0.3s;
}

.feature-icon .bi {
  display: inline-block;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1;
  color: var(--primary-green);
}

.feature-box:hover .feature-icon {
  transform: rotateY(360deg);
}

.testimonial-slide {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 40px;
  height: 40px;
}

.final-cta {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%) !important;
}

.cta-stat {
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.8) !important;
}

.footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(139, 184, 59, 0.2);
  color: #8bb83b;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: #8bb83b;
  color: #fff;
}

#navmenu .lang-item a {
  display: inline-flex;
  align-items: center;
}

.skip-link:focus {
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  left: 1rem;
  padding: 0.75rem 1rem;
  top: 1rem;
  width: auto;
  z-index: 100000;
  background: #3c4133;
  color: #fff;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .hero-content-left {
    padding: 30px 20px;
    margin: 20px;
  }

  .price-highlight {
    font-size: 2rem;
  }

  .hero {
    min-height: auto;
    padding: 80px 0;
  }

  .timeline-step::after {
    display: none;
  }

  .how-it-works-fold,
  .how-it-works-fold.section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .how-it-works-image {
    max-height: min(42vh, 380px);
  }

  .speed-bar .col-md-3 {
    margin-bottom: 15px;
  }
}

@media print {
  .hero,
  .speed-bar,
  .final-cta,
  .footer {
    display: none;
  }
}
