/* D&T Transport Solutions LLC - Professional Stylesheet */
:root {
  --primary-color: #0d253f;     /* Dark Blue/Navy */
  --accent-color: #007bc7;      /* Bright Transport Blue */
  --accent-hover: #005a93;
  --dark-bg: #111827;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --text-color: #1f2937;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

body {
  background-color: var(--light-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Page Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0b131f;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-container {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid rgba(0, 123, 199, 0.2);
  border-top: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-logo {
  width: 70px;
  height: 70px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -1px;
  box-shadow: 0 0 20px rgba(0, 123, 199, 0.5);
}

.loader-text {
  color: #e5e7eb;
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Header & Navigation */
header {
  background-color: var(--primary-color);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.top-bar {
  background-color: #071626;
  padding: 8px 5%;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar .info-group span {
  margin-right: 20px;
  color: #9ca3af;
}

.top-bar .info-group strong {
  color: #ffffff;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background-color: var(--accent-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-right: 12px;
  font-weight: 900;
  color: #fff;
}

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

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-color);
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #ffffff;
  transition: all 0.3s;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: #ffffff;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(13, 37, 63, 0.92) 0%, rgba(17, 24, 39, 0.88) 100%), 
              url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: #ffffff;
  padding: 100px 5% 120px 5%;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: #d1d5db;
  margin-bottom: 35px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
  color: #ffffff;
  padding: 60px 5%;
  text-align: center;
}

.page-banner h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.page-banner p {
  color: #9ca3af;
  font-size: 16px;
}

/* Section Styling */
.section {
  padding: 80px 5%;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* Feature Grid / Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: #e0f2fe;
  color: var(--accent-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

/* Hotshot Highlight Box */
.hotshot-banner {
  background: linear-gradient(135deg, #0284c7 0%, var(--primary-color) 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 40px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.hotshot-banner h2 {
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 10px;
}

/* Compliance Badge List */
.compliance-bar {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 25px 5%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}

.badge-item h4 {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-item p {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
}

/* FAQ Accordion */
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  font-weight: 600;
  font-size: 17px;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
}

.faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--text-muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Floating Contact Buttons Widget */
.floating-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: transform 0.3s, background-color 0.3s;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-call {
  background-color: #10b981; /* Emerald green */
}

.float-email {
  background-color: var(--accent-color);
}

.float-quote {
  background-color: #f59e0b; /* Amber */
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: #9ca3af;
  padding: 60px 5% 20px 5%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
}

/* Responsive Rules */
@media (max-width: 768px) {
  .top-bar { display: none; }
  .navbar { flex-direction: column; gap: 15px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hotshot-banner { text-align: center; justify-content: center; }
}
