/* ============================================================
   BRIDGE LOGISTICS CARGO — Homepage Styles
   ============================================================ */

/* ── HERO SLIDER ── */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 20, 64, 0.85) 0%, rgba(13, 31, 92, 0.65) 60%, rgba(13, 31, 92, 0.3) 100%);
}

.slide .container {
  position: relative;
  z-index: 2;
}

.slide-content {
  max-width: 720px;
  padding: 20px 0;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242, 101, 34, 0.2);
  border: 1px solid rgba(242, 101, 34, 0.5);
  border-radius: 30px;
  padding: 8px 18px;
  margin-bottom: 24px;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.slide-content h1 {
  color: #fff;
  font-size: clamp(32px, 5.5vw, 62px);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
}

.slide-content h1 em {
  color: var(--orange);
  font-style: normal;
}

.slide-content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

.slide-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.slide-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.slide-stat {
  padding: 0 28px;
  text-align: center;
}

.slide-stat:first-child {
  padding-left: 0;
}

.slide-stat strong {
  display: block;
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 900;
  color: #fff;
}

.slide-stat span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.slide-stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* Slider controls */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.slider-prev {
  left: 24px;
}

.slider-next {
  right: 24px;
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.slider-dot.active {
  background: var(--orange);
  transform: scale(1.3);
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 22px 0;
  box-shadow: 0 2px 16px rgba(13, 31, 92, 0.06);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  font-size: 24px;
  color: var(--orange);
}

.trust-item div strong {
  display: block;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.trust-item div span {
  font-size: 11px;
  color: var(--gray-600);
}

.trust-sep {
  width: 1px;
  height: 36px;
  background: var(--gray-200);
}

/* ── SERVICES ── */
.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  flex-wrap: wrap;
  gap: 20px;
}

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

/* ── ABOUT ── */
.about-section {}

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

.about-images {
  position: relative;
}

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

.about-img-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.about-img-secondary img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.about-exp-badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: var(--orange);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-exp-badge strong {
  display: block;
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.about-exp-badge span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about-feature-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.about-feature-icon i {
  color: #fff;
  font-size: 13px;
}

.about-feature h4 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 3px;
}

.about-feature p {
  font-size: 13px;
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--navy);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 64px;
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(242, 101, 34, 0.4);
  transform: translateY(-4px);
}

.step-num {
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 900;
  color: rgba(242, 101, 34, 0.2);
  line-height: 1;
  margin-bottom: 12px;
}

.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(242, 101, 34, 0.15);
  border: 2px solid rgba(242, 101, 34, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.step-icon i {
  font-size: 22px;
  color: var(--orange);
}

.step-card h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
}

.step-connector {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 90px;
  color: rgba(242, 101, 34, 0.5);
  font-size: 20px;
}

/* ── PORTFOLIO ── */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 30px;
  border: 2px solid var(--gray-200);
  color: var(--gray-600);
  background: var(--white);
  transition: all var(--transition);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(242, 101, 34, 0.3);
}

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

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 20, 64, 0.88) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-cat {
  background: var(--orange);
  color: #fff;
  font-family: var(--font-title);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 8px;
}

.portfolio-overlay h4 {
  color: #fff;
  font-size: 15px;
}

/* ── WHY US ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: var(--orange-lite);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon i {
  font-size: 18px;
  color: var(--orange);
}

.why-item h4 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 3px;
}

.why-item p {
  font-size: 13px;
}

.why-visual {
  position: relative;
}

.why-main-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.why-badge-card {
  position: absolute;
  bottom: 30px;
  left: -28px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.why-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.why-badge-item i {
  font-size: 22px;
}

.why-badge-item strong {
  display: block;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}

.why-badge-item span {
  font-size: 11px;
  color: var(--gray-600);
}

.why-badge-sep {
  width: 1px;
  height: 36px;
  background: var(--gray-200);
}

/* ── COUNTERS ── */
.counters-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 64px 0;
}

.counters-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}

/* ── TESTIMONIALS ── */
.testi-section {
  background: var(--white);
}

.testi-carousel {
  position: relative;
}

.testi-track-wrapper {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.testi-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testi-card {
  min-width: 100%;
  padding: 48px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.testi-quote {
  font-size: 48px;
  color: var(--orange);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}

.testi-stars {
  color: #F59E0B;
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.testi-card p {
  font-size: 17px;
  color: var(--gray-800);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 28px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.testi-author span {
  font-size: 13px;
  color: var(--gray-600);
}

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.testi-dot.active {
  background: var(--orange);
  transform: scale(1.3);
}

/* ── BLOG ── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}

.blog-card-img {
  position: relative;
  display: block;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-title);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 24px;
}

.blog-date {
  font-size: 12px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.blog-card-body h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.blog-card-body h3 a {
  color: var(--navy);
  transition: color var(--transition);
}

.blog-card-body h3 a:hover {
  color: var(--orange);
}

.blog-card-body p {
  font-size: 14px;
  line-height: 1.65;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%);
  padding: 80px 0;
}

.cta-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-inner .section-eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.cta-inner h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  margin-bottom: 36px;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: #fff;
  color: var(--orange) !important;
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

.btn-outline-wa {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

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

.btn-outline-wa i {
  color: #25D366;
}

/* ── CONTACT STRIP ── */
.contact-strip {
  padding: 60px 0;
  background: var(--off-white);
}

.contact-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.contact-strip-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-strip-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 10px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-strip-icon i {
  color: #fff;
  font-size: 18px;
}

.contact-strip-item h4 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-strip-item p {
  font-size: 13px;
  line-height: 1.7;
}

.contact-strip-item a {
  color: var(--orange);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .step-connector {
    display: none;
  }

  .about-grid,
  .why-grid {
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 100svh;
    max-height: 700px;
  }

  .slide-content h1 {
    font-size: clamp(32px, 6vw, 42px);
  }

  .slide-content p {
    font-size: 16px;
  }

  .slide-btns {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .slide-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .slide-stats {
    display: none;
  }

  .slider-prev {
    left: 10px;
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .slider-next {
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .trust-bar-inner {
    justify-content: flex-start;
  }

  .trust-sep {
    display: none;
  }

  .services-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-img-secondary,
  .about-exp-badge {
    display: none;
  }

  .about-img-main img {
    height: 280px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-badge-card {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    margin-top: -30px;
    z-index: 10;
  }

  .counters-grid {
    gap: 16px;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }

  .contact-strip-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testi-card {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .contact-strip-grid {
    grid-template-columns: 1fr;
  }

  .counters-grid {
    flex-direction: column;
    align-items: center;
  }
}