/* Body */
body {
  color: #494444;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 300;
}
::selection {
  background: #f6dedb;
}

/* Typography */
h1 {
  color: #1e1e1e;
  font-size: 3.75rem;
  font-weight: 700;
  letter-spacing: -.1875rem;
}
@media (max-width: 575.98px) {
  h1 {
    font-size: 1.875rem;
    letter-spacing: -.0625rem;
  }
}
h1 span {
  color: #c02011;
}

h2 {
  color: #c02011;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -.125px;
}
@media (max-width: 575.98px) {
  h2 {
    font-size: 1.875rem;
    letter-spacing: -.0625rem;
  }
}

h3 {
  color: #1e1e1e;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.0625rem;
  line-height: 2.25rem;
}
p,
li {
  font-size: 1.125rem;
}
strong {
  font-weight: 500;
}

.lead {
  font-size: 1.975rem;
  font-weight: 700;
  padding-top: .5rem;
}
@media (max-width: 575.98px) {
  .lead {
    font-size: 1.25rem;
  }
}

/* Buttons */
.btn-primary {
  --bs-btn-bg: #c02011;
  --bs-btn-border-color: #c02011;
  --bs-btn-disabled-bg: #f8d7da;
  --bs-btn-disabled-border-color: #f8d7da;
  --bs-btn-hover-bg: #dc3545;
  --bs-btn-hover-border-color: #dc3545;
  border-radius: 0.6rem;
}

/* Home */
#home {
  background-color: #fbf1f0;
  background-image: url('https://bbfctransport.com/img/bg-hero.avif');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: 1.5rem;
}
.hero-img-2 {
  display: none;
}
@media (max-width: 991.98px) {
  #home {
    background-size: auto 100%;
  }
  #home .headline {
    text-align: center;
  }
  .hero-img-1 {
    display: none;
  }
  .hero-img-2 {
    display: inline-block;
  }
}
#home2 {
  background-color: #fbf1f0;
  background-image: url('https://bbfctransport.com/img/bg-hero.avif');
  background-repeat: no-repeat;
  background-size: 100% auto;
  border-radius: 1.5rem;
}

/* Navbar */
@media (max-width: 575.98px) {
  .navbar-brand img {
    width: 40px;
  }  
}
nav .btn {
  --bs-btn-font-weight: 500;
}
nav .btn i {
  font-size: 16px;
}
.btn-outline-danger {
  --bs-btn-border-color: #c02011;
  --bs-btn-color: #c02011;
  --bs-btn-hover-bg: #c02011;
  --bs-btn-hover-border-color: #dc3545;
}
.btn-danger {
  --bs-btn-bg: #c02011;
  --bs-btn-border-color: #c02011;
  --bs-btn-hover-bg: #dc3545;
  --bs-btn-hover-border-color: #dc3545;
}
.btn-lg {
  --bs-btn-padding-x: 1.8rem;
  --bs-btn-padding-y: 0.8rem;
  --bs-btn-border-radius: 0.6rem;
  margin: 0 auto;
  width: auto;
}
@media (max-width: 1199.98px) {
  nav .btn i {
    font-size: 20px;
  }
  nav .btn-lg {
    --bs-btn-padding-x: 1.2rem;
  }
  nav .btn-lg span {
    display: none;
  }
}
@media (min-width: 576px) {
  .navbar-nav {
    background-color: #fff;
    border: 1px solid #f6dedb;
    border-radius: 2rem;
    height: 56px;
  }  
}
.nav-link {
  --bs-nav-link-color: #1e1e1e;
  --bs-nav-link-hover-color: #999;
  font-weight: 500;
  font-size: 15px;
}
.navbar-toggler {
  border: none;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
}
.navbar-toggler-icon {
  background-image: url("https://bbfctransport.com/img/icon-menu.avif");
  background-size: 90%;
}

