@import url("https://fonts.googleapis.com/css2?family=Fugaz+One&family=Monoton&display=swap");
* {
  margin-right: 0px;
  margin-left: 0px;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
/* Header Section */
header {
  margin-right: -0.6rem;
  margin-left: -0.35rem;
  margin-top: -0.4rem;
  background: linear-gradient(to right, #2bb7da, #31d35c);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
}

.header-logo h3,
.footer-logo h3 {
  color: white;
  font-size: 1.3rem;
}
.header-logo h3 {
  margin-left: 1rem;
}
.header-logo span,
.footer-logo span {
  color: lawngreen;
  font-size: 1.4rem;
}
.nav-toggle {
  display: none;
}
.nav-checkbox {
  display: none;
}
.nav-menu {
  display: flex;
  list-style: none;
}
.nav-menu li:not(:last-child) {
  margin-right: 1.5rem;
}
.nav-menu li a,
.nav-call-to-action a {
  text-decoration: none;
  color: white;
}
/* hover styles for the nav-link */

.nav-link:hover {
  opacity: 0.85;
}

.nav-call-to-action {
  margin-right: 2rem;
}
.nav-call-to-action a {
  border: 2px solid white;
  border-radius: 5px;
}
.nav-call-to-action a:first-child {
  padding: 0.5rem 0.5rem;
  margin-right: 0.2rem;
}
.nav-call-to-action a:last-child {
  padding: 0.6rem 0.6rem 0.5rem 0.6rem;
}

/*  MAIN SECTION  */

@media only screen and (min-width: 1200px) {
  main {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
  }
  .whole-section {
    width: 80%;
  }

  a {
    text-decoration: none;
    color: #000;
  }
  img {
    border-radius: 5px;
    box-shadow: 0 4px 4px 0 rgba(27, 27, 27, 0.9);
  }

  .head {
    width: 100%;
    text-align: center;
    font-size: 25px;
    margin-top: 30px;
    margin-bottom: 50px;
  }
  .head h2 {
    border-bottom: 1px solid rgb(224, 213, 213);
    line-height: 0.1em;
    margin: 10px 20px;
  }
  .head h2 span {
    background: #fff;
    padding: 0 30px;
  }

  /* first section*/

  .first-section {
    display: flex;
    justify-content: space-between;
  }
  .first-section img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }

  .sub-first-section {
    width: 30%;
    padding-right: 10px;
    padding-left: 20px;
  }
  .sub-first-section img {
    width: 100%;
  }
  .sub-first-section img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .span1-div1-p {
    font-size: 25px;
    width: 91%;
    text-align: center;
  }
  .span1-div1-p :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .sub-second-section {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid rgb(188, 207, 207);
    padding-right: 10px;
    border-right: 1px solid rgb(188, 207, 207);
    width: 40%;
  }
  .sub-second-section img {
    width: 100%;
  }
  .sub-second-section img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .span2-div-p {
    font-size: 35px;
    width: 100%;
    text-align: center;
  }
  .span2-div-p :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  #for-tablet {
    display: none;
  }
  .sub-third-section {
    padding-left: 10px;
    width: 30%;
  }
  .span3-all {
    margin-bottom: 20px;
  }
  .span3-div4 {
    padding-bottom: 10px;
  }
  .span3-name {
    font-style: italic;
    margin-top: 15px;
  }
  .span3-name :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .span3-div4 {
    font-size: 20px;
  }
  .span3-div4 :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }

  /*2nd section*/

  .sub-sec-div img {
    height: 200px;
    width: 100%;
  }
  .sub-sec-div img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .section-wrapper-content {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    gap: 40px;
    margin-left: 7px;
    margin-right: 7px;
  }
  .section2-wrapper-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 50px;
    gap: 40px;
    margin-left: 7px;
    margin-right: 7px;
  }
  .sub-sec-p {
    font-size: 15px;
    width: 98%;
    text-align: center;
  }
  .sub-sec-p :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }

  /*third section*/

  .title-wrapper img {
    height: 200px;
    width: 100%;
  }
  .title-wrapper img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .third-section-wrapper-content {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    gap: 40px;
    margin-left: 7px;
    margin-right: 7px;
  }
  .third-section2-wrapper-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 50px;
    gap: 40px;
    margin-left: 7px;
    margin-right: 7px;
  }
  .third-sub-sec-p {
    font-size: 15px;
    width: 100%;
    text-align: start;
  }
  .third-sub-sec-p :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }

  /*button section*/

  #red {
    background-color: rgb(204, 19, 19);
    padding: 10px;
    height: 45px;
    margin: 2px;
    border: 0;
    border-radius: 5px;
    font-size: 17px;
  }
  #red :hover {
    background-color: rgb(204, 19, 19);
    padding: 10px;
    height: 45px;
    margin: 2px;
    border: 0;
    border-radius: 5px;
    font-size: 17px;
  }
  #red a {
    padding: 15px;
    height: 45px;
  }

  .btn {
    background-color: rgb(241, 237, 237);
    padding: 10px;
    height: 45px;
    margin: 2px;
    border: 0;
    border-radius: 5px;
    font-size: 17px;
  }

  .btn :hover {
    background-color: rgb(98, 122, 143);
    padding: 15px;
    height: 45px;
    margin: 2px;
    border: 0;
    border-radius: 5px;
    font-size: 17px;
  }
  .btn a {
    padding: 15px;
    height: 45px;
  }

  .advert {
    width: 20%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  .advert-div p {
    margin-bottom: 100px;
  }
  .advert-div p img {
    margin-left: 40px;
    width: 80%;
    height: 400px;
  }
  .side-ad {
    text-align: center;
    font-size: 10px;
    font-style: italic;
  }

  .ad-name {
    text-align: center;
    font-style: italic;
    font-size: 10px;
  }
  #middle-ad {
    text-align: center;
    font-style: italic;
    font-size: 13px;
  }
  .middle-ad-name img {
    width: 80%;
    height: 200px;
    padding-bottom: 40px;
  }
}

