@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap");
:root {
  --yellow: #edb201;
  --black: rgb(0, 0, 0);
  --white: #fff;
  --light-color: rgb(206, 179, 179);
  --light-bg: #eee;
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  --border: 0.1rem solid rgba(0, 0, 0, 0.3);
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

html::-webkit-scrollbar {
  width: 0.5rem;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background: var(--yellow);
}

.fw-500 {
  font-weight: 500;
}

section {
  padding: 5rem 10%;
}

.heading {
  margin-bottom: 3rem;
  font-size: 3rem;
  color: var(--black);
  text-transform: capitalize;
  padding-left: 1rem;
  border-left: 1rem solid var(--yellow);
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 1rem 3rem;
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  font-size: 1.7rem;
  text-transform: capitalize;
  -webkit-transition: 0.2s linear;
  transition: 0.2s linear;
}

.btn:hover {
  background: var(--yellow);
  color: var(--black);
}

/* @-webkit-keyframes fadeIn {
  0% {
    top: 50%;
    opacity: 0;
  }
}

@keyframes fadeIn {
  0% {
    top: 50%;
    opacity: 0;
  }
} */

@keyframes fade {
  from {
    opacity: 0.9;
  }
  to {
    opacity: 1;
  }
}

/* Header CSS Start */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #f5f5f5;
  z-index: 100;
  /* padding: 1rem 2rem; */
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.3);
}
.header .logo img {
  height: 6rem;
  margin-left: 30px;
}
.header nav ul {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 0;
  padding: 0;
}
.header nav ul li {
  margin: 0 1.5rem;
}
.header nav ul li a {
  font-size: 1.5rem;
  color: var(--black);
  text-transform: capitalize;
  margin: 0 1rem;
}
.header nav ul li a:hover {
  color: var(--yellow);
  text-decoration: none;
}
.header .fa-bars {
  font-size: 3.5rem;
  color: #666;
  cursor: pointer;
  display: none;
}
/* Header CSS Ends */

.home {
  padding: 0;
}

.slider-container {
  width: 100%;
  position: relative;
}

.slide {
  width: 100%;
  display: none;
}

.slide-image {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: brightness(0.6);
}

.slide-content {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 1rem;
}
.slide-title {
  width: 100%;
  max-width: 50rem;
  color: white;
  font-size: 4rem;
  font-weight: 500;
  text-transform: capitalize;
}
.slide-desc {
  width: 100%;
  max-width: 50rem;
  color: white;
  font-size: 2rem;
  font-weight: 400;
}
.home-btn {
  background: var(--yellow) !important;
  color: var(--black) !important;
  font-weight: 400;
}
.slide-btn {
  color: black;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 1rem;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  text-transform: capitalize;
  transition: ease 0.3s;
}
.slide-btn:hover {
  gap: 1rem;
}

.slide-number-container {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 5;
  font-size: 1.5rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: rgba(211, 211, 211, 0.788);
  letter-spacing: 0.2rem;
}
.slide-number-container hr {
  width: 3rem;
  transform: rotate(130deg);
  border-color: rgba(211, 211, 211, 0.788);
}

.slider-nav {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.slider-nav-btn {
  cursor: pointer;
  background-color: rgba(211, 211, 211, 0.226);
  color: white;
  font-size: 1.5rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease 0.3s;
}
.slider-nav-btn:hover {
  background-color: white;
  color: black;
}

.dot-container {
  position: absolute;
  bottom: 1rem;
  left: 0;
  z-index: 4;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.dot {
  cursor: pointer;
  height: 1rem;
  width: 1rem;
  background-color: rgba(211, 211, 211, 0.226);
  border-radius: 50%;
  display: inline-block;
  transition: ease 0.3s;
}
/* .active,
.dot:hover {
  background-color: white;
} */

.fade {
  animation-name: fade;
  animation-duration: 5s;
}

.about .row .content h3 {
  font-size: 2.5rem;
  color: var(--black);
  text-transform: capitalize;
}

.about-img {
  width: 100%;
}

.about .row .content p {
  font-size: 1.5rem;
  color: rgb(139 129 129);
  line-height: 2;
  padding: 1rem 0;
}

.about .box-container {
  margin-top: 3rem;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(16rem, 1fr)) [auto-fit];
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2rem;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.about .box-container .box {
  text-align: center;
  background: var(--light-bg);
  padding: 3rem 2rem;
}

.about .box-container .box h3 {
  font-size: 4rem;
  color: var(--black);
  text-transform: capitalize;
}

.about .box-container .box p {
  font-size: 1.5rem;
  color: var(--light-color);
  line-height: 2;
  padding-top: 0.5rem;
}

.services {
  background: var(--light-bg);
}

.service-img {
  width: 125px;
  height: 70px;
}

.services .box-container .box {
  text-align: center;
  background: var(rgb(197, 66, 66));
  /* -webkit-box-shadow: var(--light-color); */
  /* box-shadow: var(--box-shadow);
  border: var(--border); */
}

.box-container {
  display: flex;
  flex-wrap: wrap;
}

.equal-height {
  display: flex;
  flex-direction: column;
}

.equal-height > * {
  flex: 1; /* Distribute the space vertically equally among children */
}

.services .box-container .box:hover img {
  -webkit-transform: translateY(-1rem);
  transform: translateY(-1rem);
}

.services .box-container .box img {
  height: 7rem;
  margin-bottom: 0.5rem;
  -webkit-transition: 0.2s linear;
  transition: 0.2s linear;
}

.services .box-container .box h3 {
  font-size: 1.7rem;
  color: var(rgb(48, 13, 13));
  text-transform: capitalize;
  padding: 1rem 0;
  font-weight: bolder;
}

.services .box-container .box p {
  font-size: 1.4rem;
  color: var(--black);
  line-height: 2;
}

.projects {
  background: var(--black);
}

.projects a:hover {
  text-decoration: none;
}

.projects .heading {
  color: var(--white);
}

.projects .box-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(30rem, 1fr)) [auto-fit];
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 2rem;
}

