@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.homepage {
  position: relative;
  height: 50vh;
  width: 100%;
  background-image: url("/images/header-image.jpg");
  background-position: center;
  background-size: cover;
}

.homepage::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.2);
}

.homepage .content {
  position: relative;
  height: 100%;
  flex-direction: column;
  justify-content: center;
}

.homepage .text {
  color: #fff;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.text h1 {
  font-size: 35px;
  font-weight: 900;
  margin-bottom: 10px;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.homepage .text p {
  font-weight: 400;
  font-size: large;
}
/*----fixed now--*/

@media only screen and (max-width: 768px) and (min-width: 250px) {
  html,
  body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
}

@media only screen and (max-width: 768px) {
  .homepage .text h1 {
    font-size: 1.5em;
    font-weight: 900;
    margin-bottom: 10px;
  }

  .homepage {
    height: 40vh;
  }

  .homepage .text p {
    font-weight: 400;
    font-size: 0.9em;
  }
  /*---about page--*/
  .all-pages-header {
    height: 40vh;
  }
  .sec .content .row p {
    font-size: 2vw;
  }
  .team .container .row h2 {
    font-size: 18px;
  }
}
/*--done fixed first part--*/

.homepage a {
  color: #fff;
  text-decoration: none;
  margin-bottom: 20px;
  padding: 10px 20px;
  border-radius: 10px;
  background: #ff6701;
  border: 2px solid #ff6701;
  box-shadow: rgba(0, 0, 0, 0.3);
  font-size: 18px;
  transition: 0.3s;
}

.homepage a:hover {
  color: #fff;
  border: 2px solid rgb(217, 79, 29);
  background: rgb(217, 79, 29);
}

/* end of header image and header text*/
/*-----about-----*/

body {
  background: #fafafa;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}

.heading {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin: 20px auto;
}

.heading h1 {
  font-size: 50px;
  color: #000;
  margin-bottom: 25px;
  margin-top: 30px;
  position: relative;
}
.heading h1::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  display: block;
  margin: 0 auto;
  background-color: #f9a602;
}

.heading p {
  font-size: 18px;
  color: #666;
  margin-bottom: 35px;
  margin-top: 25px;
}

.about-section {
  width: 90%;
  margin: 0 auto;
  padding: 10px 20px;
}

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

.about-image {
  flex: 1;
  margin-right: 40px;
  overflow: hidden;
}
.about-image img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: 0.5s ease;
}
.about-image:hover img {
  transform: scale(1.2);
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 23px;
  margin-bottom: 15px;
  color: #333;
}

.about-content p {
  font-size: 18px;
  line-height: 1.5;
  color: #666;
}

.about-content .read-more {
  display: inline-block;
  padding: 5px 10px;
  color: #fff;
  background-color: #f18930;
  font-size: 19px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 15px;
  transition: 0.3s ease;
}

.about-content .read-more:hover {
  background-color: #f18930;
}
/*----just added for the background od the about section---*/
.about-sections {
  background-color: rgb(246, 244, 242);
  margin-top: -18px;
}

@media screen and (max-width: 768px) {
  .heading {
    padding: 0px 20px;
  }
  .heading h1 {
    font-size: 26px;
  }
  .heading p {
    font-size: 16px;
    margin-bottom: 0px;
  }
  .container {
    padding: 0px;
  }
  .about {
    padding: 20px;
    flex-direction: column;
  }
  .about-image {
    margin-right: 0px;
    margin-bottom: 20px;
  }
  .about-content p {
    padding: 0px;
    font-size: 16px;
  }
  .about-content .read-more {
    font-size: 16px;
  }
  .text h1 {
    font-size: 28px;
  }
}

/*END OF THE ABOUT SECTION*/

/*--------show images with some information after about me-----*/

/*---End of shown image----*/

