*,
*::before,
*::after {
  /* box-sizing: inherit; */
  box-sizing: border-box;
}


html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

}

body {
  font-family: "Poppins", sans-serif;
  max-width: 1440px;
  margin: 0 auto;
  background: #FFFFFF;
  height: 100%;
}

nav {
  display: flex;
  /* flex-direction: row; */
  justify-content: space-between;
  margin: 0 auto;

}

.head-title {
  font-style: normal;
  font-weight: 800;
  font-size: 36px;
  line-height: 53px;
  color: #333333;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  /* max-width: 703px; */
}

.navbar a {
  visibility: visible;
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 36px;
  text-decoration: none;
  color: #333333;
  margin: 0 10px;
}

.navbar a:hover {
  color: #6b6b6b
}

.section1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.section1-heading1 {
  align-self: auto;
  height: auto;
  max-width: 543px;
}

.section1-heading1 p {
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 27px;
  color: #2D9CDB;

}

.section1-heading1 .beautiful p {
  font-style: normal;
  font-weight: 500;
  font-size: 48px;
  line-height: 72px;
  color: #333333;
  max-width: 543px;
}

.mainimage {
  margin: 0 auto;
}

.mainimage img {
  width: 100%;
  max-width: 1332px;
  height: auto;
  border-radius: 18px;
}

.section1-heading2 {
  align-self: center;
  justify-self: center;
  max-width: 366px;
}

.section1-heading2 .beautiful p {
  font-style: normal;
  font-weight: 500;
  font-size: 48px;
  line-height: 72px;
  color: #333333;

}

.section1-heading2 p {
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 27px;
}

.emailformone {
  display: flex;
  flex-direction: column;
}

.labelone {
  color: #828282, 100%;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
}

.emailbox {
  width: 100%;
  max-width: 350px0;
  height: 57px;
  background-color: #F2F2F2;
  border-radius: 12px;
  border: 1px solid #cacaca;
  transition: bakground 0.25s, border-color 0.25s, color 0.25s;
  outline: none;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  padding: 0.8em;
}

.emailbox::placeholder {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 27px;
  color: #BDBDBD, 100%;
  padding-left: 20px;
}

.emailbox:focus {
  background-color: #ececec;
}

.buttonbox {
  width: 100%;
  max-width: 94px;
  height: 49px;
  background-color: #2D9CDB;
  border-radius: 12px;
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 27px;
  color: #F2F2F2;
  align-self: flex-end;
  margin-top: -53px;
  margin-right: 5px;
  border: 1px solid #4fb5f0;
  cursor: pointer;
  margin-bottom: 50px;
}

.section2 {
  max-width: 1110px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

#section2-head {
  font-style: normal;
  font-weight: 500;
  font-size: 36px;
  line-height: 54px;
  color: #333333;
  max-width: 346px;
}

.section2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1em;
  grid-auto-rows: minmax(422px, auto);
  align-items: center;
}

.card1,
.card2,
.card3 {
  max-width: 341px;
  min-height: 422px;
  padding: 20px
}

.rect1,
.rect2,
.rect3 {
  max-width: 67px;
  min-height: 67px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 33px;
  margin-top: 30px;
}

.rect1 {
  background-color: #2D9CDB;
}

.rect2 {
  background-color: #27AE60;
}

.rect3 {
  background-color: #EB5757;
}

.material-icons {
  color: #FFFFFF;
  font-size: 27px;
}

.content1,
.content2,
.content3 {
  margin: 30px auto;
  max-width: 273px;
  min-height: 96px;
}

.content1 :first-child,
.content2 :first-child,
.content3 :first-child {
  font-weight: bold;
  font-size: 24px;
  line-height: 36px;
  color: #333333;
}

.content1 :nth-child(2),
.content2 :nth-child(2),
.content3 :nth-child(2) {
  margin-top: 40px;
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  color: #4F4F4F;

}

#card-button1,
#card-button2,
#card-button3 {
  color: #828282;
  margin-top: 30px;
  background-color: #E0E0E0;
  border-radius: 12px;
  max-width: 116px;
  height: 42px;
  border: 1px solid #ececec;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}

.card1:hover,
.card2:hover,
.card3:hover {
  transition: 0.6s;
  box-shadow: 0px 10px 30px rgba(51, 51, 51, 0.5);
  border-radius: 24px;
  cursor: pointer;
}

.card1:hover #card-button1,
.card2:hover #card-button2,
.card3:hover #card-button3 {
  background-color: #2D9CDB;
  color: #FFFFFF;
  transition: 0.6s;
}

.section3 {
  max-width: 1110px;
  display: flex;
  flex-direction: column;
  margin: 60px auto;
}

#section3-head {
  font-style: normal;
  font-weight: 500;
  font-size: 36px;
  line-height: 54px;
  color: #333333;
  max-width: 448px;
}

.section3 {
  max-width: 1110px;
  display: flex;
  flex-direction: column;
  margin: 60px auto;
}

.photo-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 0.2em;
  /* grid-auto-rows: minmax(545px, auto); */

}

.photo-container .photo1 {
  align-self: auto;
  margin-top: 150px;
}

.photo-container .photo4 {
  align-self: auto;
  margin-top: -50px;
}

.photo-container .photo3 {
  align-self: auto;
  margin-top: 100px;
}

figure img {
  border-radius: 12px;
  width: 100%;
  max-width: 545px;
  height: auto;
  cursor: pointer;
}


