*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0d5d56;
  --temp: #eab464;
  /* --secondary: #eea15d; */
  --white: #fff;
  --secondary: #ed6a5a;
  --paragraph: #4b4b4b;
}
body {
  font-family: "Open Sans", sans-serif;
  font-weight: normal;
  line-height: 1.4;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

@media screen and (max-width: 767px) {
  p {
    font-size: 0.95rem !important;
  }
}
@media screen and (max-width: 480px) {
  p {
    font-size: 0.93rem !important;
  }
}

/* ===== reused style components */
/* buttons */
.style-btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  border: none;
  cursor: pointer;
  position: relative;
  background-color: var(--primary);
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  font-family: inherit;
  border-radius: 0.3rem;
}

.style-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--secondary);
  transform: translateX(-100%);
  transition: all 0.3s;
  z-index: -1;
}

.style-btn:hover::before {
  transform: translateX(0);
}

@media screen and (max-width: 767px) {
  .style-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 0.2rem;
  }
}

/* === section titles === */
/* ==== SECTION TITLES ==== */
.title-wrap h4 {
  font-weight: bold;
  font-size: 1.08rem;
  text-transform: uppercase;
  color: var(--secondary);
  text-align: center;
  color: #ed6a5a;
  margin-bottom: 0.8rem;
}

.title-wrap h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  text-transform: capitalize;
  color: var(--primary);
  text-align: center;
  line-height: 1.1;
}

@media screen and (max-width: 767px) {
  .title-wrap h4 {
    font-size: 0.95rem;
  }

  .title-wrap h2 {
    font-size: 2rem;
    margin: 0.4rem 0 0.8rem;
  }
}
@media screen and (max-width: 480px) {
  .title-wrap h4 {
    font-size: 0.9rem;
  }

  .title-wrap h2 {
    font-size: 1.6rem;
    margin: 0.4rem 0 0.6rem;
  }
}

/* ==================================== */
.section {
  padding: 3.5rem 1rem;
}

@media screen and (max-width: 480px) {
  .section {
    padding: 2.5rem 0.5rem;
  }
}

/* ====== navbar styles ====== */
nav {
  background-color: var(--white);
  border-bottom: 1px solid #eeeeee;
}
.navbar-brand {
  text-transform: uppercase;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  color: var(--primary);
  font-size: 1.1rem;
}
.nav-brand-highlight {
  color: var(--secondary);
}
.navbar {
  padding: 0.9rem 1rem;
}
.navbar-nav a {
  color: var(--primary);
  font-weight: 600;
  text-transform: capitalize;
  font-size: 1rem;
  transition: all 0.2s ease;
}
.navbar-nav a:hover {
  color: var(--secondary);
}

.nav-quote {
  margin-left: 1.5rem;
}
.nav-quote-btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 0.3rem;
}
.nav-quote-btn:hover {
  color: var(--white);
}

.nav-bottom-wrap {
  display: flex;
  align-items: center;
}

.nav-call-wrap {
  display: flex;
  gap: 0.5rem;
  margin-left: 2rem;
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
}
.nav-call-wrap .phone-icon {
  color: var(--primary);
}

@media screen and (max-width: 991px) {
  .nav-call-wrap,
  .nav-quote {
    margin: 0;
  }

  .navbar-toggle-icon i {
    color: var(--primary);
    font-size: 1.4rem;
    transition: all 0.2s ease;
  }

  .navbar-toggle-icon:hover i {
    color: var(--secondary);
    transform: scale(1.1);
  }

  .navbar-toggler {
    border: none;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  .navbar-nav {
    border-top: 1px solid #04332f2d;
    margin-top: 1rem;
    padding: 1rem 0 1rem;
    border-bottom: 1px solid #04332f28;
  }

  .nav-quote-btn {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 0.2rem;
  }

  .navbar {
    padding: 1rem 1rem;
  }

  .nav-bottom-wrap {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    padding: 2rem 0 1rem;
  }
}

@media screen and (max-width: 480px) {
  .navbar {
    padding: 1rem 0rem;
  }
}

/* ===== hero section ===== */
#hero {
  height: calc(100vh + 70px);

  background: linear-gradient(to bottom, #03312d8f, #011b19),
    url("../img/pallet-home.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 750px;
}
.hero-wrapper {
  color: #fff;
  text-align: center;
  margin: auto;
  width: 100%;
  max-width: 1100px;
}
.hero-sub-head {
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 600;
}
.hero-head {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 4.8rem;
  line-height: 1.1;
  text-transform: capitalize;
  margin: 1rem 0 2rem;
}
.hero-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  width: 100%;
  max-width: 800px;
  margin: auto;
}
.hero-btn-wrap {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.white-btn {
  background-color: #fff;
  color: var(--primary);
  font-weight: 700;
}
.white-btn::before {
  background-color: var(--primary);
}
.white-btn:hover {
  color: var(--white);
}
.quote-btn {
  background-color: var(--secondary);
}
.quote-btn::before {
  background-color: var(--primary);
}

/* ===== ABOUT US ===== */
#about {
  background-color: #fafafa;
}
#about .title-wrap h4,
#about .title-wrap h2 {
  text-align: left;
}