/* //MEDIUM DEVICES LIKE LANDSCAPE TABLETS */
@media screen and (min-width: 767px) and (max-width: 1199px) {
  main {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
  }
  .whole-section {
    width: 80%;
  }

  a {
    text-decoration: none;
    color: #000;
  }
  img {
    border-radius: 5px;
    box-shadow: 0 4px 4px 0 rgba(27, 27, 27, 0.9);
  }
  .head {
    width: 100%;
    text-align: center;
    font-size: 25px;
    margin-top: 30px;
    margin-bottom: 50px;
  }
  .head h2 {
    border-bottom: 1px solid rgb(224, 213, 213);
    line-height: 0.1em;
    margin: 10px 20px;
  }
  .head h2 span {
    background: #fff;
    padding: 0 30px;
  }
  .first-section {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
  .first-section img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .sub-first-section {
    padding-right: 20px;
    padding-left: 20px;
  }
  .sub-first-section img {
    width: 100%;
  }
  .sub-first-section img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .span1-div1-p {
    font-size: 25px;
    width: 91%;
    text-align: center;
  }
  .span1-div1-p :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .sub-second-section {
    padding-left: 25px;
    border-left: 1px solid rgb(188, 207, 207);
    padding-right: 25px;
    border-right: none;
  }
  .sub-second-section img {
    width: 150%;
  }
  .sub-second-section img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .span2-div-p {
    font-size: 35px;
    width: 145%;
    text-align: center;
  }
  .span2-div-p :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .sub-third-section {
    display: none;
  }
  #for-tablet {
    padding-left: 20px;
  }
  .span3-all {
    margin-bottom: 20px;
  }
  .span3-div4 {
    padding-bottom: 7px;
  }
  .span3-name {
    font-style: italic;
    font-size: 15px;
    margin-top: 10px;
  }
  .span3-name :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  #span3-name {
    padding-bottom: 10px;
  }
  .span3-div4 {
    font-size: 20px;
    font-weight: bold;
  }
  .span3-div4 :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }

  /*second section*/
  .sub-sec-div img {
    height: 200px;
    width: 100%;
  }
  .sub-sec-div img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .section-wrapper-content {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    gap: 40px;
    margin-left: 7px;
    margin-right: 7px;
  }
  .section2-wrapper-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 50px;
    gap: 40px;
    margin-right: 7px;
    margin-left: 7px;
  }
  .sub-sec-p {
    font-size: 15px;
    width: 98%;
    text-align: center;
  }
  .sub-sec-p :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }

  /*third section*/

  .title-wrapper img {
    height: 200px;
    width: 100%;
  }
  .title-wrapper img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .third-section-wrapper-content {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    gap: 40px;
    margin-left: 7px;
    margin-right: 7px;
  }
  .third-section2-wrapper-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 50px;
    gap: 40px;
    margin-left: 7px;
    margin-right: 7px;
  }
  .third-sub-sec-p {
    font-size: 15px;
    width: 100%;
    text-align: start;
  }
  .third-sub-sec-p :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }

  /*button section*/

  #red {
    background-color: rgb(204, 19, 19);
    padding: 10px;
    height: 45px;
    margin: 2px;
    border: 0;
    border-radius: 5px;
    font-size: 17px;
  }
  #red :hover {
    background-color: rgb(204, 19, 19);
    padding: 10px;
    height: 45px;
    margin: 2px;
    border: 0;
    border-radius: 5px;
    font-size: 17px;
  }
  #red a {
    padding: 15px;
    height: 45px;
  }

  .btn {
    background-color: rgb(241, 237, 237);
    padding: 10px;
    height: px;
    margin: 2px;
    border: 0;
    border-radius: 5px;
    font-size: 17px;
  }

  .btn :hover {
    background-color: rgb(98, 122, 143);
    padding: 15px;
    height: 45px;
    margin: 2px;
    border: 0;
    border-radius: 5px;
    font-size: 17px;
  }
  .btn a {
    padding: 15px;
    height: 45px;
  }

  .advert {
    width: 20%;
    float: right;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  #for-1023 {
    visibility: hidden;
  }

  .advert-div p {
    margin-bottom: 100px;
  }
  .advert-div p img {
    margin-left: 20px;
    margin-right: 10px;
    width: 70%;
    height: 400px;
  }
  .side-ad {
    text-align: center;
    font-size: 10px;
    font-style: italic;
  }

  .ad-name {
    text-align: center;
    font-style: italic;
    font-size: 10px;
  }
  #middle-ad {
    text-align: center;
    font-style: italic;
    font-size: 13px;
  }
  .middle-ad-name img {
    width: 80%;
    height: 200px;
    padding-bottom: 40px;
  }
}