figcaption:nth-child(even) {

  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 21px;
  color: #828282;
}

figcaption:nth-child(odd) {
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 36px;
  color: #333333;
}

.seemore {

  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 50px;
  min-width: 170px;
}

.see {
  margin: 0;
  color: #2D9CDB;
  text-decoration: none;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 36px;
  padding-bottom: 0.2em;
}

.seemore #arrow {
  color: #2D9CDB;
  font-size: 36px;
  cursor: pointer;
}

.seemore:hover .see {
  align-self: center;
  transition: 0.6s;
  font-size: 30px;
}

.seemore:hover #arrow {
  align-self: center;
  transition: 0.6s;
  font-size: 38px;
}

.section4 {
  max-width: 1110px;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  margin: 150px auto;
}

.section4-text {
  margin-top: 130px;
}

.section4-text1 p {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 27px;
  color: #EB5757;
}

.section4-text2 {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-size: 36px;
  line-height: 54px;
  max-width: 280px;
  color: #333333;
}

.section4-text3 {
  font-family: Poppins;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  color: #4F4F4F;
  max-width: 273px;
}

.section4-pic {
  display: flex;

  justify-content: space-evenly;
  align-items: center;
}

.pic1 img {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 24px;

}

.pic2 img {
  max-width: 260px;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.pic2 img {
  max-width: 292px;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.pic1 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pic2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pic1>div {
  margin: 10px;
}

.pic2>div {
  margin: 10px;
}



.testimonial {
  max-width: 1110px;
  margin: 60px auto;
  padding: 20px;
}

.test-text {
  max-width: 937px;
}

.test-text p {
  font-style: normal;
  font-weight: 500;
  font-size: 36px;
  line-height: 54px;
  color: #333333;
}

.profile {
  display: flex;
  align-items: center;
  padding: 20px;
  max-width: 500px;
}

.profile:hover {
  transition: 0.6s;
  box-shadow: 0px 10px 30px rgba(51, 51, 51, 0.5);
  border-radius: 24px;
  cursor: pointer;
}

.profile-info {
  padding-left: 20px;
}

.profile-img img {
  max-width: 82px;
  width: 100%;
  height: auto;
  background-color: #C4C4C4;
  border-radius: 12px;
}

.profile-info :first-child {
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 36px;
  color: #333333;
}

.profile-info :nth-child(2) {
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 27px;
  color: #828282;
  margin-top: -17px;
}

.testimonial:hover {
  transition: 0.6s;
  box-shadow: 0px 10px 30px rgba(51, 51, 51, 0.5);
  border-radius: 24px;
  cursor: pointer;
}

footer {
  background-color: #100E1D;
  max-width: 1440px;
}

.footer-details {

  height: 385px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  color: #FFFFFF;
}

.options a {
  color: #FFFFFF;
  text-decoration: none;
  display: block;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 200%;
}

.social-media {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.title p {
  font-style: normal;
  font-weight: 800;
  font-size: 36px;
  line-height: 53px;
  color: #F2F2F2;
  margin-top: -95px;
}

.media {
  margin-top: -40px;
}

.media a {
  color: #FFFFFF;
  font-size: 24px;
  margin-right: 11px;
}

.emailformtwo {
  display: flex;
  flex-direction: column;
  margin-top: -95px;

}

.emailformtwo .emailbox {
  max-width: 350px;
}

.creator {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  color: #F2F2F2;
  display: block;
  margin-top: 80px;
  /* align-self: flex-end; */

}

.creator span a {
  color: #F2F2F2;
}

@media only screen and (max-width: 786px) {

  nav .navbar {
    display:none;
  }

  .section1 .beautiful p {
    max-width: 272px;
  }

  .mainimage img {
    width: 100%;
    height: auto;
  }

  #section2-head {
    margin: 10px auto;
  }

  .section2-grid {
    grid-template-columns: 1fr;
    grid-row-gap: 1.5em;
    margin: 0 auto;
  }

  .card1,
  .card2,
  .card3 {
    padding: 20px;

  }

  #section3-head {
    max-width: 267px;
    margin: 10px auto;
  }

  .photo-container .photo1 {
    margin: 20px 0;
  }

  .photo-container .photo4 {
    margin: 10px 0;
  }

  .photo-container .photo3 {
    margin: 20px 0;

  }

  .photo-container {
    grid-template-columns: 1fr;
    margin: 0 auto;
  }

  figcaption:nth-child(odd) {
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    color: #333333;
  }

  figcaption:nth-child(even) {

    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 18px;
    color: #828282;
  }

  .seemore {
    align-self: flex-start;
    display: flex;
    align-items: flex-start;
  }

  .see {
    font-size: 18px;
    line-height: 27px;
  }

  .seemore:hover .see {
    align-self: center;
    font-size: 19px;
  }

  .seemore #arrow {
    font-size: 26px;
  }

  .seemore:hover #arrow {
    font-size: 27px;
  }

  .section4 {
    grid-template-columns: 1fr;
  }

  .section4-text {
    margin: 0 auto;
  }

  .title p {
    margin-top: 0;
  }

  .pic11 {
    justify-self: flex-start;
  }

  .emailformtwo {
    margin-top: 0px;
    width: 290px;
  }

  footer {
    padding: 30px;
  }

  .footer-details {
    flex-direction: column;
    align-items: start;
    padding-left: 30px;
    margin-top: 30px;
  }

  .footer-details>div {
    margin-top: 50px;
  }
}