#about .title-wrap {
  margin-bottom: 2.5rem;
}

.about-pic-side {
  height: 100%;
  display: grid;
  place-items: center;
}

.about-pic-wrap {
  width: 100%;
  max-width: 500px;
  border-radius: 1rem;
  border-bottom-right-radius: 4rem;
  border-right: 0.7rem solid var(--secondary);
  overflow: hidden;
  margin: 1rem 2rem;
  height: 500px;
  background: linear-gradient(to bottom, #ed6b5a21, #022e2a6b),
    url("../img/pallet-about.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
/* .about-pic-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  overflow: hidden;
  border-radius: 0.5rem;
  border-bottom-right-radius: 5rem;
} */

.about-detail-side {
  padding: 1rem 0 1rem 1rem;
}

.about-desc {
  font-size: 1.01rem;
  color: var(--paragraph);
}

#about .btn-wrap {
  margin-top: 3rem;
}
#about .about-btn:hover {
  color: var(--white);
}

/* ===== WHY   US ===== */
#why-us {
  background-color: #fafafa;
}
#why-us .title-wrap h4,
#why-us .title-wrap h2 {
  text-align: left;
}

#why-us .title-wrap {
  margin-bottom: 2.5rem;
}

.why-us-pic-side {
  height: 100%;
  display: grid;
  place-items: center;
}

.why-us-pic-wrap {
  width: 100%;
  max-width: 500px;
  border-radius: 1rem;
  border-bottom-left-radius: 4rem;
  border-left: 0.7rem solid var(--secondary);
  overflow: hidden;
  margin: 1rem 2rem;
  height: 370px;
  background: linear-gradient(to bottom, #05383450, #ed6b5a2f),
    url("../img/pallet-why-us.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
/* .about-pic-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  overflow: hidden;
  border-radius: 0.5rem;
  border-bottom-right-radius: 5rem;
} */

.why-us-detail-side {
  padding: 1rem 0 1rem 0rem;
}

.why-us-desc {
  font-size: 1.01rem;
  color: var(--paragraph);
}

.why-us-list {
  margin: 2.5rem 0;
  padding: 0;
}
.why-us-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}
.why-us-item p {
  margin: 0;
  line-height: 1.3;
  font-size: 0.96rem;
  color: #4b4b4b;
}
.why-us-icon {
  background-color: var(--primary);
  padding: 5px 7px;
  border-radius: 0.2rem;
}
.why-us-icon i {
  color: var(--white);
  font-size: 0.7rem;
}

#why-us .btn-wrap {
  margin-top: 3rem;
}
#why-us .about-btn:hover {
  color: var(--white);
}

.why-us-bottom-left {
  margin-top: 0.5rem;
}
.why-us-bottom-left .why-us-item {
  margin-bottom: 1.5rem;
}

.why-us-list-single {
  margin: 2.5rem 0 0;
}

/* ==== our pallets ==== */
.our-pallet-wrap {
  margin: 4rem auto 2rem;
}
.pallet-pic-item {
  max-width: 350px;
  border-radius: 0.4rem;
  overflow: hidden;
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
  cursor: pointer;
  margin: auto;
}
.pallet-pic-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.2s ease-in;
}
.pallet-pic-item:hover img {
  transform: scale(1.15);
}
.pallet-pic-item:hover {
  border: 2px solid var(--secondary);
}

/* ==== quote banner ===== */
#quote-banner {
  width: 100%;
  /* height: 400px; */
  background: linear-gradient(to bottom, #04443f8a, #012522f1),
    url("../img/pallet-why-us.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: grid;
  place-items: center;
  background-attachment: fixed;
}
.banner-wrap {
  padding: 4rem 1rem;
  max-width: 900px;
  margin: auto;
}
.banner-wrap h2 {
  color: var(--white);
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 2.4rem;
}
.banner-wrap p {
  color: var(--white);
  text-align: center;
  margin: 2rem auto 3rem;
}
#quote-banner .btn-wrap .banner-btn {
  display: block;
  margin: auto;
  text-align: center;
  width: fit-content;
  background-color: var(--secondary);
  margin-top: 3rem;
}
#quote-banner .banner-btn::before {
  background-color: var(--primary);
}
#quote-banner .btn-wrap .banner-btn:hover {
  color: var(--white);
}