/* //SMALL DEVICES LIKE POTRAIT TABLET,LARGE PHONE */
@media screen and (min-width: 480px) and (max-width: 767px) {
  .advert {
    display: none;
  }
  main {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
  }

  .head {
    width: 100%;
    text-align: center;
    font-size: 25px;
    margin-top: 30px;
    margin-bottom: 50px;
  }
  .head h2 {
    border-bottom: 1px solid rgb(224, 213, 213);
    line-height: 0.1em;
    margin: 10px 20px;
  }
  .head h2 span {
    background: #fff;
    padding: 0 30px;
  }

  .whole-section {
    width: 100%;
  }

  a {
    text-decoration: none;
    color: #000;
  }
  img {
    border-radius: 5px;
    box-shadow: 0 4px 4px 0 rgba(27, 27, 27, 0.9);
  }
  .first-section {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
  .first-section img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .sub-first-section {
    padding: 0;
    padding-left: 20px;
    padding-right: 25px;
    width: 40%;
  }
  .sub-first-section img {
    width: 98%;
  }
  .sub-first-section img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .span1-div1-p {
    font-size: 20px;
    width: 90%;
    text-align: center;
  }
  .span1-div1-p :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .sub-second-section {
    padding-left: 25px;
    border-left: 1px solid rgb(188, 207, 207);
    padding-right: 25px;
    border-right: none;
    width: 60%;
  }
  .sub-second-section img {
    width: 98%;
  }
  .sub-second-section img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .span2-div-p {
    font-size: 25px;
    width: 90%;
    text-align: center;
  }
  .span2-div-p :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .sub-third-section {
    display: none;
  }
  #for-tablet {
    padding-left: 25px;
    width: 100%;
  }
  .span3-all {
    margin-bottom: 25px;
  }
  .span3-div4 {
    padding-bottom: 10px;
  }
  .span3-name {
    font-style: italic;
    margin-top: 10px;
  }
  .span3-name :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  #span3-name {
    padding-bottom: 15px;
  }
  #span3-name :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .span3-div4 {
    font-weight: bold;
    font-size: 20px;
  }
  .span3-div4 :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }

  /*2nd section*/

  .sub-sec-div img {
    height: 200px;
    width: 100%;
  }
  .sub-sec-div img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .section-wrapper {
    display: flex;
  }
  .section-wrapper-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 25px;
    padding-top: 2rem;
    padding-right: 0;
    margin-right: 20px;
  }
  .section2-wrapper-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding-top: 2rem;
    padding-bottom: 15px;
    gap: 25px;
    margin-left: 20px;
  }
  .sub-sec-p {
    font-size: 13px;
    font-weight: bold;
    width: 98%;
    text-align: center;
  }
  .sub-sec-p :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  /*third section*/
  .third-section-wrapper {
    display: flex;
  }
  .title-wrapper img {
    height: 200px;
    width: 100%;
  }
  .title-wrapper img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(196, 189, 189, 0.9);
    background-color: rgb(243, 239, 233);
  }
  .third-section-wrapper-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 25px;
    padding-top: 2rem;
    margin-right: 20px;
  }
  .third-section2-wrapper-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 25px;
    padding-bottom: 15px;
    padding-top: 2rem;
    margin-left: 20px;
  }
  .third-sub-sec-p {
    font-size: 13px;
    font-weight: bold;
    width: 98%;
    text-align: center;
  }
  .third-sub-sec-p :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  /*button section*/

  #red {
    background-color: rgb(204, 19, 19);
    padding: 10px;
    height: 45px;
    margin: 2px;
    border: 0;
    border-radius: 5px;
    font-size: 17px;
  }
  #red :hover {
    background-color: rgb(204, 19, 19);
    padding: 10px;
    height: 45px;
    margin: 2px;
    border: 0;
    border-radius: 5px;
    font-size: 17px;
  }
  #red a {
    padding: 15px;
    height: 45px;
  }

  .btn {
    background-color: rgb(241, 237, 237);
    padding: 10px;
    height: px;
    margin: 2px;
    border: 0;
    border-radius: 5px;
    font-size: 17px;
  }

  .btn :hover {
    background-color: rgb(98, 122, 143);
    padding: 15px;
    height: 45px;
    margin: 2px;
    border: 0;
    border-radius: 5px;
    font-size: 17px;
  }
  .btn a {
    padding: 15px;
    height: 45px;
  }
  #middle-ad {
    text-align: center;
    font-style: italic;
    font-size: 12px;
  }
  .middle-ad-name img {
    width: 70%;
    height: 180px;
    padding-bottom: 40px;
  }
}

