/* ==========================================
   GOOGLE-STYLE MINIMAL DESIGN SYSTEM
   ========================================== */
:root {
  --bg-main: #ffffff;           /* Clean Google White */
  --bg-card: #ffffff;
  --bg-footer: #f2f2f2;         /* Google footer light grey */
  --bg-input: #ffffff;
  --bg-muted: #f8f9fa;          /* Google light grey buttons */
  
  --primary: #ff551f;           /* Brand Vibrant Orange */
  --primary-hover: #e04616;
  --secondary: #121110;         /* Black */
  --success: #10b981;
  --danger: #ef4444;
  
  --text-dark: #202124;         /* Google dark grey text */
  --text-gray: #4d5156;         /* Google search description text */
  --text-muted: #70757a;        /* Google subtext gray */
  --text-light: #ffffff;
  
  --border-color: #dadce0;      /* Google border light gray */
  --border-focus: #ff551f;      
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-google: 0 1px 6px rgba(32,33,36,.28); /* Google search focus shadow */
  --shadow-card: 0 4px 16px rgba(0,0,0,0.08);
  
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.google-theme {
  background-color: var(--bg-main);
  color: var(--text-gray);
  font-family: var(--font-body);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.container-small {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Flex Helpers */
.flex-row { display: flex; align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 1rem; }

/* ==========================================
   TOP NAV BAR (GOOGLE-STYLE)
   ========================================== */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  font-family: var(--font-body);
  background-color: transparent;
  z-index: 10;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-link-item {
  color: var(--text-gray);
  font-weight: 500;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link-item:hover {
  color: var(--primary);
}

.btn-admin-link {
  background-color: var(--secondary);
  color: var(--text-light);
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  transition: all 0.15s ease;
}

.btn-admin-link:hover {
  background-color: var(--primary);
  transform: translateY(-1px);
}

/* ==========================================
   GOOGLE MAIN ENGINE SECTION
   ========================================== */
.google-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  position: relative;
  z-index: 5;
}

.google-search-container {
  width: 100%;
  max-width: 650px;
  text-align: center;
  margin-top: -3rem; /* Push slightly up to match Google layout */
}

/* Logo */
.logo-wrapper {
  margin-bottom: 1.75rem;
}

.center-logo {
  height: 110px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Search Card / Wizard Card */
.search-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

/* Progress header (shown in steps 2 & 3) */
.wizard-header {
  display: none; /* Hidden on step 1 */
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.back-arrow {
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s ease;
}

.back-arrow:hover {
  color: var(--primary);
}

.progress-bar-container {
  flex: 1;
  height: 4px;
  background-color: var(--border-color);
  border-radius: 100px;
  margin: 0 1.25rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 33.33%;
  background-color: var(--primary);
  border-radius: 100px;
  transition: width 0.3s ease;
}

.step-counter {
  font-weight: 700;
  font-family: var(--font-display);
}

/* ==========================================
   STEP 1: GOOGLE SEARCH INPUT
   ========================================== */
.google-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 0 1.15rem;
  background-color: var(--bg-input);
  transition: all 0.15s ease;
  height: 50px;
}

.google-input-wrapper:hover {
  box-shadow: 0 1px 4px rgba(32,33,36,0.18);
  border-color: transparent;
}

.google-input-wrapper:focus-within {
  box-shadow: var(--shadow-google);
  border-color: transparent;
}

.search-icon {
  color: #9aa0a6;
  font-size: 1.1rem;
  margin-right: 0.75rem;
}

.google-search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
}

.google-search-input::placeholder {
  color: #9aa0a6;
}

.clear-search-btn {
  background: transparent;
  border: none;
  color: #70757a;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.25rem;
  display: flex;
  align-items: center;
}

.clear-search-btn:hover {
  color: var(--text-dark);
}

.error-feedback {
  color: var(--danger);
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.5rem;
  padding-left: 1.25rem;
  display: none;
}

/* Action Buttons below search bar */
.google-search-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-google {
  background-color: var(--primary);
  color: var(--text-light);
  border: 1px solid var(--primary);
}

.btn-google:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-google-outline {
  background-color: var(--bg-muted);
  border: 1px solid var(--border-color);
  color: var(--text-gray);
}

.btn-google-outline:hover {
  background-color: #ededed;
  color: var(--text-dark);
  border-color: #c6c6c6;
}

/* ==========================================
   CAROUSEL SCENARIOS COMPONENT (SUBTLE HIGHLIGHT & RESPONSIVE)
   ========================================== */
.carousel-container {
  margin-top: 2rem;
  background: linear-gradient(180deg, rgba(255, 85, 31, 0.02) 0%, rgba(255, 85, 31, 0.05) 100%);
  border: 1px solid rgba(255, 85, 31, 0.12);
  border-radius: 12px;
  padding: 1.25rem;
  position: relative;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-container:hover {
  border-color: rgba(255, 85, 31, 0.22);
  box-shadow: 0 4px 16px rgba(255, 85, 31, 0.04);
}

.carousel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: rgba(255, 85, 31, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.carousel-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.carousel-text {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.55;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.carousel-text strong {
  color: var(--primary);
  font-weight: 700;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.dot {
  width: 6px;
  height: 6px;
  background-color: rgba(255, 85, 31, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dot.active {
  background-color: var(--primary);
  width: 14px;
  border-radius: 3px;
}

/* ==========================================
   STEP 2 & 3 FORM FIELDS
   ========================================== */
.wizard-step-content {
  display: none;
  animation: slideFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-step-content.active {
  display: block;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.step-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.required {
  color: var(--primary);
}

.form-control {
  width: 100%;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: all 0.15s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(255, 85, 31, 0.12);
}

.form-control::placeholder {
  color: #9ca3af;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

.input-hint {
  font-size: 0.725rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  line-height: 1.35;
}

.form-group.has-error .form-control {
  border-color: var(--danger);
}

.form-group.has-error .error-feedback {
  display: block;
  padding-left: 0;
}

.form-actions-wizard {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.75rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.btn-primary-orange {
  background-color: var(--primary);
  color: var(--text-light);
}

.btn-primary-orange:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-primary-orange:disabled {
  background-color: var(--text-muted);
  cursor: not-allowed;
  transform: none;
}

/* ==========================================
   STEP 4 SUCCESS SCREEN
   ========================================== */
.success-view {
  text-align: center;
  padding: 0.5rem 0;
}

.success-icon-container {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.text-green {
  color: var(--success);
}

.success-title {
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.success-subtitle {
  color: var(--text-gray);
  font-size: 0.825rem;
  margin-bottom: 1.25rem;
}

.request-number-box {
  background-color: var(--bg-muted);
  border: 1px dashed var(--primary);
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  min-width: 220px;
}

.box-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.request-number-value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.btn-copy {
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  transition: background-color 0.15s ease;
}

.btn-copy:hover {
  background-color: rgba(255, 85, 31, 0.08);
}

.success-promise {
  font-size: 0.85rem;
  color: var(--text-dark);
  background-color: rgba(255, 85, 31, 0.06);
  border: 1px solid rgba(255, 85, 31, 0.12);
  border-radius: 6px;
  padding: 0.65rem 1rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.btn-secondary {
  background-color: var(--bg-muted);
  border: 1px solid var(--border-color);
  color: var(--text-gray);
}

.btn-secondary:hover {
  background-color: var(--border-color);
  color: var(--text-dark);
}

/* ==========================================
   COMPLEMENTARY SECTIONS
   ========================================== */
.section-complementary {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-color);
}

.bg-light {
  background-color: var(--bg-muted);
}

.section-title-center {
  font-size: 1.45rem;
  text-align: center;
  margin-bottom: 2.25rem;
  color: var(--text-dark);
}

/* Horizontal Timeline */
.timeline-horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

@media (max-width: 768px) {
  .timeline-horizontal {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.timeline-step {
  text-align: center;
  position: relative;
}

.timeline-step-num {
  width: 32px;
  height: 32px;
  background-color: var(--secondary);
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem auto;
  border: 2px solid var(--primary);
  position: relative;
  z-index: 2;
}

.timeline-step h5 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.timeline-step p {
  font-size: 0.8rem;
  color: var(--text-gray);
  line-height: 1.4;
}

/* Trust Value Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.trust-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.trust-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.trust-card p {
  font-size: 0.8rem;
  color: var(--text-gray);
  line-height: 1.45;
}

/* FAQs Section */
.faqs-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-color);
}

.faqs-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.faq-btn i {
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s cubic-bezier(0, 1, 0, 1);
  background-color: var(--bg-muted);
}

.faq-body p {
  padding: 1rem 1.25rem;
  font-size: 0.825rem;
  color: var(--text-gray);
  line-height: 1.45;
}

.faq-item.active {
  border-color: #cbd5e1;
}

.faq-item.active .faq-btn i {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item.active .faq-body {
  max-height: 500px;
  transition: max-height 0.25s cubic-bezier(1, 0, 1, 0);
}

/* ==========================================
   GOOGLE-STYLE FOOTER
   ========================================== */
.google-footer {
  background-color: var(--bg-footer);
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.8rem;
  width: 100%;
}

.footer-top-row {
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

.footer-country {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-gray);
}

.footer-brand-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-bottom-row {
  padding: 1rem 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copyright {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.disclaimer-text {
  font-size: 0.7rem;
  opacity: 0.8;
  margin-bottom: 0.2rem;
}

@media (max-width: 768px) {
  .footer-copyright {
    align-items: flex-start;
    text-align: left;
    margin-top: 0.5rem;
  }
}

/* ==========================================
   ORDER TRACKING TIMELINE
   ========================================== */
.tracking-timeline-container {
  position: relative;
  margin: 2.5rem 0 1rem 0;
  padding: 0 1rem;
}

.tracking-line-bg {
  position: relative;
  height: 6px;
  background-color: var(--border-color);
  border-radius: 100px;
  width: 100%;
}

.tracking-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--primary);
  border-radius: 100px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tracking-truck {
  position: absolute;
  top: -23px;
  left: 0%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  transition: left 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.truck-mascot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tracking-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 2rem;
}

.tracking-step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: transparent;
  transition: all 0.4s ease;
  margin-bottom: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.tracking-step-item.completed .step-dot {
  background-color: var(--success);
  border-color: var(--success);
  color: var(--text-light);
}

.tracking-step-item.active .step-dot {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 0 0 4px rgba(255, 85, 31, 0.2);
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 0.25rem;
  max-width: 110px;
}

.step-date {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Pulse animation for the active truck */
@keyframes truckPulse {
  0% { filter: drop-shadow(0 2px 4px rgba(255, 85, 31, 0.2)); }
  50% { filter: drop-shadow(0 4px 12px rgba(255, 85, 31, 0.6)); }
  100% { filter: drop-shadow(0 2px 4px rgba(255, 85, 31, 0.2)); }
}

.tracking-truck {
  animation: truckPulse 2s infinite;
}

/* Responsive vertical timeline for mobile */
@media (max-width: 600px) {
  .tracking-timeline-container {
    padding-left: 2.5rem;
    margin-top: 1.5rem;
  }
  
  .tracking-line-bg {
    position: absolute;
    left: 20px;
    top: 10px;
    width: 6px;
    height: calc(100% - 20px);
  }
  
  .tracking-line-fill {
    width: 100%;
    height: 0%;
    transition: height 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .tracking-truck {
    left: -23px !important; /* Center on line */
    top: 0%;
    transform: translateY(-50%) translateX(0%);
    transition: top 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .tracking-steps {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0;
    gap: 1.75rem;
  }
  
  .tracking-step-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
    width: 100%;
  }
  
  .step-dot {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
  .step-label {
    max-width: none;
    margin-bottom: 0.15rem;
  }
}
