* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
@font-face {
  font-family: regular;
  src: url("fonts/Poppins-Regular.ttf");
}
@font-face {
  font-family: BoldFont;
  src: url("fonts/Poppins-Bold.ttf");
}
@font-face {
  font-family: medium;
  src: url("fonts/Poppins-SemiBold.ttf");
}
body {
  width: 100%;
  font-family: regular;
}
main nav {
  width: 100%;
  height: 50px;
  padding: 10px;
  position: fixed;
  top: 0;
  z-index: 9;
  background-color: #00000098;
  color: #fff;
  font-weight: bold;
}
main nav .container {
  float: left;
  display: flex;
  align-items: center;
}
main nav .logo {
  max-width: 150px;
  margin-right: 10px;
}
main nav ul {
  display: flex;
  align-items: center;
  list-style: none;
}
main nav ul li {
  margin-inline: 10px;
  font-family: regular;
  font-size: 18px;
  font-weight: 500;
}
main nav button {
  float: right;
  width: 200px;
  height: 40px;
  border: 2px solid gold;
  font-size: 19px;
  background: transparent;
  box-shadow: 0px 0px 7px 2px rgba(255, 217, 0, 0.459);
  font-family: regular;
  font-weight: 700;
  color: #fff;
}
button {
  outline: none;
}
section {
  width: auto;
}
section.bg {
  margin-top: 0px;
  background-image: url("pawel-nolbert-4u2U8EO9OzY-unsplash.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  color: #fff;
  padding-top: 50px;
  position: relative;
}

main .introSection {
  background: #00000093;
  z-index: 0;
  width: 90%;
  margin: 0 auto;
  height: 100vh;
  display: flex;
  padding-inline: 50px;
  position: relative;
}
main .introSection .details {
  width: 60%;
}

main .introSection .details h1 {
  font-size: 90px;
  text-align: justify;
  font-family: regular;
  text-transform: uppercase;
}
main .introSection .details p {
  font-size: 22px;
}
main .introSection .details button {
  width: 50%;
  margin: 0 auto;
  height: 50px;
  border-radius: 10px;
  border: 0px;
  background-color: rgb(255, 123, 0);
  font-family: regular;
  font-size: 20px;
  color: #fff;
}
main .introSection .mainImage {
  height: 100%;
  width: 40%;
  display: grid;
  place-items: center;
}

main .introSection .mainImage .bgColor img {
  height: 600px;
}
.agents {
  width: 90%;
  margin: 0 auto;
  min-height: 150px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 1fr;
}
.agents img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
}
.title {
  width: 100%;
  color: crimson;
  font-size: 25px;
  text-align: center;
  position: relative;
}

.service {
  width: 90%;
  margin: 100px auto;
}
.service .details {
  margin-block: 10px;
}
.service .details h1,
.more .details h1 {
  font-size: 40px;
  text-align: center;
  max-width: 700px;
  word-wrap: break-word;
  text-align: center;
  margin: 0 auto;
}
.service .item h1 span {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border: 1px solid #000000;
  display: grid;
  place-items: center;
}
.service .item h1 span i {
  color: gold;
  font-size: 20px;
}
.service .item p {
  font-size: 20px;
}
.service .services {
  width: 100%;
  margin-top: 20px;
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  background-color: transparent;
}
.service .services .item {
  min-width: 200px;
  padding-inline: 5px;
  height: 290px;
  margin-inline: 10px;
  box-shadow: 0px 0px 7px 2px #58555560;
  background-color: transparent;
}
.service .services .item h1 {
  text-align: center;
}
.service .services .item .image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.service .services .item .image img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
}
.service .services .item .image .occupation {
  width: calc(100% - 100px);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.more {
  background-image: url("pawel-nolbert-4u2U8EO9OzY-unsplash.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  padding-block: 30px;
  position: relative;
  margin-bottom: 100px;
}
.more .details h1 {
  color: #fff;
  font-size: 50px;
}
.more::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 2, 2, 0.452);
}
.moreVideo {
  width: 100%;
  height: auto;
  display: grid;
  place-items: center;
}
.moreVideo video {
  max-height: 500px;
  max-width: 900px;
}
.moreAbout {
  display: flex;
  width: 80%;
  margin: 150px auto;
}
.moreAbout .mainImage {
  width: 50%;
  position: relative;
}
.moreAbout .details {
  width: 50%;
  padding: 10px 0px 0px 40px;
}
.moreAbout .mainImage img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
}
.moreAbout .mainImage img:nth-child(2) {
  position: absolute;
  bottom: -25%;
  right: 5%;
  width: 300px;
  height: 230px;
  object-fit: cover;
  box-shadow: 0px 0px 4px 0px #000;
  border-radius: 10px;
}
.moreAbout .details h1 {
  text-align: center;
  font-size: 25px;
  font-family: BoldFont;
}
.moreAbout .details p {
  font-size: 20px;
}
.moreAbout .details button {
  width: 300px;
  height: 40px;
  background-color: rgb(19, 74, 155);
  color: #fff;
  border-radius: 10px;
  border: 0px;
}
.contact {
  width: 70%;
  margin: 0 auto;
  padding-block: 100px;
  margin-top: 100px;
  border-radius: 16px;
  background-color: rgb(19, 74, 155);
  display: grid;
  place-items: center;
}
.contact h2 {
  font-size: 30px;
  color: #fff;
}
.contact form {
  display: flex;
}
.contact form input {
  width: 300px;
  height: 50px;
  outline: none;
  border: 0px;
  margin-inline: 10px;
  font-family: regular;
  border-radius: 7px;
}
.contact form button {
  width: 180px;
  height: 50px;
  font-family: regular;
  color: #fff;
  border: 0px;
  background-color: rgb(5, 75, 107);
  border-radius: 10px;
}