/* EXTRA SMALL DEVICES LIKE SMARTPHONES */
@media only screen and (max-width: 479px) {
  .advert {
    display: none;
  }
  #middle-ad {
    text-align: center;
    font-style: italic;
    font-size: 10px;
  }
  .middle-ad-name img {
    width: 50%;
    height: 90px;
    padding-bottom: 30px;
  }
  main {
    display: row;
    justify-content: space-between;
    margin-top: 30px;
  }
  a {
    text-decoration: none;
    color: #000;
  }
  .head {
    width: 100%;
    text-align: center;
    font-size: 25px;
    margin-top: 30px;
    margin-bottom: 50px;
  }
  .head h2 {
    border-bottom: 1px solid rgb(224, 213, 213);
    line-height: 0.1em;
    margin: 10px 20px;
  }
  .head h2 span {
    background: #fff;
    padding: 0 30px;
  }
  .whole-section {
    width: 100%;
  }
  img {
    border-radius: 5px;
    box-shadow: 0 4px 4px 0 rgba(27, 27, 27, 0.9);
  }
  img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }

  .first-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .first-section img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(196, 189, 189, 0.9);
    background-color: rgb(243, 239, 233);
  }

  .sub-first-section,
  .sub-second-section,
  .sub-third-section {
    width: 100%;
  }

  .sub-first-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .all-image {
    width: 100%;
  }
  .all-image :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .span1-div1-p {
    font-size: 15px;
  }
  .span1-div1-p :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .sub-second-section {
    border: none;
    padding: 0 15px 0 15px;
  }
  #sub-second-section-img {
    height: 300px;
  }
  .span2-div-p {
    font-size: 20px;
  }
  .span2-div-p :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  #for-tablet {
    display: none;
  }
  .sub-third-section {
    padding-left: none;
    padding: 0 10px 0 10px;
  }
  #span3-all-top-border {
    border-top: 2px solid;
    padding-top: 10px;
  }
  .span3-all {
    margin-bottom: 15px;
  }
  .span3-div4 {
    padding-bottom: 5px;
  }
  .span3-name {
    font-style: italic;
    margin-top: 10px;
  }
  .span3-name :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .span3-div4 {
    font-weight: bold;
  }
  .span3-div4 :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .small {
    font: bold;
    color: #000;
  }
  .small :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }

  /*2nd section*/

  .section-wrapper {
    padding: 0 15px 0 15px;
  }
  .sub-sec-p {
    text-align: center;
  }
  .sub-sec-p :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .sub-sec-div img {
    height: 150px;
    width: 100%;
  }
  .sub-sec-div img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }

  .section-wrapper-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding-top: 2rem;
  }
  .section2-wrapper-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 25px;
  }

  /*third section & fourth section*/
  .third-section-wrapper {
    padding: 0 15px 0 15px;
  }
  .third-sub-sec-p {
    text-align: center;
  }
  .third-sub-sec-p :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .title-wrapper img {
    height: 150px;
    width: 100%;
  }
  .title-wrapper img :hover {
    transition: 1s;
    scale: 1.5;
    box-shadow: 1px 0 0 1px rgba(197, 149, 149, 0.9);
    background-color: rgb(133, 158, 158);
  }
  .third-section-wrapper-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding-top: 2rem;
  }
  .third-section2-wrapper-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 25px;
  }
  #border-line {
    border-top: 1px solid;
  }
  .all-border {
    border-top: 1px solid;
    padding-top: 15px;
  }

  /*button section*/
  .btn-wrapper {
    display: flex;
    width: 50%;
  }

  #red {
    background-color: rgb(204, 19, 19);
    padding: 5px;
    height: 30px;
    margin: 2px;
    border: 0;
    border-radius: 5px;
    font-size: 10px;
  }
  #red :hover {
    background-color: rgb(204, 19, 19);
    padding: 5px;
    height: 30px;
    margin: 2px;
    border: 0;
    border-radius: 5px;
    font-size: 10px;
  }
  #red a {
    padding: 8px;
    height: 30px;
  }

  .btn {
    background-color: rgb(241, 237, 237);
    padding: 5px;
    height: 30px;
    margin: 2px;
    border: 0;
    border-radius: 5px;
    font-size: 10px;
  }

  .btn :hover {
    background-color: rgb(98, 122, 143);
    padding: 5px;
    height: 30px;
    margin: 2px;
    border: 0;
    border-radius: 5px;
    font-size: 10px;
  }
  .btn a {
    padding: 8px;
    height: 25px;
  }
}
/* //FOOTER// */
footer {
  background-color: black;
  padding-top: 1rem;
  margin-bottom: -2rem;
  margin-left: -0.35rem;
  margin-right: -0.35rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 1.5rem;
}

