body {
  scroll-behavior: smooth;
}
:root {
  --primary-color: rgb(29, 29, 31);
  --secondary-color: rgb(213, 249, 103);
  --first-color: rgb(68, 68, 77);
}
a {
  text-decoration: none;
}
/* header start*/
.header {
  padding: 20px 0;
}
.header ul {
  background-color: rgb(52, 52, 56);
  border-radius: 90px;
  padding: 8px;
}
/* list hover start*/
.header .nlist {
  position: relative;
  display: inline-block;
  padding-right: 10px;
}
.nlist .nlistdropdown {
  position: absolute;
  display: none;
  background-color: #fff;
  padding: 15px 10px;
  border-radius: 8px;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 400;
}
.header .nlist:hover .nlistdropdown {
  display: block;
}
.header .hmenu {
  display: none;
}
.header .hmenu i {
  color: black;
  font-size: 32px;
}
/* list hover ends*/
.header .nlist .nlink {
  font-size: 14px;
  font-weight: 500;
  padding: 10px;
  margin-right: 20px;
  color: #fff;
  border-radius: 90px;
}
.header .nlist .nlink:hover {
  background-color: rgb(68, 68, 77);
  color: rgb(203, 251, 69);
  border-radius: 90px;
}
.header .nlist .active {
  font-size: 14px;
  font-weight: 500;
  padding: 10px;
  margin-right: 20px;
  color: #fff;
  border-radius: 90px;
}
.header .nlist .active {
  background-color: rgb(68, 68, 77);
  color: var(--secondary-color);
  border-radius: 90px;
}
.header .ntrail a {
  padding: 15px 40px;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 90px;
  transition: 0.5s;
}
.header .ntrail a:hover {
  border: 2px solid var(--secondary-color);
  background-color: var(--secondary-color);
  color: black;
  border-radius: 90px;
}
/*-----*/
/*  */
.ham-menu {
  height: 100vh;
  width: 200px;
  top: 0;
  left: -100%;
  right: 0;
  bottom: 0;
  background-color: #fff;
  position: fixed;
  z-index: 99999;
  display: none;
  transition: 0.6s ease-in-out;
}
.ham-menu img {
  padding: 20px 0;
  margin-left: 32px;
  width: 100px;
}
.ham-menu ul {
  flex-direction: column;
  /* text-align: center; */
  float: right;
  padding-right: 40px;
}
.ham-menu ul li a {
  color: var(--primary-color);
}
/*  */
/*-----*/
.first {
  padding: 130px 0;
  margin-top: 70px;
}
.first .fone {
  margin-bottom: 20px;
}
.first .fone span {
  padding: 10px 25px;
  background-color: rgb(29, 29, 31);
  border-radius: 50px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.first .one h2 {
  margin-bottom: 15px;
  color: rgb(29, 29, 31);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -2px;
}
.first .ftwo {
  margin: 20px 0;
}
.first .ftwo i {
  font-size: 16px;
  font-weight: 400;
  color: rgb(68, 68, 77);
  margin-right: 5px;
}
.first .ftwo span {
  font-size: 14px;
  font-weight: 400;
  color: rgb(68, 68, 77);
}
.first .image {
  margin-bottom: 30px;
}
.first .image img {
  border-radius: 16px;
}
.first .fthree {
  margin-bottom: 30px;
}
.first .fthree p {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 400;
  color: rgb(52, 52, 56);
}
.first .fthree ul {
  padding-left: 13px;
  margin: 0;
}
.first .fthree ul li {
  font-size: 18px;
  font-weight: 400;
  color: rgb(52, 52, 56);
  padding-bottom: 10px;
}
.first .ffour h4 {
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 24px;
  font-weight: 700;
}
.first .ffour p {
  margin-bottom: 30px;
  color: rgb(52, 52, 56);
  font-size: 18px;
  font-weight: 400;
}
.first .ffive h5 {
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 700;
}
.first .ffive p {
  font-size: 16px;
  font-weight: 400;
  color: rgb(68, 68, 77);
  margin-bottom: 30px;
}
.first .fsix h4 {
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 24px;
  font-weight: 700;
}
.first .fsix p {
  margin-bottom: 30px;
  color: rgb(52, 52, 56);
  font-size: 18px;
  font-weight: 400;
}
.first .fsix ul {
  list-style: none;
  padding: 0;
}
.first .fsix ul li {
  padding-bottom: 10px;
}
.first .fsix ul li i {
  background-color: var(--secondary-color);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 24px;
  font-weight: 400;
  margin-right: 15px;
}
.first .fsix ul li span {
  color: rgb(68, 68, 77);
  font-weight: 600;
  font-size: 18px;
}
.first .fseven {
  align-items: center;
  column-gap: 20px;
}
.first .fseven img {
  border-radius: 50%;
}
.first .fseven h5 {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
}
.first .fseven span {
  color: rgb(68, 68, 77);
  font-size: 14px;
  font-weight: 500;
}
/*-----*/
/*-----*/
.mainpost {
  margin: 0;
}
.post {
  padding: 30px;
  margin-bottom: 30px;
  background-color: rgb(242, 242, 240);
  border-radius: 16px;
}
.post h4 {
  margin-bottom: 30px;
  color: var(--primary-color);
  font-size: 24px;
  font-weight: 600;
}
.post p {
  align-items: center;
  margin-bottom: 10px;
}
.post i {
  margin-right: 6px;
  font-size: 14px;
  font-weight: 500;
  color: red;
}
.post span {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
}
.post h5 {
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 500;
}
.post .two form {
  display: flex;
  align-items: center;
  column-gap: 6px;
}
.post .two input {
  padding: 1px 2px 1px 20px;
  border: 1px;
  border-radius: 30px;
  width: 100%;
  height: 46px;
}
.post .two input::placeholder {
  font-size: 16px;
}
.post .two button {
  padding: 14px 16px;
  border: 1px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 400;
  transition: 0.5s ease-in-out;
}
.post .two button:hover {
  background-color: black;
  color: #fff;
}
.post .three .link {
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 10px;
}
.post .three a {
  padding: 8px 20px;
  background-color: #fff;
  border-radius: 30px;
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 500;
  transition: 0.5s ease-in-out;
}
.post .three a:hover {
  background-color: var(--secondary-color);
}
/*-----*/
/*-----*/
.last {
  padding: 130px 0;
  background-color: black;
}
.last .image {
  z-index: 1;
  top: 12%;
  left: 24%;
  position: absolute;
  animation: arr 4s linear infinite alternate;
}
@keyframes arr {
  0% {
    transform: translateX(0rem);
  }
  25% {
    transform: translateX(-0.5rem);
  }
  50% {
    transform: translateX(0rem);
  }
  75% {
    transform: translateX(0.5rem);
  }
  100% {
    transform: translateX(0rem);
  }
}
.last h2 {
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 600;
  color: var(--secondary-color);
  letter-spacing: -2px;
}
.last .search {
  padding: 1px 2px 1px 20px;
  border: 0;
  border-radius: 50px;
  height: 64px;
  width: 40%;
}
.last .submit {
  font-size: 16px;
  font-weight: 500;
  padding: 16px 32px;
  border: 0;
  border-radius: 200px;
  background-color: var(--secondary-color);
  margin-left: -183px;
  transition: 0.5s;
}
.last .submit:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}
.last p {
  margin-top: 10px;
  margin-bottom: 40px;
  /* color: rgb(108, 108, 115); */
  color: #fff;
}
/*-----*/
.footer {
  padding: 130px 0 10px 0;
}
.footer .one {
  padding: 32px;
  background-color: rgb(242, 242, 240);
  border-radius: 24px;
}
.footer .one p {
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 400;
}
.footer .one i {
  padding: 10px;
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 400;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}
.footer .one i:hover {
  background-color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}