.projects .box-container .box {
  cursor: initial;
}

.projects .box-container .box:hover .image img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.projects .box-container .box .image {
  height: 40rem;
  overflow: hidden;
}

.projects .box-container .box .image img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transition: 0.2s linear;
  transition: 0.2s linear;
}

.projects .box-container .box .content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: var(--white);
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.projects .box-container .box .content .info {
  padding: 2.5rem 0 0 1rem;
}

.projects .box-container .box .content .info h3 {
  font-size: 1.7rem;
  color: var(--black);
  text-transform: capitalize;
}

.projects .box-container .box .content .info p {
  font-size: 1.5rem;
  color: var(--light-color);
  line-height: 2;
}

.projects .box-container .box .content i {
  width: 7.5rem;
  font-size: 3rem;
  background: var(--yellow);
  color: var(--white);
  cursor: pointer;
  text-align: center;
  line-height: 7.5rem;
}

.contact {
  /* background: var(--black); */
  /* background: url("../images/contact-us-bg-1.jpg"); */
  background: url("../images/contact-us-bg-2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.contact .heading {
  color: var(--white);
}

.contact-box-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-box-container .contact-box {
  height: 15rem;
  flex: 1 0 30rem;
  margin: 2rem;
  box-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  text-align: center;
  padding-top: 4rem;
  background-color: #fff;
  opacity: 0.95;
}
.contact-box-container .contact-box i {
  color: var(--orange);
  font-size: 4rem;
}
.contact-box-container .contact-box h3 {
  font-size: 1.8rem;
  color: #444;
  margin: 2rem 0;
}

.logo-container {
  text-align: center;
}

.logo-container img {
  height: 10rem;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.logo-img {
  width: 50%;
}

.footer {
  padding: 4rem 10%;
  font-size: 1.2rem;
}

.footer-social-media-icon {
  float: right;
}

.footer .links .btn {
  margin: 0.5rem;
}

.footer-logo {
  width: 25rem;
}

.footer-link-icon {
  font: normal normal normal 20px/1 FontAwesome !important;
  cursor: pointer;
  text-decoration: none;
  color: #000;
}

.footer-link-icon:hover {
  color: var(--yellow);
}

/* MediaQuery Starts */
@media (max-width: 1200px) {
  section {
    padding: 3rem 5%;
  }
}

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
  section {
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .home .slide {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .home .slide .content {
    text-align: center;
  }
  .home .slide .content h3 {
    font-size: 3rem;
  }

  html {
    font-size: 50%;
  }
  .header .fa-bars {
    display: block;
    margin-right: 2rem;
  }
  .header nav {
    position: fixed;
    top: 6rem;
    right: -120%;
    height: calc(100vh - 6rem);
    width: 100vw;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.3);
  }
  .header nav ul {
    height: 100%;
    width: 33rem;
    background: #fff;
    flex-flow: column;
    justify-content: inherit;
    float: right;
  }
  .header nav ul li {
    margin: 1rem 0;
  }
  .header nav ul li a {
    display: block;
    padding: 0.5rem 0;
    border: 0.1rem solid rgba(0, 0, 0, 0.3);
    width: 25rem;
    border-radius: 5rem;
    text-align: center;
  }
  .header nav ul li a:hover {
    background: #333;
    color: #fff;
  }
  .header .nav-toggle {
    right: 0;
  }
  .header .logo img {
    margin-left: 2rem;
  }
  .menu-icon {
    padding-right: 20px;
  }

  .about .row .content h3 {
    margin-top: 20px;
  }

  .footer-social-media-icon {
    float: none;
  }

  .responsive-view-margin {
    margin-top: 2rem;
  }

  .footer_row {
    text-align: center;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
  .about .row .content h3 {
    font-size: 1.5rem;
  }
}

/* MediaQuery Ends */