.footer-form {
  display: flex;
  width: 35%;
  justify-content: space-between;
}
.form-search-wrapper {
  width: 68%;
}
.search-button {
  width: 30%;
}
.footer-form a {
  display: inline-block;
  text-decoration: none;
  background-color: white;
  color: black;
  border: 2px solid white;
  border-radius: 5px;
  padding: 1rem 1.2rem 0.5rem 1.2rem;
  margin-left: 0.3rem;
  /* width: 60%; */
  text-align: center;
}
.footer-form a:hover {
  color: #31d35c;
}
.footer-form .search-input {
  padding: 1rem;
  background: black;
  color: white;
  border: 2px solid white;
  border-radius: 5px;
  width: 100%;
}

::placeholder {
  color: white;
  font-size: 1rem;
} /* Firefox */
form .search-input:focus {
  outline: none;
}
:-ms-input-placeholder {
  color: white;
} /* IE 10-11 */

.footer-middle-section {
  margin-top: 2rem;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
}
.footer-section {
  width: 20%;
  display: flex;
  flex-direction: column;
}

.footer-section a {
  text-decoration: none;
  color: white;
  margin-bottom: 0.2rem;
}
.footer-section a:hover {
  color: #31d35c;
}
.footer-subscribe-btn {
  border: 2px solid white;
  color: white;
  text-align: center;
  background-color: black;
  width: 100%;
  padding: 0.8rem 0;
  font-size: 1.1rem;
  border-radius: 5px;
  margin-top: 0.3rem;
}
.footer-subscribe-btn:hover {
  color: black;
  background-color: white;
  border: 2px solid black;
}
footer hr {
  margin: 1rem 0;
  height: 1.2px;
  background-color: white;
  border: none;
}
.footer-bottom-section {
  display: flex;
  justify-content: space-between;
  margin: 1.5rem 0 1.5rem 1.5rem;
}
.footer-bottom-link {
  flex-wrap: nowrap;
  width: 40%;
}
.footer-bottom-link a {
  text-decoration: none;
  color: white;
}
.footer-bottom-link a:hover {
  color: #31d35c;
}
.footer-bottom-link a:not(:last-child) {
  margin-right: 1.5rem;
}
.footer-bottom-section p {
  color: white;
  margin-left: 1.8rem;
}
.footer-social-links {
  width: 30%;
  margin-right: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 2rem;
}
.footer-social-links a {
  text-decoration: none;
}
.footer-social-links a:hover {
  transform: scale(1.1);
}
.footer-social-links svg:hover {
  fill: #31d35c;
}
.footer-social-links p {
  margin-right: 0.5rem;
}
.footer-social-links a:not(:last-child) {
  margin-right: 0.5rem;
}
.footer-social-links svg {
  fill: white;
}
.footer-copyright {
  width: 90%;
  margin: 1rem auto 1rem auto;
}

