/*  navbar footer css in common folder  */
/*banner, next box, contat_us section  and under_line class  css in common styles.css file */

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap");

body {
  padding: 0;
  margin: 0;
  width: 100%;
  font-family: Poppins;
}

html {
  scroll-behavior: smooth;
}

.background_img {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.background_img_top{
  background: url("./../../images/solutions.jpg")
  no-repeat 0%;
  background-size: cover;
  background-position: center center;
  height: 85vh;
}

.solution_overview {
  background: url("./../../images/Waves.png");
  width: 100%;
  background-size: cover;
  padding: 50px 0;
  padding-bottom: 0;
}
.solution_overview_content {
  width: 75%;
  margin: 0 auto;
}

.solution_overview .title {
  font-size: 24px;
  font-weight: 600;
  color: #001544;
}

.solution_experience {
  font-size: 20px;
  color: #001544;
  line-height: 1.7;
  padding: 20px 0;
  padding-bottom: 0;
}

.solution_title {
  font-size: 24px;
  font-weight: 600;
  color: #001544;
  margin: 70px auto;
  margin-bottom: 20px;
  width: 75%;
}


/* heavy lift and  bulk & custom shipping css */

.solution_items {
  width: 75%;
  margin: 0 auto;
}

.carousel-item  .solution_img{
  position: relative;
  width: 100% ;
  transition: all 1s ease-out;
}

.solution_background_img {
  height: 480px;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

/* to scroll upto id */
#heavy_lift_shipping{
 scroll-margin-top: 230px;
}

#bulk_custom_shipping{
  scroll-margin-top: 230px;
}

/* heavy lift image */
.solution_heavy_lift_img1{
  background: url("./../../images/thumb/khazzan_Short.png") no-repeat 0%;
  background-size: cover;
  background-position: center center;
}

.solution_heavy_lift_img2{
  background: url("./../../images/thumb/Qassim_Short.png") no-repeat 0%;
  background-size: cover;
  background-position: center center;
}

.solution_heavy_lift_img3{
  background: url("./../../images/thumb/yatch_short.png") no-repeat 0%;
  background-size: cover;
  background-position: center center;
}

.solution_heavy_lift_img4{
  background: url("./../../images/thumb/Boiler_Short.png") no-repeat 0%;
  background-size: cover;
  background-position: center center;
}

.solution_heavy_lift_img5{
  background: url("./../../images/thumb/Gadarwara_Short.png") no-repeat 0%;
  background-size: cover;
  background-position: center center;
}


/* bulk & custom shiping image */

.solution_bulk_custom_img1{
  background: url("./../../images/thumb/Logs_Short.png") no-repeat 0%;
  background-size: cover;
  background-position: center center;
}

.solution_bulk_custom_img2{
  background: url("./../../images/thumb/maize_Short.png") no-repeat 0%;
  background-size: cover;
  background-position: center center;
}

.solution_bulk_custom_img3{
  background: url("./../../images/thumb/column_Short.png") no-repeat 0%;
  background-size: cover;
  background-position: center center;
}

.solution_bulk_custom_img4{
  background: url("./../../images/thumb/rock_Short.png") no-repeat 0%;
  background-size: cover;
  background-position: center center;
}

.solution_bulk_custom_img5{
  background: url("./../../images/thumb/fertilizer_Short.png") no-repeat 0%;
  background-size: cover;
  background-position: center center;
}


.solution_img:hover{
  transform: scale(1.03);
  cursor: pointer;
}

.project_caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  margin: 0 auto;
  padding: 30px 25px;
  background-color: rgba(21, 37, 61, 0.8);
  transition: opacity 1s ease-out;
}

.project_caption .project_title {
  color: #ffffff;
}

.project_caption .under_line {
  transition: opacity 1s ease-out;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.project_caption .project_name {
  font-size: 21px;
  font-weight: 600;
  transition: opacity 1s ease-out;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.solution_img:hover .project_caption .under_line{
  opacity: 1;
  height: auto;
  margin-bottom: 3px;
}

.solution_img:hover .project_caption .project_name{
  opacity: 1;
  height: auto;
}

.solution_img:hover .project_caption {
  background-color: rgb(21, 37, 61,0.8);
}

@media (min-width: 768px) {
  .carousel-inner.vv-3 .carousel-item.active,
  .carousel-inner.vv-3 .carousel-item-next,
  .carousel-inner.vv-3 .carousel-item-prev {
    display: flex;
  }

  .carousel-inner.vv-3 .carousel-item-right.active,
  .carousel-inner.vv-3 .carousel-item-next {
    transform: translateX(33.33%);
  }

  .carousel-inner.vv-3 .carousel-item-left.active,
  .carousel-inner.vv-3 .carousel-item-prev {
    transform: translateX(-33.33%);
  }

  .carousel-inner.vv-3 .carousel-item-right,
  .carousel-inner.vv-3 .carousel-item-left {
    transform: translateX(0);
  }
}

.carousel-control-next, .carousel-control-prev {
  position: absolute;
  top: 50%;
  bottom: 50%;
  opacity: .7;
  width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  height: 100px;
  width: 100px;
  outline: black;
  background-size: 100%, 100%;
  background-image: none;
}

.carousel-control-next-icon:after {
  content: ">";
  font-size: 55px;
  color: #060000;
}

.carousel-control-prev-icon:after {
  content: "<";
  font-size: 55px;
  color: #060000;
}

/* Modal style */
@media (min-width: 768px) {
  .modal-dialog{
    max-width: 80%;
    margin: auto;
  }
}

.modal{
  position: fixed;
}

.modal-body {
 width: 100%;
 height: 100vh;
}

.project_desc {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px 25px;
  background-color: #ffffff;
}

.project_desc a:hover {
  text-decoration: none;
}

.pdf_link{
  color: #bd3c1e;
}

 .close {
  position: absolute;
  font-size: 3.5rem;
  font-weight: 400;
  top: 10px;
  right: 20px;
}

.modal_crousel_img {
  width: 100%;
  height: auto;
}



@media (min-width: 320px) and (max-width: 480px) {
  .background_img {
    align-items: flex-end;
    height: 560px;
    background-position: center center;
    object-fit: cover;
  }

  .solution_overview{
    margin-top: 0;
  }
  
  .solution_overview .title {
    font-size: 21px;
  }

  .solution_experience {
    font-size: 15px;
    line-height: 1.57;
    padding-bottom: 30px;
  }

  .solution_title {
    font-size: 21px;
    margin-top: 10px;
    margin-bottom: 15px;
  }
  
  .solution_items {
    width: 100%;
    margin-bottom: 50px;
  }

  .carousel-inner .carousel-item > div {
    display: none;
  }

  .carousel-inner .carousel-item > div:first-child {
    display: block;
  }

  .carousel-control-next-icon:after,.carousel-control-prev-icon:after{
    font-size: 42px;
  }
  .carousel-control-prev-icon,.carousel-control-next-icon {
    left: 0;
    width: 60px;
    height: 55px;
    background-color: #ffffff;
  }

  /* modal style */
  
  .modal-dialog {
    display: flex;
    text-align: left;
    max-width: 100%;
    align-items: center;
    min-height: 100vh;
  }

  .modal-body{
    height: auto;
  }

  .project_desc {
    position: relative;
  }

  .modal .project_detail {
    font-size: 15px;
  }

  .close {
   font-size: 2.5rem;
   top: 5px;
   right: 8px;
 }
}
