/* Nexgen Cargo & Shipping — Custom Styles */

:root {
  --brand: #1e40af;
  --brand-dark: #0b3b8c;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* Hero gradient overlay */
.hero-gradient {
  background: linear-gradient(135deg, rgba(11, 59, 140, 0.92) 0%, rgba(30, 64, 175, 0.88) 50%, rgba(37, 99, 235, 0.82) 100%);
}

.text-gradient {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8 50%, #1e3a8a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Smooth fade-up animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.6s ease-out both; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Card hover */
.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -10px rgba(15, 23, 42, 0.18);
}

/* Subtle dot pattern background */
.bg-dot-pattern {
  background-image: radial-gradient(circle, rgba(100, 116, 139, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}

.dark .bg-dot-pattern {
  background-image: radial-gradient(circle, rgba(148, 163, 184, 0.10) 1px, transparent 1px);
}

/* Prose for blog content */
.prose-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: rgb(15 23 42);
}
.dark .prose-content h2 { color: rgb(248 250 252); }
.prose-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.prose-content p { margin-bottom: 1rem; line-height: 1.75; color: rgb(51 65 85); }
.dark .prose-content p { color: rgb(203 213 225); }
.prose-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose-content li { margin-bottom: 0.5rem; line-height: 1.75; }
.prose-content strong { font-weight: 600; color: rgb(15 23 42); }
.dark .prose-content strong { color: rgb(248 250 252); }
.prose-content a { color: rgb(37 99 235); text-decoration: underline; }
.prose-content a:hover { color: rgb(29 78 216); }

/* Subtle scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Marquee logos */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-track { animation: marquee 25s linear infinite; }

/* Form input focus ring polish */
.form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid rgb(226 232 240);
  background-color: white;
  font-size: 0.9rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus {
  outline: none;
  border-color: rgb(59 130 246);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.dark .form-input {
  background-color: rgb(15 23 42);
  border-color: rgb(51 65 85);
  color: rgb(241 245 249);
}
.dark .form-input:focus {
  border-color: rgb(96 165 250);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgb(203 213 225); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgb(148 163 184); }
.dark ::-webkit-scrollbar-thumb { background: rgb(51 65 85); }
.dark ::-webkit-scrollbar-thumb:hover { background: rgb(71 85 105); }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}
