/*
Theme Name: Logistics
Theme URI: https://sadpinc.ca/
Description: Custom Theme For Logistics Website.
Version: 1.0
*/

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

:root {
  --primary-dark: #0e1a2b;
  --primary-blue: #1f3c88;
  --accent-blue: #2fa4d8;
  --light-bg: #f4f7fb;
  --white: #ffffff;
  --text-dark: #1b2430;
  --text-muted: #6c7a89;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background: var(--light-bg);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 60px;
  font-weight: 800;
}

h2 {
  font-size: 42px;
  font-weight: 700;
}

h3 {
  font-size: 26px;
  font-weight: 600;
}

p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
h2.company_name {
  color: #333d72;
}
.btn-quote {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: #2fa4d8;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: 0.4s ease;
}

.btn-quote::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #1f3c88;
  transition: 0.4s ease;
  z-index: 0;
}
a.btn-quote span {
  font-family: "Montserrat", sans-serif !important;
  font-size: 18px;
  font-weight: 500;
}
.btn-quote span,
.btn-quote i {
  position: relative;
  z-index: 1;
}

.btn-quote:hover::before {
  left: 0;
}

.btn-quote:hover i {
  transform: translateX(6px);
  transition: 0.3s ease;
}
.btn-quote:hover {
  box-shadow: 0 10px 25px rgba(47, 164, 216, 0.4);
}
.btn-quote:hover {
  transform: translateY(-3px);
}

.header {
  background: rgba(14, 26, 43, 0);
  backdrop-filter: blur(12px);
  z-index: 999;
  position: relative;
}

nav a {
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #0b1c2d;
  margin-left: 25px;
  text-decoration: none;
}

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

.logo {
  width: 120px;
  padding: 10px;
}

.btn-nav {
  background: #2fa4d8;
  padding: 8px 20px;
  border-radius: 5px;
}

.hero {
  background: url("/wp-content/uploads/2026/03/Travel-ship@3x.jpg") center/cover;
  background-position: top;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 40px 20px;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgb(60 22 35 / 83%), rgb(55 21 34 / 79%));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.typed-wrapper {
  font-size: 28px;
  font-weight: 600;
  color: #2fa4d8;
  margin-bottom: 20px;
  min-height: 40px;
}

.cursor {
  animation: blink 1s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-tagline {
  font-size: 18px;
  color: #d0d6e0;
  margin-bottom: 35px;
}

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

.btn-primary {
  background: #2fa4d8;
  padding: 14px 38px;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #1f3c88;
  transform: translateY(-4px);
}

.btn-outline {
  border: 2px solid #fff;
  padding: 12px 34px;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #fff;
  color: #0e1a2b;
}

.about {
  padding: 120px 0;
  background: #2fa4d84f;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-grid h2 {
  margin-bottom: 20px;
}
.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.about-features {
  margin-top: 40px;
  display: grid;
  gap: 25px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  border-radius: 10px;
  background: #f4f7fb;
  transition: 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}
.feature-item:hover p,
.feature-item:hover h4 {
  color: #fff;
}

.feature-item p,
.feature-item h4 {
  transition: all 0.3s ease-in-out;
}

.feature-item:hover {
  background-color: #0b1c2d;
}

.feature-item:hover .feature-icon {
  background: #fff;
}

.feature-item:hover i {
  color: #2fa4d8 !important;
}
.feature-icon {
  width: 50px;
  height: 50px;
  background: #2fa4d8;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}

.feature-item h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  color: #1f3c88;
  margin-bottom: 5px;
}

.feature-item p {
  font-size: 14px;
  color: #6c7a89;
}

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

.service-content h3 {
  color: #ffffff;
}

.service-content::before {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--accent-blue);
  display: block;
  margin-bottom: 20px;
}

.service-card {
  position: sticky;
  top: 0;
  min-height: 50vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: #0b1c2d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.service-content {
  padding: 0 100px;
  color: #fff;
}

.service-content h3 {
  font-size: 40px;
  margin-bottom: 20px;
}

.service-content p {
  font-size: 18px;
  line-height: 1.6;
}

.service-card:nth-child(even) {
  direction: rtl;
}

.service-card:nth-child(even) .service-content {
  direction: ltr;
}

.service-accent {
  width: 60px;
  height: 4px;
  background: #2fa4d8;
  display: block;
  margin-bottom: 25px;
}

.service-content h3 {
  font-size: 38px;
  margin-bottom: 15px;
}

.service-intro {
  font-size: 18px;
  color: #d6e3f0;
  margin-bottom: 20px;
}

.service-content p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #b8c7d9;
}

.service-list {
  list-style: none;
  margin-bottom: 30px;
}