footer {
  margin-top: 30px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  background-color: rgb(6, 63, 116);
  color: #fff;
  padding: 20px;
}
footer .icons {
  display: flex;
  align-items: center;
  color: #fff;
  margin-top: 20px;
}
footer .icons a {
  color: #fff !important;
}
footer ul li:hover {
  color: crimson;
}
footer .icons i {
  font-size: 20px;
  margin-inline: 10px;
}
footer div ul {
  list-style: none;
}
footer div h1 {
  font-size: 23px;
  color: rgb(255, 145, 0);
}
footer div ul li {
  margin-block: 20px;
  font-size: 20px;
  cursor: pointer;
}

@media screen and (max-width: 1440px) {
  main .introSection .details h1 {
    font-size: 60px;
    line-height: 1em;
  }
}

@media screen and (max-width: 1100px) {
  main .introSection {
    width: 100%;
    padding-top: 100px;
    overflow-x: hidden;
  }
  main .introSection .mainImage .bgColor img {
    margin-top: -200px;
  }
  main .agents img {
    width: 100px;
    height: 100px;
    margin-top: 20px;
  }
  .service .details h1,
  .more .details h1 {
    font-size: 30px;
  }
  p {
    font-size: 18px !important;
  }
  .contact {
    width: 100%;
  }
  .service {
    width: 100%;
  }
  .moreAbout {
    width: 98%;
    margin: 100px auto;
  }
  .moreAbout .mainImage img:nth-child(2) {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 280px;
    height: 200px;
    border: 2px solid rgb(4, 156, 110);
  }
}

@media screen and (max-width: 900px) {
  video {
    width: 100%;
  }
  main .introSection .details h1 {
    font-size: 35px;
  }
  .contact form input {
    width: 35%;
  }
}

@media screen and (max-width: 790px) {
  .service .services {
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .moreAbout {
    flex-direction: column;
  }
  .moreAbout .details,
  .moreAbout .mainImage {
    width: 80%;
    margin: 20px auto;
  }
  .moreAbout .details button {
    margin-left: calc(50% - 150px);
  }
  .moreAbout .details {
    padding: 2px;
  }
  footer {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 20px;
  }
  main .agents {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr 1fr;
    gap: 20px;
  }
}
@media screen and (max-width: 500px) {
  .contact form {
    flex-direction: column;
  }
  .contact form input {
    width: 280px;
    margin-block: 10px;
  }
  main nav button {
    display: none;
  }
  .service .services,
  footer {
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-columns: 1fr;
  }
  main .agents {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  main .introSection .details {
    position: absolute;
    inset: 0;
    width: 95%;
    margin: 0 auto;
    margin-top: 100px;
  }
  main .introSection .mainImage {
    margin-left: auto;
    width: 60%;
  }
}

@media screen and (max-width: 400px) {
  .moreAbout .details button {
    margin-left: 0px;
  }
  .moreAbout .details,
  .moreAbout .mainImage {
    width: 100%;
  }
  .moreAbout .mainImage img:nth-child(1) {
    min-height: 330px;
  }
}
