/* ==========================================================================
   ARKS International — Reusable Components
   Buttons, badges, cards, forms, glass panels, tags
   ========================================================================== */

/* ---- Buttons ---- */
.btn { font-family: var(--font-body); font-weight: 600; border-radius: var(--radius-pill); padding: 0.9rem 1.9rem; font-size: 0.95rem; letter-spacing: 0.01em; border: none; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; transition: transform var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft), background var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft); }
.btn:active { transform: scale(0.97); }

.btn-primary-gradient {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-glow-teal);
}
.btn-primary-gradient:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,168,168,.35); }

.btn-outline-light-custom {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline-light-custom:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; transform: translateY(-3px); }

.btn-outline-navy {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid rgba(10,61,98,0.3);
}
.btn-outline-navy:hover { background: var(--color-navy); color: #fff; border-color: var(--color-navy); transform: translateY(-3px); }

.btn-emerald {
  background: var(--gradient-emerald);
  color: #fff;
}
.btn-emerald:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,200,83,.3); }

.btn-sm-pill { padding: 0.6rem 1.3rem; font-size: 0.85rem; }

.btn-icon-circle {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--color-navy); box-shadow: var(--shadow-md);
  transition: transform var(--dur-fast) var(--ease-soft), background var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft);
}
.btn-icon-circle:hover { background: var(--gradient-primary); color: #fff; transform: translateY(-4px); }

/* Magnetic button wrapper target */
.magnetic { will-change: transform; }

/* ---- Badges / Tags ---- */
.badge-pill-soft {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--color-soft-blue); color: var(--color-navy);
  padding: 0.45rem 1rem; border-radius: var(--radius-pill);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
}
.badge-pill-emerald { background: rgba(0,200,83,0.1); color: #018a3f; }
.badge-pill-teal { background: rgba(0,168,168,0.1); color: #027575; }

/* ---- Cards ---- */
.card-elevated {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(10,61,98,0.06);
  transition: transform var(--dur-med) var(--ease-premium), box-shadow var(--dur-med) var(--ease-premium);
}
.card-elevated:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

/* ---- Glassmorphism ---- */
.glass-panel {
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
}
.glass-panel-light {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---- Stat / Counter ---- */
.stat-block .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1;
}
.stat-block .stat-label { color: var(--text-muted); font-size: 0.92rem; margin-top: 0.5rem; }
.stat-block--dark .stat-number { color: #fff; }
.stat-block--dark .stat-label { color: var(--text-on-dark-muted); }

/* ---- Progress bar ---- */
.progress-custom { height: 8px; border-radius: var(--radius-pill); background: rgba(10,61,98,0.08); overflow: hidden; }
.progress-custom .progress-bar-fill { height: 100%; border-radius: var(--radius-pill); background: var(--gradient-primary); width: 0%; transition: width 1.4s var(--ease-premium); }

/* ---- Section divider shapes ---- */
.divider-wave { display: block; width: 100%; height: 80px; }

/* ---- Icon boxes ---- */
.icon-box {
  width: 64px; height: 64px; border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-soft-blue); color: var(--color-navy);
  font-size: 1.5rem; margin-bottom: var(--space-sm);
  transition: transform var(--dur-med) var(--ease-premium), background var(--dur-med) var(--ease-premium), color var(--dur-med) var(--ease-premium);
}
.icon-box--gradient { background: var(--gradient-primary); color: #fff; }

/* ---- Forms ---- */
.form-label-custom { font-weight: 600; font-size: 0.85rem; color: var(--text-heading); margin-bottom: 0.45rem; letter-spacing: 0.01em; }
.form-control-custom, .form-select-custom {
  border: 1.5px solid #E1E8ED; border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem; font-size: 0.95rem; background: #fff;
  transition: border-color var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft);
  width: 100%;
}
.form-control-custom:focus, .form-select-custom:focus {
  border-color: var(--color-teal); box-shadow: 0 0 0 4px rgba(0,168,168,0.12); outline: none;
}
.form-floating-label { position: relative; margin-bottom: var(--space-sm); }
.file-upload-box {
  border: 1.5px dashed #C8D6DE; border-radius: var(--radius-md);
  padding: 1.5rem; text-align: center; cursor: pointer; background: var(--color-light-gray);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.file-upload-box:hover { border-color: var(--color-teal); background: var(--color-soft-blue); }

/* ---- Pagination ---- */
.pagination-custom { display: flex; gap: 0.5rem; align-items: center; justify-content: center; }
.pagination-custom .page-btn {
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #E1E8ED; color: var(--text-body); font-weight: 600;
  transition: all var(--dur-fast) var(--ease-soft);
}
.pagination-custom .page-btn.active, .pagination-custom .page-btn:hover { background: var(--gradient-primary); color: #fff; border-color: transparent; }

/* ---- Back to top ---- */
.back-to-top {
  position: fixed; right: 1.75rem; bottom: 1.75rem; z-index: 900;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--gradient-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all var(--dur-med) var(--ease-premium);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---- WhatsApp floating button ---- */
.whatsapp-float {
  position: fixed; left: 1.75rem; bottom: 1.75rem; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 12px 30px rgba(37,211,102,0.4);
  animation: pulse-wa 2.6s infinite;
}
@keyframes pulse-wa { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45);} 50% { box-shadow: 0 0 0 14px rgba(37,211,102,0);} }

/* ---- Marquee (export markets / logos) ---- */
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Star rating ---- */
.star-rating { color: #FFB020; font-size: 0.9rem; letter-spacing: 2px; }