/*  <!-- ======= FOOTER ======= --> */
#footer {
  width: 100%;
  padding: 3rem 1rem 3rem;
  background: #04332f;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.footer-navbar-brand {
  text-transform: uppercase;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  color: var(--white);
  font-size: 1.25rem;
}
.footer-nav-brand-highlight {
  color: var(--secondary);
}
.footer-desc {
  margin: 2rem 0;
}

.ft-first p,
.ft-fourth p {
  font-size: 0.95rem;
  color: #fefefe;
}
.ft-fourth {
  color: var(--mainWhite);
}

#footer .social-list {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

#footer .social-list li a {
  line-height: 1;
  padding: 0.4rem;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  transition: all 0.3s ease-in;
  cursor: pointer;
}

#footer .social-list li:hover a {
  background-color: var(--secondary);
}

#footer .social-list li svg {
  width: 14px;
  fill: var(--primary);
}

#footer .social-list li:hover svg {
  fill: var(--white);
}

.links-title {
  color: var(--secondary);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 2rem;
}
.footer-links {
  padding: 0;
}
.footer-links li a {
  display: inline-block;
  color: #fefefe;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  transition: all 0.2s ease-in;
}
.footer-links a:hover {
  color: var(--secondary);
}

#footer .ft-fourth span svg {
  width: 13px;
  fill: var(--white);
}

.ft-fourth div {
  margin-bottom: 0.5rem;
}

#footer .ft-fourth .location,
#footer .ft-fourth .mail,
#footer .ft-fourth .phone {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
  color: var(--white);
  font-size: 0.95rem;
  word-wrap: wrap;
}

#footer .ft-third .location {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
  color: var(--white);
  font-size: 0.95rem;
  word-wrap: wrap;
}

#footer .ft-third span svg {
  width: 13px;
  fill: var(--white);
}

.ft-third p {
  margin: 0;
}

.ft-fourth p {
  margin: 0;
  word-break: break-all;
  overflow-wrap: break-word;
  /* word-wrap: break-word; */
}

.f-map-link {
  color: var(--white);
}
.f-map-link:hover {
  color: var(--secondary);
}

.credit-wrap {
  background-color: #da5d4d;
  padding: 0.6rem;
}
.credit-wrap p {
  margin: 0;
  color: var(--white);
  text-align: center;
  font-size: 0.85rem;
}

/* ============================================ */
/* ===== RESPONSIVE MEDIA QURIES ======  */

/* MEDIUM DEVICES */
@media screen and (max-width: 991px) {
  .hero-sub-head {
    font-size: 1.05rem;
  }
  .hero-head {
    font-size: 4.5rem;
  }
  .hero-desc {
    font-size: 1rem;
  }

  .about-detail-side {
    padding: 3rem 0 1rem 1rem;
  }

  .pallet-pic-item {
    margin-bottom: 2rem;
  }
  .banner-wrap h2 {
    font-size: 2.2rem;
  }
  .why-us-detail-side {
    padding: 3rem 0 1rem 0rem;
  }

  .why-us-bottom-left {
    margin-bottom: 0;
  }
}
/* SMALL DEVICES */
@media screen and (max-width: 767px) {
  .hero-sub-head {
    font-size: 1rem;
  }
  .hero-head {
    font-size: 3.5rem;
  }
  .hero-desc {
    font-size: 0.95rem;
  }

  .pallet-item-container {
    padding: 1rem 1rem 0;
    margin: 3rem auto 0;
  }

  .about-pic-wrap {
    height: 400px;
  }
  .our-pallet-wrap {
    margin: 4rem auto 0;
  }
  .banner-wrap h2 {
    font-size: 1.8rem;
  }
  .why-us-pic-wrap {
    height: 400px;
  }

  .ft-fourth,
  .ft-third {
    margin-top: 2rem;
  }

  .navbar-brand,
  .footer-navbar-brand {
    font-size: 1rem;
  }
}
/*Extra  SMALL DEVICES */
@media screen and (max-width: 480px) {
  .hero-sub-head {
    font-size: 0.95rem;
  }
  .hero-head {
    font-size: 2.5rem;
  }
  .hero-desc {
    font-size: 0.9rem;
  }

  .hero-wrapper {
    padding-top: 3.5rem;
  }
  .hero-btn-wrap {
    margin-top: 2.5rem;
    flex-direction: column;
  }
  .white-btn,
  .quote-btn {
    width: fit-content;
    margin: auto;
  }

  .pallet-item-container {
    padding: 1rem 0 0;
    margin: 3rem auto 0;
  }

  .about-pic-wrap {
    height: 300px;
  }
  .about-detail-side {
    padding: 2rem 0 1rem 1rem;
  }
  .banner-wrap h2 {
    font-size: 1.4rem;
  }
  .why-us-pic-wrap {
    height: 300px;
  }
  .why-us-detail-side {
    padding: 2rem 0 1rem 0rem;
  }
  .why-us-item p {
    font-size: 0.9rem !important;
  }
  .why-us-icon {
    padding: 3px 5px;
  }

  .navbar-brand {
    font-size: 0.9rem;
  }

  .links-title {
    font-size: 0.98rem;
  }
}