.copyright {
  text-align: center;
  color: white;
  padding-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 600;
}
/* //RESPONSIVE DESIGN// */
@media (max-width: 750px) {
  header {
    position: relative;
  }
  .header-logo {
    margin-left: -1.5rem;
  }
  .nav-toggle {
    display: block;
    position: absolute;
    cursor: pointer;
    margin-top: 0.4rem;
    margin-right: 1rem;
    right: 0;
  }
  nav svg {
    width: 1.3rem;
    fill: white;
  }
  .close,
  .nav-checkbox {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin: 0.1rem 0;
  }
  .nav-links {
    position: absolute;
    margin-top: 2.76rem;
    top: 20px;
    right: 0;
    width: 100%;
    z-index: 100;
  }

  li {
    display: none;
    padding: 0.2rem 1rem 0.2rem;
    font-size: 1.3rem;
  }
  .nav-checkbox:checked ~ .nav-links .nav-menu li {
    display: block;
  }
  .nav-checkbox:checked ~ label.nav-toggle .close {
    display: block;
  }
  .nav-checkbox:checked ~ label.nav-toggle .menu {
    display: none;
  }
  .nav-checkbox:checked ~ .nav-links .nav-menu {
    background: linear-gradient(to right, #2bb7da, #31d35c);
    opacity: 1.5;
    height: 55vh;
    padding-top: 2rem;
    border-radius: 3px;
  }
  .nav-call-to-action {
    display: none;
  }
  footer {
    font-size: 1rem;
  }
  .footer-form {
    margin-top: 0.5rem;
    width: 80%;
  }
  .footer-form a {
    margin-left: 0.3rem;
    padding: 0.8rem 0.95rem 0.8rem 0.95rem;
  }
  .form-search-wrapper {
    width: 80%;
  }
  .search-button {
    width: 18%;
  }
  .foter-form .search-input {
    padding: 0.8rem;
  }
  .footer-top {
    flex-direction: column;
  }

  .footer-middle-section {
    flex-wrap: wrap;
    font-size: 1rem;
  }
  .footer-section {
    margin-left: 1rem;
    width: 32%;
  }
  .footer-section:nth-child(3) {
    margin-top: 0.8rem;
  }

  .footer-section:last-child {
    margin-top: 0.8rem;
  }
  .footer-section .subscribe-btn {
    display: inline-block;
    padding: 0.4rem 2rem 0.4rem 2rem;
  }
  .footer-bottom-section {
    text-align: center;
  }
  .footer-bottom-section p {
    margin-left: 0;
  }
  .footer-bottom-section {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-bottom-link {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 1.5rem;
  }
  .footer-social-links {
    width: 55%;
    margin: 0 auto;
  }
  .social-link {
    display: flex;
    justify-content: center;
  }
  .copyright {
    font-weight: 700;
    line-height: 1.4;
    font-size: 0.8rem;
  }
}
/*Responsiveness For very small devices*/
@media (max-width: 350px) {
  .footer-middle-section {
    justify-content: center;
  }
  .footer-section {
    width: 90%;
    margin: 0 auto;
  }
  .footer-bottom-section {
    flex-direction: column;
    justify-content: center;
  }
  .footer-bottom-link {
    flex-direction: row;
    width: 70%;
  }
  .footer-social-links {
    width: 90%;
    margin-top: 1rem;
  }
}

@media (max-width: 750px) {
  header {
    position: relative;
  }
  .nav-toggle {
    display: block;
    position: absolute;
    cursor: pointer;
    margin-top: 0.4rem;
    margin-right: 1rem;
    right: 0;
  }
  nav svg {
    width: 1.3rem;
    fill: white;
  }
  .close,
  .nav-checkbox {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin: 0.1rem 0;
  }
  .nav-links {
    position: absolute;
    margin-top: 3.3rem;
    /* left: 50%; */
    top: 20px;
    width: 100%;
  }

  li {
    display: none;
    padding: 0.2rem 1rem 0.2rem;
    font-size: 1.2rem;
  }
  .nav-checkbox:checked ~ .nav-links .nav-menu li {
    display: block;
  }
  .nav-checkbox:checked ~ label.nav-toggle .close {
    display: block;
  }
  .nav-checkbox:checked ~ label.nav-toggle .menu {
    display: none;
  }
  .nav-checkbox:checked ~ .nav-links .nav-menu {
    background-color: black;
    opacity: 0.9;
    height: 94vh;
    padding-top: 2rem;
    border-radius: 3px;
  }
  .nav-call-to-action {
    display: none;
  }
  footer {
    font-size: 1rem;
  }
  .footer-call-to-action a {
    padding: 0.6rem 0.5rem 0.2rem 0.5rem;
  }
  form .search-input {
    padding: 0.8rem;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-middle-section {
    flex-wrap: wrap;
    font-size: 1rem;
  }
  .footer-section {
    margin-left: 1rem;
    width: 32%;
  }
  .footer-section:nth-child(3) {
    margin-top: 0.5rem;
  }
  .footer-section:first-child {
    margin-left: 1rem;
  }
  .footer-section:nth-child(2) {
    margin-right: 1rem;
  }
  .footer-section:last-child {
    margin-top: 0.5rem;
    margin-right: 1rem;
    margin-left: 2rem;
  }
  .footer-section .subscribe-btn {
    padding: 0.4rem 3rem 0.4rem 3rem;
  }
  .footer-bottom-section {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-section p {
    margin-left: 0;
  }
  .footer-bottom-section p,
  .footer-bottom-link {
    width: 90%;
  }
  .mentor-name {
    text-align: center;
  }
}
