@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
html {
  font-size: 62.5%;
}

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

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.7;
}

ul li {
  list-style: none;
}

a {
  font-size: 1.6rem;
  text-decoration: none;
}

p,
li {
  font-size: 1.6rem;
  margin-bottom: 0.5em;
  letter-spacing: 0.15em;
}

h1,
h2,
h3 {
  margin-bottom: 0.5em;
  letter-spacing: 0.15em;
  font-weight: 500;
}

/* ############## Utility Classes ############## */

.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

.lg-heading {
  font-size: 3.5rem;
}

.md-heading {
  font-size: 2.2rem;
}

.text-red {
  color: #e63946;
}

.text-light {
  color: #f4f4f4;
}

.text-black {
  color: #333;
}

.text-gray {
  color: #555555;
}

.btn {
  display: inline-block;
  padding: 0.5em 1.5em;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0.5em 0;
}

.bg-dark {
  background-color: #263228;
}

.btn-primary {
  background-color: #fff;
  border-radius: 10rem;
}

.btn-secondary {
  font-size: 1rem;
  display: inline-block;
  padding: 0.7em 2em;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0.5em 0;
  border: 2px solid #e63946;
  border-radius: 1.5em;
}

.btn-primary:hover {
  background-color: #ddd;
}

.btn-secondary:hover {
  background-color: #fcf3f2;
}

/* ############Styling Header################ */