@media screen and (max-width: 575px) {
  .ft-fourth,
  .ft-third {
    margin-top: 0;
  }

  .footer-desc {
    margin: 1rem 0;
  }

  .links-title {
    margin-bottom: 1rem;
    margin-top: 0.5rem;
  }
  .ft-first {
    margin-bottom: 2rem;
  }

  .credit-wrap p {
    font-size: 0.8rem !important;
  }
}

/* ======================================= */
/* Get a Quote Page styles */
/* ======================================= */
#quote-hero {
  background: linear-gradient(to bottom, #03312d6e, #011b19d0),
    url("../img/pallet-why-us.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: calc(300px + 70px);
  display: grid;
  place-items: center;
}
.quote-hero-title {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  color: var(--white);
  font-size: 3.3rem;
  font-weight: 700;
  margin-top: 3rem;
}

/* right side form section */
input[type="text"],
textarea,
input[type="email"] {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  resize: vertical;
  border: 1.7px solid #0d5d5660;
  border-radius: 0.2rem;
}
input[type="text"]::placeholder,
textarea::placeholder,
input[type="email"]::placeholder {
  font-size: 0.95rem;
  color: #47614ac4;
}
.select-box {
  padding: 12px !important;
  margin-bottom: 1.2rem;
  border: 1.7px solid #0d5d5660;
  border-radius: 0.2rem;
  font-size: 0.95rem;
}
input[type="submit"] {
  width: 120px;
  height: 40px;
  border: none;
  transition: all 0.2s ease-in;
  cursor: pointer;

  background-color: var(--primary);
  color: var(--white);
}

.help-block with-errors li {
  color: var(--secondary) !important;
}

#quote-form .style-btn {
  background-color: var(--primary);
  margin-top: 1rem;
}

div#msgSubmit {
  font-size: 1.2rem;
}

/* ======== RESPONSIVE MEDIA QURIES ======= */
@media screen and (max-width: 767px) {
  .quote-hero-title {
    font-size: 2.5rem;
  }
}
@media screen and (max-width: 480px) {
  .quote-hero-title {
    font-size: 1.8rem;
    font-weight: 600;
  }

  input[type="text"],
  textarea,
  input[type="email"] {
    padding: 8px;
  }

  .select-box {
    padding: 8px;
  }
}

/* ======================================= */
/* Our Pallet Page styles */
/* ======================================= */
#pallet-hero {
  background: linear-gradient(to bottom, #03312da4, #011b19e5),
    url("../img/our-pallets.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: calc(300px + 70px);
  display: grid;
  place-items: center;
}
.pallet-hero-title {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  color: var(--white);
  font-size: 3.3rem;
  font-weight: 700;
  margin-top: 3rem;
}

/* ===== Our Pallets ====== */
.pallet-item-container {
  padding: 0 1rem;
  margin: auto;
}

.pallets-title {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.pallet-item {
  max-width: 100%;
  padding-bottom: 1rem;
  box-shadow: rgba(44, 44, 44, 0.2) 0px 5px 10px 0px;
  border-radius: 0.3rem;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0 auto 1rem;
  overflow: hidden;
  border-bottom: 3px solid transparent;
}

.pallet-item:hover {
  border-bottom: 3px solid var(--secondary);
}
.pallet-pic {
  width: 100%;
  height: 250px;
  overflow: hidden;
}
.pallet-pic img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.3s ease-in;
}

.pallet-item:hover .pallet-pic img {
  transform: scale(1.1);
}
.pallet-info {
  padding: 1.5rem 1rem 0;
}
.pallet-title {
  display: block;
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  text-transform: capitalize;
  transition: all 0.2s ease-in;
}

.pallet-item-desc {
  font-size: 0.93rem;
  color: var(--paragraph);
  transition: all 0.2s ease-in;
}

.pallet-info-list {
  list-style: disc;
  color: var(--primary);
  margin-top: 2rem;
}

/* ======== RESPONSIVE MEDIA QURIES ======= */
@media screen and (max-width: 991px) {
  .pallet-item {
    margin-bottom: 2rem;
  }
}
@media screen and (max-width: 767px) {
  .pallet-hero-title {
    font-size: 2.5rem;
  }

  .pallets-title {
    font-size: 1.5rem;
  }
  .pallet-item-desc {
    font-size: 0.9rem !important;
  }
}
@media screen and (max-width: 480px) {
  .pallet-hero-title {
    font-size: 2rem;
    font-weight: 600;
  }
  .pallets-title {
    font-size: 1.3rem;
  }

  .pallet-item-container {
    padding: 0;
  }

  .pallet-item-desc {
    font-size: 0.85rem !important;
  }
}