.footer .item h4 {
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 500;
  color: var(--primary-color);
}
.footer .item ul {
  list-style: none;
  padding: 0;
}
.footer .item ul li {
  padding-bottom: 20px;
  font-size: 16px;
  font-weight: 400;
  color: rgb(68, 68, 77);
  cursor: pointer;
}
.footer .item ul li:hover {
  text-decoration: underline;
}

/*-----*/
@media (min-width: 300px) and (max-width: 991.98px) {
  .header ul {
    display: none;
  }
  .header .hmenu {
    display: block;
  }
  .header img {
    margin-inline-end: auto;
    width: 100px;
  }
  .header .ntrail {
    display: none;
  }
  .ham-menu {
    display: block;
  }
  .first {
    padding: 80px 0;
    margin-top: 70px;
  }
  .first .fone span {
    font-size: 16px;
  }
  .first .one h2 {
    margin-bottom: 15px;
    font-size: 35px;
    letter-spacing: -2px;
  }
  .first .fthree p {
    font-size: 15px;
  }
  .first .fthree ul li {
    font-size: 15px;
  }
  .first .ffour h4 {
    font-size: 20px;
  }
  .first .ffour p {
    font-size: 15px;
  }
  .first .ffive h5 {
    font-size: 15px;
  }
  .first .ffive p {
    font-size: 15px;
  }
  .first .fsix h4 {
    font-size: 20px;
  }
  .first .fsix p {
    font-size: 15px;
  }
  .first .fsix ul li i {
    font-size: 20px;
  }
  .first .fsix ul li span {
    font-size: 15px;
  }
  .post h4 {
    font-size: 22px;
  }
  .post i {
    font-size: 12px;
  }
  .post span {
    font-size: 12px;
  }
  .post h5 {
    margin-bottom: 0px;
    font-size: 14px;
  }
  .post .two input::placeholder {
    font-size: 12px;
  }
  .post .three a {
    font-size: 14px;
  }
  .last {
    padding: 80px 0;
  }
  .last h2 {
    font-size: 40px;
  }
  .last .search {
    width: 65%;
  }
  .last .image {
    display: none;
  }
  .footer {
    padding: 80px 0 10px 0;
  }
  .footer .one {
    padding: 32px;
    text-align: center;
  }
  .footer .one p {
    margin-bottom: 24px;
    font-size: 16px;
  }
  .footer .one i {
    font-size: 14px;
  }
  .footer .item {
    margin-top: 20px;
    text-align: center;
  }
  .footer .item h4 {
    margin-bottom: 20px;
    font-size: 18px;
  }
  .footer .item ul li {
    padding-bottom: 20px;
    font-size: 14px;
  }
}
@media (min-width: 300px) and (max-width: 767.98px) {
  .footer .one {
    padding: 15px;
  }
}
@media (min-width: 300px) and (max-width: 750.98px) {
  .last .search {
    width: 70%;
  }
  .last .submit {
    padding: 16px 32px;
    margin: 5px 0 0 0;
  }
}
@media (min-width: 300px) and (max-width: 474.98px) {
  .last h2 {
    font-size: 30px;
    letter-spacing: 0px;
  }
}