.header {
  height: 95vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/header-image.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.navbar .container {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
}

.navbar .nav-items {
  display: flex;
  gap: 40px;
  align-items: center;
  text-transform: uppercase;
}

.navbar a:link,
.navbar a:visited {
  color: #f4f4f4;
}

.navbar a:hover {
  border-bottom: 1px solid #ffffff;
}

/* ##########  header content styling ############### */
.header-content {
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
}

.header-content h1 {
  text-transform: uppercase;
  font-weight: 700;
}

.header-content p {
  text-transform: uppercase;
}

/* ######################## Showcase section styling##################### */

.showcase {
  background: #ddd;
  padding: 10rem 0;
}

.row {
  display: flex;
  justify-content: space-between;
  height: 35rem;
  background-color: #fff;
  box-shadow: 0px 0px 20px 0px #aaa;
}

.row1 {
  margin-bottom: 10rem;
}

.text-box {
  padding: 3rem;
  width: 50%;
}

.text-box h2 {
  text-transform: uppercase;
  letter-spacing: 0.5rem;
}

.row img {
  display: inline-block;
  width: 50%;
  height: 100%;
  object-fit: cover;
}

/* ###########features section ############# */
.box-wrapper {
  display: flex;
  text-align: center;
  box-shadow: 5px 5px 20px 0px #00000075;
}

.features {
  padding: 5rem;
}
.box {
  padding: 1rem;
}

.box-1,
.box-3 {
  background-color: #263228;
  color: #fff;
}

.box-2 {
  background: linear-gradient(25deg, #d64c7f, #ee4758 50%);
}

/* ###############Footer################### */

.footer {
  background-color: #263228;
  color: #f4f4f4;
  padding: 2rem;
  text-align: center;
}

.social-media-links i {
  margin: 2rem;
}

/* ################## about page styling###################### */
.about {
  padding: 5rem 0;
}

.about-heading::after {
  content: " ";
  display: block;
  border: 0.3rem solid #e63946;
  width: 100%;
}

.about-wrapper {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
}

.about-wrapper li::before {
  content: "\2713";
  color: #e63946;
  font-weight: bold;
  padding: 1rem;
}

.counts {
  margin-top: 2rem;
  display: flex;
  justify-content: space-around;
}

.counts .count-items span {
  font-weight: bold;
  color: #e63946;
  font-size: 2.2rem;
}

.counts .count-items p {
  font-weight: 700;
}

.cta-banner {
  box-shadow: 5px 5px 10px #0000006c;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  background: linear-gradient(25deg, #d64c7f, #ee4758 50%);
  color: #f4f4f4;
  align-items: center;
}

.btn-cta {
  text-align: center;
  padding: 0.3em 2.4em;
  display: inline-block;
  margin: 1rem;
  color: #f4f4f4;
  border: 4px solid #f4f4f4;
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5rem;
}

.cta-line {
  padding: 1rem;
  font-size: 2rem;
  font-weight: 700;
}

/* ###################contact us########################## */
.contact-form {
  padding: 5rem 0;
  font-size: 2rem;
  background-color: #f7f7f7;
}

.form-wrapper {
  display: flex;
  justify-content: space-between;
}

.company-address {
  height: 760px;
  background-color: #fff;
  padding: 1rem;
  width: 49%;
}

.form-wrapper .company-address i {
  display: inline-block;
  margin-right: 1rem;
}

.form-wrapper .company-address h2 {
  display: inline-block;
  text-transform: uppercase;
}

.contact-img {
  display: inline-block;
  max-width: 90%;
  min-height: 40rem;
  object-fit: cover;
  object-position: right;
}

.form-wrapper .address-group {
  margin-bottom: 3rem;
}

/* #############Form style################## */

.form {
  height: 760px;
  padding: 1rem;
  font-size: 1.6rem;
  background-color: #fff;
  width: 49%;
}

.form h1::after {
  content: "";
  display: block;
  border: 2px solid #e63946;
  width: 100%;
}

form label {
  display: block;
}

form input {
  padding: 0.5rem;
  width: 100%;
  margin-bottom: 2.1rem;
}

form button {
  display: block;
}

form label::after {
  content: "*";
  color: #e63946;
}

form textarea {
  width: 100%;
  height: 300px;
  padding: 1rem;
}

.form-btn {
  display: block;
  margin: 10px auto;
  padding: 0.5em 3em;
  font-size: 1.8rem;
  text-transform: uppercase;
  background-color: #e63946;
  color: #fff;
  outline: none;
  border: none;
  cursor: pointer;
}

/* ###############Media queries####################### */
@media (max-width: 500px) {
  html {
    font-size: 50%;
  }

  .navbar .container {
    display: block;
    text-align: center;
  }

  .navbar .container .nav-items {
    justify-content: center;
  }

  .header-content .main-heading {
    display: none;
  }

  .showcase .row2 {
    height: auto;
    width: 100%;
    flex-direction: column-reverse;
  }

  .showcase .row1 {
    height: auto;
    width: 100%;
    flex-direction: column;
  }

  .row img,
  .row .text-box {
    width: 100%;
    text-align: center;
  }

  .box-wrapper {
    flex-direction: column;
    box-shadow: none;
  }

  .features .box-2,
  .box-3 {
    margin-top: 7rem;
  }

  .features .box {
    box-shadow: 0px 0px 20px 0px #aaa;
  }

  .about-wrapper {
    flex-direction: column;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .form-wrapper {
    flex-direction: column;
  }

  .form-wrapper .company-address,
  .form {
    width: 100%;
  }

  .btn {
    padding: 1.1rem;
  }
}

@media (min-width: 501px) and (max-width: 788px) {
  html {
    font-size: 50%;
  }

  .navbar .container {
    display: block;
    text-align: center;
  }

  .navbar .container .nav-items {
    justify-content: center;
  }

  p {
    font-size: 1.8rem;
  }

  .showcase .row2 {
    height: auto;
    width: 100%;
    flex-direction: column-reverse;
  }

  .showcase .row1 {
    height: auto;
    width: 100%;
    flex-direction: column;
  }

  .row img,
  .row .text-box {
    width: 100%;
    text-align: center;
  }

  .box-wrapper {
    flex-direction: column;
    box-shadow: none;
  }

  .features .box-2,
  .box-3 {
    margin-top: 7rem;
  }

  .features .box {
    box-shadow: 0px 0px 20px 0px #aaa;
  }

  .about-wrapper {
    flex-direction: column;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .form-wrapper {
    flex-direction: column;
  }

  .form-wrapper .company-address,
  .form {
    width: 100%;
  }
}

@media (min-width: 789px) and (max-width: 1200px) {
  html {
    font-size: 56.25%;
  }

  .row .text-box h2 {
    font-size: 2.2rem;
    font-weight: 500;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .header {
    height: 90vmax;
  }
}
