/*
Theme Name: FastCity Express Logistics
Theme URI: https://fastcityexpresslogistics.africa
Author: FastCity Dev Team
Description: Modern, animated, mobile-friendly theme for FastCity Express – with live calculator, hero slider, and full page integration.
Version: 2.0.0
License: GPL v2 or later
Text Domain: fastcity
*/

/* ----- RESET & BASE ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #003366;
  --primary-dark: #001f3f;
  --accent: #ff6600;
  --accent-hover: #e05500;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --gray: #64748b;
  --border: #e2e8f0;
  --shadow: 0 8px 30px rgba(0,0,0,0.08);
  --radius: 16px;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--light-bg);
  color: #1e293b;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color 0.3s ease;
}
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ----- ANIMATIONS ----- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- BUTTONS ----- */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(255,102,0,0.3);
  text-align: center;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,102,0,0.4);
}

.btn-secondary {
  display: inline-block;
  background: var(--primary);
  color: #fff !important;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0,51,102,0.3);
  text-align: center;
}
.btn-secondary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,51,102,0.4);
}

/* ----- RESPONSIVE UTILITY ----- */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
}