@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --gray-900: #181d27;
  --main-green: #039122;
  --white: #ffffff;
  --brown-800: #ca7f4d;
  --gray-400: #a4a7ae;
  --light-green: #ddfde4;
  --gray-700: #414651;
  --gray-800: #252b37;
  --main-green-200: #d7ffe0;
  --main-green-100: #f6fff8;
  --shadow-2xl: #0a0d122e;
  --gray-25:#FDFDFD;
  --gray-100:#F5F5F5;
  --gray-300:#D5D7DA;
}
body {
  font-family: "Raleway", sans-serif;
}

.navbar {
  font-weight: 500;
  font-size: 18px;
  padding: 16px;
}

.nav-link {
  color: var(--gray-900);
}
.sign-up-btn {
  background-color: var(--main-green);
  color: var(--white);
  border-radius: 6px;
  padding: 11px 42px;
  border: none;
  margin-right: 20px;
}
.sign-in-btn {
  color: var(--brown-800);
  border-radius: 6px;
  padding: 11px 19px;
  border: 1px solid var(--brown-800);
}
a{
    text-decoration: none;
}
ul{
    list-style: none;
}

/* main -header */
header {
  background-image: url(assets/hero-image.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 80vh;
  padding: 5rem 0;
  display: flex;
  align-items: center;
  /* position: relative; */
}

header h1 {
  color: var(--light-green);
  max-width: 60%;
  font-weight: 700;
  font-size: 60px;
  line-height: 70px;
}

header span {
  padding: 2px 10px;
  background-color: var(--brown-800);
  font-weight: 700;
  font-size: 50px;
  border-radius: 11px;
}

header p {
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: var(--light-green);
  max-width: 55%;
  padding: 15px 0;
}

.sign-in-btn-hero {
  color: var(--brown-800);
  border-radius: 6px;
  padding: 11px 42px;
  border: 1px solid var(--brown-800);
  background-color: transparent;
}
.sign-up-btn-hero {
  background-color: var(--main-green);
  color: var(--white);
  border-radius: 6px;
  padding: 11px 42px;
  border: none;
  margin-right: 20px;
}

.message-sqr-wrapper {
  /* position: absolute; */
  position: fixed;
  right: 70px;
  z-index: 1;
  /* bottom: -20; */
}

/* section-2 */
.section-2-div {
  padding: 40px 0;
}

.section-2-div h4 {
  color: var(--gray-900);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
}
.section-2-div h1 {
  font-weight: 700;
  font-size: 48px;
  color: var(--brown-800);
  max-width: 50%;
  margin: auto;
  padding: 20px 0;
}
.section-2-div p {
  font-weight: 500;
  font-size: 20px;
  color: var(--gray-700);
  max-width: 40%;
  margin: auto;
}
.section-2-div-2 {
  padding-bottom: 20px;
}
.section-2-div-2 h4 {
  font-weight: 600;
  font-size: 24px;
  color: var(--gray-900);
  padding: 10px 0;
}
.section-2-div-2 p {
  font-weight: 500;
  font-size: 16px;
  color: #474a47;
}
/* section-3 */
.section-3 h4 {
  color: var(--gray-800);
  font-weight: 700;
  font-size: 16px;
}
.section-3 h2 {
  color: var(--brown-800);
  font-weight: 700;
  font-size: 48px;
}

.section-3-parent-div h3 {
  color: var(--gray-900);
  font-size: 18px;
  font-weight: 600;
}
.section-3-parent-div p {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 16px;
}
.section-3-parent-div .cards {
  height: 222px;
}

.scroll-x {
  /* overflow-x: auto;
  flex-wrap: nowrap;  */
}

.scroll-x img {
  /* flex-shrink: 0;
  border-radius: 100%; */
  /* width: 22%; */
}
/* section-4 */
.section-4 > h2{
    color: var(--brown-800);
    font-weight: 700;
    font-size: 48px;
}
.section-4-cards {
  width: 388px;
  padding: 41px 40px;
  background-color: var(--main-green-100);
  border-radius: 24px;
  color: var(--gray-700);
  box-shadow: 2px 20px 20px var(--shadow-2xl);
  word-wrap: break-word;
}

.section-4-cards > p {
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
}

.section-4-cards img {
  max-width: 71px;
  height: 71px;
}

.section-4-cards-inner-div h3 {
  font-weight: 700;
  font-size: 18px;
  color: #5d5a88;
}
.section-4-cards-inner-div p {
  font-weight: 400;
  font-size: 18px;
  color: #8d8ba7;
}

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

/* section-5 */
.section-5{
    margin-top: 350px;
}

.section-5-main-div{
    display: flex;
    background-color: var(--gray-800);
    border-radius: 23px;
    position: relative;
    height: 403px;
}

.section-5-div-1{
    padding: 40px 0 8px 44px;
    max-width: 40%;

}
.section-5-div-1 button{
background-color: var(--brown-800);
padding: 11px 73px;
color: var(--gray-25);
font-weight: 500;
font-size: 18px;
border-radius: 6px;
border: none;
}

.section-5-div-1 h1{
    font-weight: 700;
    font-size: 48px;
    color: var(--gray-25);
}
.section-5-div-1 p{
    font-weight: 500;
    font-size: 24px;
    color: var(--gray-100);
}

.section-5-div-2{
    position: absolute;
    right: 5%;
    top: -200px;
}
/* footer */
footer{
    background-color: var(--gray-900);
    min-height: 162px;
}

footer p{
    color:var(--gray-300);
    font-weight: 400;
    font-size: 18px;
}

.footer-link{
    color: var(--gray-300);
    font-weight: 400;
    font-size: 18px;
}

.footer-socials{
    background-color: #F2F1FA;
    padding: 12px;
    /* max-width: 36px;
    max-height: 36px; */
    border-radius: 8px;
}

footer ul{
    margin-right: 40px;
}


@media (max-width: 890px) {
  .section-2-div h1 {
    max-width: 100%;
    margin: auto;
}
.section-2-div p {
    max-width: 100%;
    margin: auto;
}
/* main -header */
header {
    min-height: 50vh;
}

header h1 {
    max-width: 100%;
}

header p {
    max-width: 100%;
}
/* section-4 */
.section-4-cards {
    width: 100%;
    padding: 50px;
}
.cards-wrapper{
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* section-5 */
.section-5{
    margin-top: 80px;
}
.section-5-main-div{
    height: 100%;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}
.section-5-div-1{
    padding: 10px;
    max-width: 100%;
    
}

.section-5-div-1 h1{
    font-size: 26px;
}
.section-5-div-1 p{
    font-size: 19px;
    padding: 10px;
}
/* footer */
footer{
    min-height: 220px;
}
.footer-link{
   
    font-size: 14px;
}
.footer-socials{
    padding: 8px;
}
}

@media (max-width: 500px) {
    .navbar {
    padding: 20px 0;
  }
  /* main-header */
  header {
    background-image: url(assets/hero-img-mobile.png);
    padding: 4rem 0;
  }
  header h1 {
      max-width: 100%;
    font-size: 32px;
    line-height: 38px;
    text-align: center;
  }
  header span {
      padding: 2px 10px;
      font-weight: 700;
    font-size: 30px;
  }
  header p {
    font-size: 22px;
    line-height: 28px;
    max-width: 100%;
    padding: 15px 0;
    text-align: center;
  }
  .btn-hero-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .sign-up-btn-hero {
      min-width: 100%;
  }
  /* section-2 */
  .section-2-div {
      padding: 25px 0;
  }
  .section-2-div h4 {
      font-size: 14px;
    }
  .section-2-div h1 {
      font-size: 20px;
    max-width: 100%;
  }
  .section-2-div p {
    font-size: 16px;
    max-width: 100%;
  }
  .section-2-div-2 {
    text-align: center;
  }
  .section-2-div-2 h4 {
    font-size: 20px;
  }
  .section-2-div-2 p {
    font-size: 14px;
  }
  /* section-3 */
  .section-3 {
      background-color: var(--main-green-200);
    margin: 15px 0;
  }
  
  .section-3 h4 {
    font-size: 14px;
  }

  .section-3 h2 {
    font-size: 18px;
}

.section-3-parent-div h3 {
    font-size: 20px;
    text-align: center;
  }
  .section-3-parent-div .cards {
      height: 150px;
    }
    /* .scroll-x img {
        flex-shrink: 0;
        border-radius: 100%;
        width: 24%;
        } */
 /* section-4 */
 .section-4-cards {
  width: 100%;
  padding: 21px 20px;
}
.section-4 > h2{
    padding-top: 20px;
    font-size: 18px;
}
.section-5-div-1 h1{
    font-size: 18px;
}
.section-5-div-1 p{
    font-size: 16px;
    line-height: 24px;
    padding: 10px;
}
/* footer */

footer p{
    font-size: 14px;
    text-align: center;
}

.footer-link{
    color: var(--gray-300);
    font-weight: 400;
    font-size: 18px;
}


}