.content-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 1000px;
  margin-top: 30px;
}
.card {
  min-height: 220px;
  width: 320px;
  padding: 30px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: #fff;
  margin: 10px 4px;
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2);
}
.card i {
  margin: 20px;
  color: #ff5724;
}
.card h3 {
  margin-bottom: 12px;
  font-weight: 400;
  text-align: center;
}
.card p {
  color: #6c757d;
  text-align: center;
}
.card:hover i,
.card:hover p {
  color: #fff;
}
.card:hover h3 {
  font-weight: 600;
  color: #fff;
}
.card:nth-child(1):hover {
  background: linear-gradient(45deg, #e8ecee 0%, rgba(42, 59, 64, 0.7) 100%),
    url("/images/IMG-20240325-WA0019.jpg");
  background-size: cover;
}
.card:nth-child(2):hover {
  background: linear-gradient(45deg, #e8ecee 0%, rgba(42, 59, 64, 0.7) 100%),
    url("/images/IMG-20240325-WA0019.jpg");
  background-size: cover;
}
.card:nth-child(3):hover {
  background: linear-gradient(45deg, #e8ecee 0%, rgba(42, 59, 64, 0.7) 100%),
    url("/images/IMG-20240325-WA0019.jpg");
  background-size: cover;
}
.card:nth-child(4):hover {
  background: linear-gradient(45deg, #e8ecee 0%, rgba(42, 59, 64, 0.7) 100%),
    url("/images/IMG-20240325-WA0019.jpg");
  background-size: cover;
}
.card:nth-child(5):hover {
  background: linear-gradient(45deg, #e8ecee 0%, rgba(42, 59, 64, 0.7) 100%),
    url("/images/IMG-20240325-WA0019.jpg");
  background-size: cover;
}
.card:nth-child(6):hover {
  background: linear-gradient(45deg, #e8ecee 0%, rgba(42, 59, 64, 0.7) 100%),
    url("/images/IMG-20240325-WA0019.jpg");
  background-size: cover;
}

.services {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: #fafafa;
}

.service h1 {
  font-size: 3em;
  margin: 25px;
}

@media (max-width: 991px) {
  .services {
    padding: 25px;
  }
  .services h1 {
    font-size: 2.5em;
    font-weight: 600;
  }
  .content-box {
    flex-direction: column;
    width: 100%;
  }
  .card {
    min-width: 300px;
    margin: 10px auto;
  }
}

/*------IMAGE SLIDER-----*/
.gallery {
  width: 900px;
  display: flex;
  overflow: scroll;
}

.gallery div {
  width: 100%;
  display: grid;
  grid-template-columns: auto auto auto;
  grid-gap: 20px;
  padding: 10px;
  flex: none;
}
@media only screen and (max-width: 600px) {
  .work-section {
    display: none;
  }
  .gallery-wrap div {
    display: none;
  }
  .work-section .heading {
    display: none;
  }
  #backBtn,
  #nextBtn {
    display: none;
  }
}

.gallery div img {
  width: 100%;
}
.gallery img {
  width: 250px;
  height: 250px;
}

.gallery-wrap div {
  margin-left: auto;
  margin-right: auto;
}

.gallery-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10% auto;
  margin-top: 20px;
}
.gallery::-webkit-scrollbar {
  display: none;
}
#backBtn,
#nextBtn {
  width: 50px;
  cursor: pointer;
  margin: 40px;
}

.work-section {
  background: #fff;
}

/*----IMAGE SLIDER END----*/
/*-----Contanct section---*/

/*----End of contact section---*/
/*-------Footer-----*/
footer {
  position: relative;
  width: 100%;
  height: auto;
  padding: 50px 100px;
  background: #111;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  color: #fff;
}

footer .containers {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: row;
}

footer .containers .sec-foot {
  margin-right: 30px;
}

footer .containers .sec-foot.aboutus {
  width: 40%;
}
footer .containers h2 {
  position: relative;
  color: #fff;
  font-weight: 500;
  margin-bottom: 15px;
}
footer .containers h2:before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #f18930;
}

footer .containers .sec-foot.aboutus p {
  color: #999;
}

.sci {
  margin-top: 20px;
  display: flex;
}
.sci li {
  list-style: none;
}
.sci li a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #222;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  text-decoration: none;
  border-radius: 4px;
}
.sci li a:hover {
  background: #f18930;
}
.sci li a .fa-brands {
  color: #fff;
  font-size: 15px;
}

.quicklinks {
  position: relative;
  width: 25%;
}
.quicklinks ul li {
  list-style: none;
}
.quicklinks ul li a {
  color: #999;
  text-decoration: none;
  margin-bottom: 10px;
  display: inline-block;
}
.quicklinks ul li a:hover {
  color: #f18930;
}
.contact-footer {
  width: calc(35% - 60px);
  margin-right: 0 !important;
}

.contact-footer .info {
  position: relative;
}
.contact-footer .info li {
  display: flex;
  margin-bottom: 16px;
}
.contact-footer .info li span:nth-child(1) {
  color: #fff;
  font-size: 20px;
  margin-right: 10px;
}
.contact-footer .info li span {
  color: #999;
}
.contact-footer .info li a {
  color: #999;
  text-decoration: none;
}
.contact-footer .info li a:hover {
  color: #f18930;
}

.copyrightText {
  width: 100%;
  background: #f18930;
  padding: 8px 100px;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 991px) {
  footer {
    padding: 40px;
  }
  footer .containers {
    flex-direction: column;
  }
  footer .containers .sec-foot {
    margin-right: 0;
    margin-bottom: 40px;
  }
  footer .containers .sec-foot.aboutus,
  .quicklinks,
  .contact-footer {
    width: 100%;
  }
  .copyrightText {
    padding: 8px 30px;
  }
}

@media screen and (max-width: 768px) {
  .copyrightText {
    font-size: 9px;
  }
}

/*-----end of footer----*/

/*------features---after about in index.html---*/
.features {
  margin-top: 50px;
}
.features img {
  width: 250px;
  height: 250px;
}

.features a {
  display: inline-block;
  padding: 5px 10px;
  color: #fff;
  background-color: #f18930;
  font-size: 19px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 15px;
  transition: 0.3s ease;
  align-items: center;
  justify-content: center;
}
/*----end of features----*/

/*-----contact section----*/

.location {
  width: 80%;
  margin: auto;
  padding: 80px 0;
}

.location iframe {
  width: 100%;
}

.contact-us {
  width: 90%;
  margin: auto;
}

.contact-col {
  flex: 48%;
  margin-bottom: 30px;
}

.contact-col div {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.contact-col div span .fa {
  font-size: 25px;
  color: #f18930;
  margin: 3px;
  margin-right: 10px;
}
.contact-col div p {
  padding: 0;
  color: #555;
}

.contact-col div span h4 {
  font-size: 16px;
  margin-bottom: 5px;
  color: #000;
  font-weight: 400;
}

.contact-col input,
.contact-col textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
.overall-section {
  background: rgb(246, 244, 242);
  margin-bottom: 5px;
  padding-top: 50px;
}

.hero-btn {
  background: #f18930;
  border-radius: 6px;
  padding: 10px;
}
@media only screen and (max-width: 768px) {
  .contact-col div h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #000;
    font-weight: 400;
  }
  .contact-col div .fa {
    font-size: 25px;
    color: #f18930;
    margin: 3px;
    margin-right: 3px;
  }
  .contact-col div p {
    font-size: 14px;
  }
}

/*-------OTHER PAGES HEADER------*/
.all-pages-header {
  position: relative;
  height: 50vh;
  width: 100%;
  background: url("/images/header-image.jpg");
  background-position: center;
  background-size: cover;
}

.all-pages-header .content {
  position: relative;
  height: 50%;
  flex-direction: column;
  justify-content: center;
}

.all-pages-header .text {
  color: #fff;
  text-align: center;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.all-pages-header .text h1 {
  font-size: 2em;
}

@media screen and (max-width: 768px) {
  .all-pages-header .text h1 {
    font-size: 34px;
  }
  .sec .content .row .fix img {
    width: 250px;
    height: 250px;
  }
  .team .container p {
    text-align: center;
    justify-content: center;
    padding-left: 5px;
    padding-right: 5px;
  }
}
/*------END OF ALL PAGE HEADER----*/

/*-----PRODUCT PAGE-----*/
.wrapper {
  margin: 100px auto;
  max-width: 1100px;
}
.wrapper nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.wrapper .items {
  display: flex;
  max-width: 1080px;
  margin-bottom: 20px;
  width: 100%;
  justify-content: space-between;
}
.items span {
  padding: 7px 5px;
  font-size: 16px;
  font-weight: 500;
  background: #393737;
  color: #fff;
  border-radius: 5px;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: all 0.3 ease;
}
.items span.active,
.items span:hover {
  color: #fff;
  background: #4c86c8;
}
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
}

.gallery-filter .image {
  padding: 7px;
  width: calc(100% / 4);
}

.image img {
  width: 300px;
  height: 300px;
}

.gallery-filter .image.hide {
  display: none;
}
.gallery-filter .image.show {
  animation: animate 0.4s ease;
}
@keyframes animate {
  0% {
    transform: scale(0.5);
  }
  100% {
    transform: scale(1);
  }
}
.gallery-filter .image span {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.gallery-filter .image img {
  width: 100%;
  vertical-align: middle;
  transition: all 0.3s ease;
}

.gallery-filter .image:hover img {
  transform: scale(1.1);
}

@media (max-width: 1000px) {
  .gallery-filter .image {
    width: calc(100% / 3);
  }
}

@media (max-width: 800px) {
  .gallery-filter .image {
    width: calc(100% / 2);
  }
}

@media (max-width: 700px) {
  .wrapper nav .items {
    max-width: 600px;
  }
  nav .items span {
    padding: 7px 15px;
  }
}

@media (max-width: 600px) {
  .wrapper {
    margin: 30px auto;
  }
  .wrapper nav .items {
    flex-wrap: wrap;
    justify-content: center;
  }
  nav .items span {
    margin: 5px;
  }
  .gallery-filter .image {
    width: 100%;
  }
}

.preview-box {
  position: fixed;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: #fff;
  max-width: 700px;
  width: 28%;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  border-radius: 3px;
  padding: 0 5px 5px 5px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}

.preview-box.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  transition: all 0.3s ease;
}
.preview-box .details {
  padding: 13px 15px 13px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.details .title {
  display: flex;
  font-size: 12px;
  font-weight: 400;
}
.details .title p {
  font-weight: 500;
  margin-left: 5px;
}

.details .icon {
  color: #6593c7;
  font-style: 22px;
  cursor: pointer;
}
.preview-box .image-box {
  width: 100%;
  display: flex;
}

.image-box img {
  width: 100%;
  border-radius: 0 0 3px 3px;
}

.shadow {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 2;
  display: none;
  background: rgba(0, 0, 0, 0.4);
}

.shadow.show {
  display: block;
}

.product-body {
  background: #fafafa;
  padding-top: 20px;
  padding-bottom: 20px;
}

#service-one {
  width: 100%;
  padding: 70px 0;
  background: #efefef;
}
.service-box {
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: auto;
}
.single-service {
  flex-basis: 48%;
  text-align: center;
  border-radius: 7px;
  margin-bottom: 20px;
  color: #fff;
}

.single-service img {
  width: 100%;
  border-radius: 7px;
}

/*---MAP---*/
iframe {
  box-shadow: 10px 5px 10px 10px rgba(6, 6, 6, 0.504);
}

/*---about us page who we are section*/
.sec {
  background: #fff;
  padding: 80px;
  min-height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: -80px;
}

.sec .content {
  position: relative;
  text-align: center;
  width: 100%;
}

.mxw800p {
  max-width: 800px;
  margin: 0 auto;
}

.mxw800p h3 {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 38px;
  color: #333;
}

.mxw800p p {
  position: relative;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 1px;
}
.mxw800p img {
  margin-top: -28px;
  margin-bottom: 10px;
}
.sec .content .mxw800p {
  margin-bottom: 60px;
}

/*-------services in about page---*/

.servicess {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 30px;
  max-width: 100%;
  margin: 40px;
}

.servicess .boxx {
  width: 300px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  box-shadow: 0 10px 10px 10px rgba(39, 24, 24, 0.05);
}

.servicess .boxx .iconBx {
  margin-top: 25px;
}

.servicess .boxx .iconBx i {
  margin-bottom: 15px;
  width: 100px;
  font-size: 40px;
  color: #f18930;
}
.servicess .boxx h2 {
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 700;
}

.servicess .boxx .content p {
  color: #666;
}
/*----------Team----------*/

.team {
  margin-bottom: 0px;
  background: #6593c7;
  margin-top: -120px;
}
.team h1 {
  text-align: center;
  font-weight: bold;
  letter-spacing: 2px;
  color: #333;
  padding-bottom: 10px;
  padding-top: 150px;
}
.team h1:after {
  content: "";
  background: #333;
  display: block;
  height: 3px;
  width: 150px;
  margin: 10px auto;
}
.profile {
  margin-top: 25px;
  margin-bottom: 30px;
}

.profile h2 {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-top: 15px;
}

.profile h3 {
  font-size: 15px;
  font-weight: bold;
  margin-top: 15px;
}
.profile .img-box {
  display: block;
  position: relative;
}
.profile .row-1 .img-box img {
  padding: -10px;
}
.profile .img-box img {
  width: 250px;
  height: 250px;
  border-radius: 1px solid #333;
  border: 50px;
}

@media screen and (max-width: 768px) {
  .profile p {
    font-size: 1rem;
    text-align: center;
  }
}

.team .container .row {
  float: none;
}

/*---b2n sections--*/

/*experiment slider hearder in contact page*/
.trans-container {
  margin-top: 50px;
  margin-bottom: 50px;
}
.trans-container h1 {
  font-size: 18px;
}
.img-fluid {
  max-width: 100%;
  height: auto;
}
.trans-cont {
  margin-top: 50px;
}

@media screen and (max-width: 990px) {
  .trans-cont {
    font-size: 12px;
  }
  .trans-container {
    font-size: 10px;
    justify-content: center;
  }
  .trans-cont h1 {
    font-size: 22px;
    padding-left: 20px;
  }

  .trans-cont p {
    padding-left: 20px;
    font-size: 16px;
  }
}

/*---fixing---*/
@media screen and (max-width: 480px) {
  footer .containers .sec-foot p {
    font-size: 12px;
  }
  footer .containers .sec-foot a {
    font-size: 12px;
  }
  footer .sec-foot span p {
    font-size: 12px;
  }
  footer .containers .sec-foot span {
    font-size: 12px;
  }
  .sec .about-content p {
    font-size: 8px;
  }
}
