/* ==========================================================================
   TULIP SHIPPING LTD - PRODUCTION CSS FOR CPANEL HOSTING
   Designed for Tulip Shipping Ltd, Nairobi, Kenya
   Font: Plus Jakarta Sans / Inter / System Sans
   ========================================================================== */

:root {
  --primary-navy: #071326;
  --secondary-navy: #0B172C;
  --dark-accent: #0A2540;
  --brand-gold: #E5A824;
  --brand-gold-hover: #d69919;
  --brand-red: #E11D2A;
  --brand-blue: #2563EB;
  --brand-blue-hover: #1D4ED8;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --border-light: #E2E8F0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
}

/* Base & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Badges & Kickers */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-dark {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F1F5F9;
  backdrop-filter: blur(8px);
}

.badge-blue {
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  color: var(--brand-blue);
}

.badge-gold {
  background: rgba(229, 168, 36, 0.15);
  border: 1px solid rgba(229, 168, 36, 0.4);
  color: var(--brand-gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-gold {
  background: var(--brand-gold);
  color: #0F172A;
  box-shadow: 0 4px 14px rgba(229, 168, 36, 0.35);
}

.btn-gold:hover {
  background: var(--brand-gold-hover);
  transform: translateY(-1px);
}

.btn-dark {
  background: #0F172A;
  color: #FFFFFF;
}

.btn-dark:hover {
  background: #1E293B;
  transform: translateY(-1px);
}

.btn-glass {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  backdrop-filter: blur(6px);
}

.btn-glass:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Header & Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 19, 38, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  background: #FFFFFF;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
}

.logo-img {
  height: 38px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #CBD5E1;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-gold);
  border-radius: 2px;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  color: #FFFFFF;
  font-size: 24px;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh;
  padding: 150px 0 100px;
  display: flex;
  align-items: center;
  background: var(--primary-navy);
  color: #FFFFFF;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 19, 38, 0.95) 0%, rgba(7, 19, 38, 0.8) 55%, rgba(7, 19, 38, 0.88) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 760px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 20px 0;
}

.hero-title .highlight {
  color: var(--brand-gold);
}

.hero-lead {
  font-size: 1.15rem;
  color: #E2E8F0;
  margin-bottom: 32px;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Stats Ribbon */
.stats-ribbon-wrapper {
  position: relative;
  z-index: 20;
  margin-top: -50px;
}

.stats-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  border-right: 1px solid #F1F5F9;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: 2.25rem;
  font-weight: 900;
  font-family: monospace;
  color: var(--text-dark);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 8px;
}

/* Section Common Styling */
.section {
  padding: 90px 0;
}

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

.section-white {
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin: 12px 0;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-img-box {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-box img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.cert-floating-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
}

.about-bullets {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #1E293B;
}

.bullet-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-blue);
  flex-shrink: 0;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  border-color: #93C5FD;
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
}

.service-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: #EFF6FF;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
  background: var(--brand-blue);
  color: #FFFFFF;
}

.service-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.service-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Why Choose Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #F1F5F9;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  text-align: center;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 16px;
  font-family: monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  margin-bottom: 14px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

.process-step-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.process-step-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* Tracking Card */
.tracking-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 44px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.tracking-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  align-items: center;
}

.tracking-form-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.tracking-input {
  flex-grow: 1;
  padding: 14px 18px;
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: monospace;
  font-size: 15px;
  outline: none;
}

.tracking-input:focus {
  border-color: var(--brand-blue);
  background: #FFFFFF;
}

/* Industries Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s ease;
}

.industry-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

/* Global Coverage Dark Card */
.global-card {
  background: var(--secondary-navy);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: #FFFFFF;
  border: 1px solid #1E293B;
  box-shadow: var(--shadow-xl);
}

/* Fleet Grid */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.fleet-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #FFFFFF;
}

.fleet-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fleet-card:hover .fleet-card-bg {
  transform: scale(1.08);
}

.fleet-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 38, 0) 30%, rgba(7, 19, 38, 0.95) 100%);
}

.fleet-card-body {
  position: relative;
  z-index: 10;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Partners Strip */
.partners-strip {
  padding: 40px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.partners-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.partner-logo-item {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #64748B;
  font-family: monospace;
}

/* Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

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

.blog-img-box {
  position: relative;
  aspect-ratio: 16/9;
}

.blog-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.blog-body {
  padding: 24px;
}

.blog-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.blog-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* CTA Banner */
.cta-banner-box {
  background: linear-gradient(135deg, #07172F 0%, #0A2540 60%, #071326 100%);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  text-align: center;
  color: #FFFFFF;
  border: 1px solid #1E293B;
  box-shadow: var(--shadow-xl);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 40px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-blue);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form-box {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand-blue);
}

/* Footer */
.site-footer {
  background: var(--primary-navy);
  color: #94A3B8;
  padding: 80px 0 32px;
  border-top: 1px solid #1E293B;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1E293B;
}

.footer-title {
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.footer-links a:hover {
  color: #FFFFFF;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .services-grid, .features-grid, .industries-grid, .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-card { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .tracking-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 2.2rem; }
  .stats-card { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; }
  .testimonials-grid, .blog-grid { grid-template-columns: 1fr; }
  .services-grid, .features-grid, .industries-grid, .fleet-grid, .process-grid { grid-template-columns: 1fr; }
  .form-group-row { grid-template-columns: 1fr; }
}
