* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root {
  --color-hover: #c4351c;
}

body {
  /* min-height: 100%; */
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
}
section {
  min-height: calc(100vh - 110px);
  padding: 100px 50px;
  max-width: 1440px;
  margin: 0 auto;
}

.main,
.projects {
  max-width: none;
  background-image: linear-gradient(45deg, rgb(0, 0, 0), rgb(34, 27, 27));
  /* width: 100%; */
}
.main-container {
  max-width: 1440px;
  margin: 0 auto;

  color: #fafafa;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* //////////   Navbar   ////////// */
header {
  min-height: 40px;
}

.logo {
  height: 40px;
}
.navbar-brand {
  font-weight: 800;
  font-size: 22px;
  color: rgb(133, 37, 20);
}
.navbar-brand:hover {
  color: rgb(133, 37, 20);
}

.navbar {
  background-image: linear-gradient(45deg, rgb(0, 0, 0), rgb(34, 27, 27));
  color: #fafafa;
  padding: 10px 30px;
}

.nav-link {
  color: #fafafa;
  font-weight: 600;
  transition: all 0.4s ease;
}
.nav-link:hover {
  color: var(--color-hover);
}

@media (max-width: 550px) {
  .container-fluid {
    flex-direction: column;
  }

  .nav-link {
    padding: 0.2rem 0.5rem;
  }

  h2.title {
    font-size: 18px;
  }

  h3.card-title {
    font-size: 16px;
  }
}

/* //////////   Main Page   ////////// */

.landing-img {
  filter: grayscale(0.8);
  width: 600px;
  border-radius: 9px;
}

.main h2 {
  font-size: 14px;
  font-weight: 500;
}
.main h2 span {
  font-size: 45px;
  font-weight: 600;
  color: rgb(133, 37, 20);
  display: inline-block;
  margin: 10px 0;
}
.main h3 {
  font-size: 25px;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 20px;
}

.main .btn {
  margin-bottom: 30px;
}
.main .btn:hover {
  background-color: rgb(59, 6, 6);
}

.social-icons {
  /* line-height: 1; */
}
.social-icons a {
  /* display: inline-block; */
  color: #fff;
  font-size: 1.3em;
  /* font-size: 22px; */
  padding-right: 30px;
  transition: all 0.4s ease;
}
.social-icons a:hover {
  color: var(--color-hover);
}

@media (max-width: 1000px) {
  .landing-img {
    display: none;
  }
}

/* ////////// Services ///////////////////////// */
.title {
  display: flex;
  justify-content: center;
  color: rgb(133, 37, 20);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 30px;
}

.content {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.card {
  background-color: #fff;
  width: 380px;
  box-shadow: 0 5px 25px rgba(1, 1, 1, 0.15);
  border-radius: 10px;
  padding: 0 10px 22px;
  margin: 10px;
  text-decoration: none;
  transition: 0.7s;
  color: rgb(133, 37, 20);
}

.card:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(1, 1, 1, 0.25);
}

.card:hover p {
  color: rgb(133, 37, 20);
}
/* .card:hover div > * {
  transform: scale(1);
} */

.icon {
  color: rgb(236, 58, 27);
  font-size: 128px;
  text-align: center;
  transition: 0.7s;
}

.info {
  text-align: center;
}

.info p {
  color: rgb(133, 37, 20);
  margin-bottom: 10px;
}
.feature-title {
  color: #000;
  font-weight: 700;
  margin: 0 10px 20px;
}

@media (max-width: 550px) {
  .feature-title {
    font-size: 18px;
  }
}

/* //////////////////////Projects///////////////////////  */
.projects {
  background-image: linear-gradient(45deg, rgb(0, 0, 0), rgb(34, 27, 27));
}

.projects .content {
  margin-top: 30px;
}

.project-card {
  background-color: #fff;
  border: 1px solid #fff;
  min-height: 14em;
  width: 23em;
  overflow: hidden;
  border-radius: 10px;
  margin: 20px;
  transition: 0.7s ease;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
}

.project-card:hover {
  transform: scale(1.1);
}

.project-img img {
  width: 100%;
}
.projects-card:hover .project-img {
  opacity: 0.9;
}

.project-info {
  padding: 1em;

  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-category {
  font-size: 0.9em;
  color: #000;
}

.project-title {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 10px;

  -ms-flex-item-align: end;
}

.project-title__sub {
  font-weight: 300;
  font-size: 0.8rem;
}

.more-details {
  text-decoration: none;
  color: rgb(133, 37, 20);
}
.more-details:hover {
  color: rgb(12, 3, 1);
}

.visit-arrow {
  height: 30px;
}

/* ////////   Contacts   ////////////// */
.contact .icon {
  font-size: 72px;
}

.contact .info h3 {
  color: #000;
}

.contact p {
  font-size: 21px;
}

@media (max-width: 550px) {
  .contact .icon {
    font-size: 60px;
  }

  .contact p {
    font-size: 16px;
  }
}

/* ///////////////// footer /////////////  */
.footer {
  background-image: linear-gradient(45deg, rgb(0, 0, 0), rgb(34, 27, 27));
  color: #fff;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  line-height: 1;
}

@media (max-width: 550px) {
  .footer {
    flex-direction: column;
    max-height: max-content;
  }

  .footer div.social-icons {
    transform: translateX(15px);
  }
}

footer {
  max-height: 40px;
}

.footer-title {
  font-size: 1em;
  font-weight: 500;
  margin: 0;
}

.footer-title a {
  color: rgb(133, 37, 20);
  text-decoration: none;
  font-weight: 600;
}
/* 
.footer .social-icons a {
  font-size: 1.3em;
} */