.service-list li {
  margin-bottom: 12px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-list i {
  color: #2fa4d8;
}

.service-btn {
  display: inline-block;
  background: #2fa4d8;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
  color: #fff;
}

.service-btn:hover {
  background: #1f3c88;
  transform: translateY(-3px);
}

.stats {
  background: var(--primary-blue);
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

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

.stat-box {
  padding: 40px;
  transition: 0.3s;
}

.stat-box:hover {
  transform: translateY(-10px);
}

.stat-box h3 {
  font-size: 55px;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-box p {
  font-size: 18px;
  opacity: 0.9;
  color: #ffffff;
}
.intelcom-grid {
  text-align: center;
}
.intelcom-grid .top-heading {
  margin-bottom: 30px;
}
.info-item p {
  color: #c5bebe;
}
.intelcom {
  padding: 40px 0;
  background: #f4f6f9;
}
.intelcom-grid .top-heading {
  margin-bottom: 30px;
}
.youtube h2 {
  margin-bottom: 30px;
}
.intel-logos img {
  height: 80px;
  margin-right: 20px;
}

.youtube {
  padding: 60px 0;
  background: #fff;
  text-align: center;
}

.video-box iframe {
  width: 100%;
  height: 500px;
  border-radius: 15px;
}

.contact-section {
  position: relative;
  padding: 140px 0;
  background: url("/wp-content/uploads/2026/03/contact-scaled.jpg") center/cover
    fixed;
}

.contact-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #0e1a2bcc;
  top: 0px;
}

.contact-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  padding: 20px;
  border-radius: 15px;
  color: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.contact-form-card h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.contact-form-card p {
  margin-bottom: 30px;
  opacity: 0.8;
  color: #ffffff;
}

.input-group {
  margin-bottom: 20px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  outline: none;
  font-size: 15px;
}

.input-group input:focus,
.input-group textarea:focus {
  box-shadow: 0 0 0 2px #2fa4d8;
}

.btn-contact {
  background: #2fa4d8;
  color: #fff;
  padding: 14px 35px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-contact:hover {
  background: #2fa4d8;
  transform: translateY(-3px);
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 15px;
  color: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.contact-info-card h3 {
  font-size: 28px;
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.icon-box {
  min-width: 50px !important;
  height: 50px;
  background: #2fa4d8;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 20px;
  font-size: 18px;
}

/* NAV LAYOUT */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #0b1c2d;
  display: block;
  transition: 0.3s;
}
section.youtube h2 a {
  color: #0b1c2d;
}

.intel-logos {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 767px) {
  .menu-toggle {
    display: flex;
  }

  #mainNav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0e1a2b;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  #mainNav a {
    padding: 15px;
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  #mainNav.active {
    max-height: 500px;
  }
  #mainNav {
    display: flex;
    justify-content: center;
  }
  #mainNav a {
    margin-left: 0px !important;
    justify-content: center;
    color: #ffffff;
  }
}

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

footer {
  background: #fff;
  text-align: center;
  padding: 20px 0 0px;
  color: #fff;
}

footer img {
  width: 120px;
  margin-bottom: 15px;
  background-color: #fff;
  border-radius: 0;
}

footer p {
  padding: 10px 0px;
  background-color: #000;
}
@media (max-width: 991px) {
  .service-card {
    position: unset;
    grid-template-columns: 1fr;
  }
  .service-content {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 30px 0px;
  }
  .service-content::before {
    margin-bottom: 10px;
  }
}
@media (max-width: 767px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about {
    padding: 60px 0px;
  }
  .hero h1 {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-section {
    padding: 60px 0;
  }
  h2 {
    font-size: 30px;
  }
  .logo {
    width: 90px;
    padding: 10px;
  }
  h2.company_name {
    font-size: 18px;
  }
}

@media (max-width: 567px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-box {
    padding: 0px;
  }
}

.driver-ad {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 300px;
  z-index: 9999;

  border-radius: 10px;
  overflow: hidden;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);

  animation: slideUpAd 0.8s ease forwards;
}

/* slide animation */
@keyframes slideUpAd {
  from {
    transform: translateY(120px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.driver-ad img {
  width: 100%;
  display: block;
}

/* close button */
.close-ad {
  position: absolute;
  top: 8px;
  right: 8px;

  width: 28px;
  height: 28px;

  border: none;
  border-radius: 50%;

  background: #fff;
  color: #000;

  font-size: 16px;
  cursor: pointer;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.close-ad:hover {
  background: #e60023;
  color: #fff;
}

@media (max-width: 768px) {
  .driver-ad {
    width: 180px;
    bottom: 15px;
    right: 15px;
  }
  .intel-logos {
    flex-wrap: wrap;
    gap: 20px;
  }
}

.driver-ad {
  display: none;
}
.driver-ad.show {
  display: block;
}
