/* ============================================
   SA SHIPPING — Component Styles
   ============================================
   Buttons, Cards, Forms, Badges, and more
   ============================================ */

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform var(--transition-base);
}

.btn:hover::after {
  transform: translateX(0);
}

/* Primary Button — Orange CTA */
.btn-primary {
  background: var(--gradient-orange);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(242, 140, 40, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(242, 140, 40, 0.45);
  color: var(--color-white);
}

/* Secondary Button — Navy */
.btn-secondary {
  background: var(--gradient-navy);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--color-white);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-navy);
  transform: translateY(-2px);
}

/* Outline Dark — for light backgrounds */
.btn-outline-dark {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn-outline-dark:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 31, 59, 0.3);
}

/* Outline Navy */
.btn-outline-navy {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn-outline-navy:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Button Sizes */
.btn-sm {
  padding: 10px 24px;
  font-size: var(--fs-small);
}

.btn-lg {
  padding: 18px 42px;
  font-size: var(--fs-body-lg);
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ── Cards ── */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card__body {
  padding: var(--space-xl);
}

.card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-orange);
  border-radius: var(--radius-md);
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  transition: transform var(--transition-spring);
}

.card:hover .card__icon {
  transform: scale(1.1) rotate(-5deg);
}

.card__title {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-sm);
  color: var(--color-navy);
}

.card__text {
  font-size: var(--fs-body);
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  color: var(--color-orange);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: gap var(--transition-base);
}

.card__link:hover {
  gap: var(--space-md);
  color: var(--color-orange-dark);
}

/* Glass Card */
.card--glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: none;
}

.card--glass:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

/* ── Stat Cards ── */
.stat-card {
  text-align: center;
  padding: var(--space-xl);
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-extrabold);
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-card__label {
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Forms ── */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  font-size: var(--fs-body);
  color: var(--color-text);
  background: var(--color-off-white);
  border: 2px solid var(--color-light-grey);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-ocean);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(27, 94, 138, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-mid-grey);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
}

.badge--orange {
  background: rgba(242, 140, 40, 0.12);
  color: var(--color-orange);
}

.badge--navy {
  background: rgba(10, 31, 59, 0.1);
  color: var(--color-navy);
}

.badge--success {
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-success);
}

/* ── Testimonial Card ── */
.testimonial {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-card);
  position: relative;
}

.testimonial__quote-icon {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  font-size: 3rem;
  color: var(--color-light-grey);
  opacity: 0.5;
}

.testimonial__text {
  font-size: var(--fs-body-lg);
  font-style: italic;
  color: var(--color-text);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-xl);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial__avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--color-orange);
}

.testimonial__name {
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: var(--color-navy);
}

.testimonial__role {
  font-size: var(--fs-small);
  color: var(--color-text-light);
}

/* ── Star Rating ── */
.stars {
  display: flex;
  gap: 3px;
  color: var(--color-orange);
  margin-bottom: var(--space-md);
}

/* ── Process Steps ── */
.process-step {
  text-align: center;
  position: relative;
  padding: var(--space-xl);
}

.process-step__number {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  background: var(--gradient-orange);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-extrabold);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(242, 140, 40, 0.35);
}

.process-step__title {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-sm);
  color: var(--color-navy);
}

.process-step__text {
  font-size: var(--fs-body);
  color: var(--color-text-light);
}

/* Process connector line */
.process-step::after {
  content: '';
  position: absolute;
  top: 55px;
  right: -10%;
  width: 20%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-grey));
}

.process-step:last-child::after {
  display: none;
}

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: var(--color-white);
  font-size: 1.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
  color: var(--color-white);
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 96px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  z-index: var(--z-fixed);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-orange);
  transform: translateY(-3px);
}