/* Form */
form {
  background-color: #fff;
  border: 1px solid #f6dedb;
  border-radius: 1.5rem;
}
form h2 {
  text-align: center;
}
label {
  font-weight: 500;
}
@media (max-width: 575.98px) {
  label {
    font-size: 14px;
  }
}
label span {
  color: #c02011;
}

.form-select {
  border: 1px solid #999;
  border-radius: 0.5rem;
  color: #585C5E;
  height: 50px;
  padding: 0 1rem;
}
input[type=text],
input[type=email],
input[type=tel] {
  border: 1px solid #999;
  border-radius: 0.5rem;
  height: 50px;
  padding: 0 1rem;
  width: 100%;
}
::placeholder {
  color: #999;
}
form .btn {
  --bs-btn-font-weight: 500;
  height: 3.125rem;
  width: 100%;
}

/* About us */
#about {
  background-color: #fbf1f0;
  background-image: url('https://bbfctransport.com/img/bg-about.avif');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: 1.5rem;
}
@media (max-width: 991.98px) {
  #about {
    background-size: auto 100%;
  }
}
#about p {
  padding-left: 5rem;
  padding-right: 5rem;
}
@media (max-width: 575.98px) {
  #about p {
    font-size: 16px;
    padding-left: 2rem;
    padding-right: 2rem;
    }
}
#about img {
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
}

/* Our Services */
#services {
  background-color: #fbf1f0;
  background-image: url('https://bbfctransport.com/img/bg-services.avif');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: 1.5rem;
}
#services .panel {
  background-color: #fff;
  border: 1px solid #f6dedb;
  border-radius: 1.5rem;
}
#services .panel p {
  line-height: 1.8rem;
}
@media (max-width: 575.98px) {
  #services h3 {
    font-size: 16px;
    line-height: 1.4rem;
    letter-spacing: -0.5px;
  }
  #services .panel p {
    font-size: 13px;
    line-height: 1.2rem;
  }
}
#services .panel img {
  border-bottom-left-radius: 1.5rem;
  border-top-left-radius: 1.5rem;
}

/* Our Strengths */
#strengths {
  background-color: #fbf1f0;
  background-color: #e24429;
  background-image: url('https://bbfctransport.com/img/bg-strengths.avif');
  background-repeat: no-repeat;
  background-size: 100% auto;
  border-radius: 1.5rem;
}
@media (max-width: 1399.98px) {
  #strengths {
    background-size: 100% 100%;
  }
}
@media (max-width: 1199.98px) {
  #strengths {
    background-size: auto 100%;
  }
}
#strengths h2 {
  color: #fff;
}
#strengths .panel {
  background-color: #fff;
  border-radius: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}
#strengths .panel p {
  color: #1e1e1e;
  font-size: 15px;
  font-weight: 600;
}
@media (max-width: 991.98px) {
  #strengths .panel p {
    font-size: 14px;
  }
}

/* Our Clients */
#clients img {
  height: 86px;
}

/* Footer */
footer {
  background-color: #EFEFEF;
  border-radius: 1.5rem;
}
@media (max-width: 575.98px) {
  footer {
    text-align: center;
  }
}
footer p {
  color: #1e1e1e;
  font-size: 16px;
}
footer p strong {
  font-size: 20px;
}
footer p span {
  font-weight: 500;
}
footer p a {
  color: #494444;
  text-decoration: none;
}
footer .text-center p {
  font-size: 14px;
}

/* Scroll Fade */
.fade-in {
  opacity: 0;
  transform: translateY(20vh);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  visibility: hidden;
  will-change: opacity, visibility;
}
.fade-in.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
}

/* Articles */
article li {
  list-style-position: inside;
  margin-bottom: 1rem;
}
#blog img {
  border-radius: 3rem;
}
@media (max-width: 575.98px) {
  #blog img {
    border-radius: 1.5rem;
  }
}
.wp-block-gallery img {
  margin-top: 1rem !important;
  max-width: 100%;
  width: 100%;
  height: auto;
}