/* Sea Global Logistics - Main Design System & Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy-dark: #0A192F;
  --navy-primary: #1E3E62;
  --navy-light: #2A4D77;
  --blue-accent: #0066FF;
  --orange-accent: #FF6500;
  --green-emerald: #00D26A;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-100: #F8FAFC;
  --slate-50: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-dark: rgba(10, 25, 47, 0.85);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(10,25,47,0.08);
  --shadow-lg: 0 12px 28px rgba(10,25,47,0.15);
  --shadow-glow: 0 0 20px rgba(0, 102, 255, 0.35);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--slate-800);
  background-color: #F4F6F9;
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-orange { color: var(--orange-accent); }
.text-blue { color: var(--blue-accent); }
.text-green { color: var(--green-emerald); }
.bg-navy { background-color: var(--navy-dark); color: #fff; }
.bg-light { background-color: var(--slate-100); }

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(0, 102, 255, 0.1);
  color: var(--blue-accent);
}

.badge-orange {
  background: rgba(255, 101, 0, 0.1);
  color: var(--orange-accent);
}

/* Header & Nav */
.header-top {
  background-color: var(--navy-dark);
  color: #94A3B8;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.top-contacts {
  display: flex;
  gap: 20px;
}

.top-contacts span, .top-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-switch {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 20px;
}

.lang-btn {
  background: none;
  border: none;
  color: #94A3B8;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 14px;
  transition: all 0.2s;
}

.lang-btn.active, .lang-btn:hover {
  background: var(--blue-accent);
  color: #fff;
}

.navbar {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 48px;
  max-width: 220px;
  object-fit: contain;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue-accent), var(--navy-primary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.logo-text h1 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-text span {
  font-size: 12px;
  color: var(--slate-500);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-700);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--blue-accent);
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--orange-accent), #FF8800);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 101, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 101, 0, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--navy-dark);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0A192F 0%, #1E3E62 100%);
  color: #fff;
  padding: 90px 0 120px 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 102, 255, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h2 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  margin: 20px 0;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 18px;
  color: #CBD5E1;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

/* Quote Calculator Widget Card */
.quote-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.quote-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #94A3B8;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}

.form-control::placeholder {
  color: #64748B;
}

.form-control:focus {
  border-color: var(--blue-accent);
  background: rgba(255,255,255,0.15);
}

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

/* Stats Counter Section */
.stats-banner {
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 30px;
  border: 1px solid rgba(0,0,0,0.04);
}

.stat-item {
  text-align: center;
  padding: 10px 20px;
  border-right: 1px solid #E2E8F0;
}

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

.stat-number {
  font-size: 38px;
  font-weight: 800;
  color: var(--navy-primary);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--slate-500);
  font-weight: 600;
  margin-top: 6px;
}

/* Section Headings */
.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-title h3 {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy-dark);
  margin: 12px 0;
  letter-spacing: -0.5px;
}

.section-title p {
  color: var(--slate-600);
  font-size: 16px;
}

/* Services Section */
.services-section {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 255, 0.3);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(30, 62, 98, 0.15));
  color: var(--blue-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.service-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--slate-600);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-features {
  margin-bottom: 20px;
  border-top: 1px solid #F1F5F9;
  padding-top: 16px;
}

.service-features li {
  font-size: 13px;
  color: var(--slate-700);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.service-features li::before {
  content: '✓';
  color: var(--green-emerald);
  font-weight: 800;
}

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

/* Route Network Section */
.routes-section {
  padding: 90px 0;
  background: var(--navy-dark);
  color: #fff;
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.route-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s;
}

.route-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--blue-accent);
}

.route-points {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(255,255,255,0.15);
}

.point {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.arrow-icon {
  color: var(--orange-accent);
  font-size: 20px;
}

.route-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #94A3B8;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Accreditation Badges */
.accred-section {
  padding: 60px 0;
  background: #fff;
  border-bottom: 1px solid #E2E8F0;
}

.accred-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.accred-badge {
  text-align: center;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  background: var(--slate-100);
  border: 1px solid #E2E8F0;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-primary);
  min-width: 140px;
}

/* News Section */
.news-section {
  padding: 90px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

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

.news-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-body {
  padding: 24px;
}

.news-date {
  font-size: 12px;
  color: var(--slate-500);
  margin-bottom: 8px;
}

.news-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.news-desc {
  font-size: 14px;
  color: var(--slate-600);
  margin-bottom: 16px;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Contact Footer */
.footer {
  background: #071224;
  color: #94A3B8;
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h5 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col p, .footer-col li {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

/* Admin Dashboard CSS */
.admin-sidebar {
  width: 260px;
  background: var(--navy-dark);
  color: #fff;
  min-height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
}

.admin-content {
  margin-left: 260px;
  padding: 40px;
}

.table-custom {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
}

.table-custom th {
  background: #F1F5F9;
  text-align: left;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-700);
}

.table-custom td {
  padding: 14px 18px;
  border-bottom: 1px solid #E2E8F0;
  font-size: 14px;
}

/* RESPONSIVE DESIGN FOR COMPUTERS + MOBILE */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .services-grid, .routes-grid, .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-item {
    border-right: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-top-inner {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.active {
    display: flex;
  }
  .hero-content h2 {
    font-size: 32px;
  }
  .services-grid, .routes-grid, .news-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    width: 100%;
    min-height: auto;
    position: relative;
  }
  .admin-content {
    margin-left: 0;
  }
}
