@media screen and (min-width: 1367px) {
  .zodiac_sign .cards .card {
    width: 15.4%;
    height: 175px;
  }

  .zodiac_sign2 .cards .card2 {
    width: 32%;
    transition: .3s linear;
  }

  .input-box {
    width: 48%;
  }
}

@media screen and (max-width: 1280px) {
  header .left_bx {
    width: 60%;
  }

  .right_bx {
    width: 40%;
  }

  .zodiac_sign .cards .card {
    width: 160px;
  }

  .zodiac_sign2 .cards .card2 {
    width: 330px;
  }

  .know_about .know_about_2 .right_know_bx h6 {
    line-height: 25px;
  }

  .profile-user-img {
    width: 54%;
  }
}

@media screen and (max-width: 1279px) {
  .form-image {
    width: 100%;
  }

  .form {
    width: 100%;
    padding: 1rem 0;
  }

  .container {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }

  .form-image img {
    width: 100%;
  }

  .inner_page_container {
    flex-direction: column-reverse;
  }

  .zodiac_sign .cards {
    justify-content: center
  }
}

@media screen and (max-width: 1024px) {
  header .left_bx .content .pra {
    width: auto;
  }

  .know_about .know_about_2 .right_know_bx h6 {
    line-height: 20px;
    font-size: 13px;
  }

  .zodiac_sign .cards .card {
    width: 195px;
  }

  .zodiac_sign2 .cards .card2 {
    width: 410px;
  }

  .zodiac_sign3 .cards .card_cu {
    min-width: 380px;
  }

  footer .footer {
    flex-wrap: wrap;
  }

  .card_f4 {
    margin-top: -50px;
  }

  footer .footer .card .news_f4 {
    width: fit-content;
  }


}

@media screen and (max-width: 912px) {
  .know_about .know_about_2 {
    flex-wrap: wrap;
  }

  .know_about .know_about_2 .left_know_bx,
  .right_know_bx {
    width: 100%;
  }

  .right_know_bx {
    margin-top: 50px;
  }

  .right_know_bx {
    text-align: center;
  }

  .zodiac_sign .cards .card {
    width: 170px;
    height: 145px;
  }

  .zodiac_sign2 .cards .card2 {
    width: 365px;
  }

  .desktop_view {
    display: none;
  }

  .mobile_view {
    display: block;
  }

  .card_f4 {
    margin-top: 0px;
  }

  .footer .card_bg {
    margin-bottom: 20px;
    width: 49% !important;
  }

  footer .footer .card .news_f4 {
    width: 100%;
  }

  .whatsapp_mobile {
    position: fixed;
    bottom: 5%;
    right: 2%;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0px 0px 20px rgb(0, 0, 0, .2);
  }

  .whatsapp_mobile i {
    color: green;
    font-size: 35px;
  }

  .whatsapp_desktop {
    display: none;
  }

}

@media screen and (max-width: 820px) {


  nav {
    padding: 0 20px 0 0;
  }

  nav img {
    margin-left: 0px !important;
    padding-left: 0px !important;
  }

  .zodiac_sign .cards .card {
    width: 153px;
    height: 145px;
  }

  .zodiac_sign2 .cards .card2 {
    width: 325px;
  }

  nav .ul_search ul li a::before {
    background: none;
  }

  /*NAV BAR RESPONSIVE*/
  nav {
    align-items: center;
  }

  nav .ul_search {
    align-items: center;
    /* margin-top: 30px; */
  }

  nav .ul_search ul {
    flex-direction: column;
    align-items: start;
  }

  /*****************************************/
  .hamburder {
    display: block;
  }

  .hamburder span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    background: #8c9f95;
    border-radius: 3px;
    z-index: 1;
  }

  ul.m_hide {
    display: none !important;
  }

  ul#menu {
    background-color: #8c9f95;
    position: absolute;
    right: 50px;
    top: 60px;
    width: 140px;
    text-align: center;
    border-radius: 20px 0 20px 20px;
    padding: 10px;
}

  ul#menu li {
    padding: 10px 20px 10px 20px;
    border-bottom: 1px solid #fff;
    width: 100%;
  }


  ul#menu li:last-child {
    border-bottom: none;
  }


  nav img {
    width: 150px;
    height: 41px;
  }

  .hamburder span {
    width: 26px;
  }

  .hamburder span:nth-child(1) {
    margin-top: 5px;
  }

  /*NAV BAR RESPONSIVE*/

  .thankyou {
    width: 90% !important;
  }

  nav .ul_search ul li .show_list {
    left: -185px;
  }

  nav .ul_search ul li .show_list::before {
    background: #8c9f95;
  }

  nav .ul_search ul li .show_list a::before {
    height: 0px;
  }

  nav .ul_search ul li a:hover {
    background: linear-gradient(90deg, #8c9f95 0%, #f0f2f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: unset;
  }

  nav .ul_search ul li .show_list a {
    position: relative;
    font-size: 12px;
    padding: 10px;
    border-bottom: 1px solid #fff;
    width: 100%;
    text-align: center;
  }

  nav .ul_search ul li .show_list a:last-child {
    border-bottom: none;
  }

  nav .ul_search ul li .show_list {
    padding-left: 0px;
    padding-right: 0px;
    width: auto;
    top: 0;
  }

  nav .ul_search ul li:hover .show_list {
    height: auto;
  }


  .footer .card:nth-child(1) {
    height: auto !important;
    width: fit-content;
    flex-direction: column;
  }

  footer .footer .card h5 {
    text-align: center;
  }
}


@media screen and (max-width: 768px) {

  .stat-card {
    width: 48%;
  }

  /* create my nav responsive*/

  /* end create my nav responsive*/

  .know_about .know_about_2 {
    flex-wrap: wrap;
  }

  .know_about .know_about_2 .left_know_bx,
  .right_know_bx {
    width: 100%;
  }

  .right_know_bx {
    margin-top: 50px;
  }

  .zodiac_sign .cards .card {
    width: 44%;
    height: 145px;
  }

  .zodiac_sign2 .cards .card2 {
    width: 300px;
  }

  .zodiac_sign3 .cards .card_cu {
    min-width: 310px;
  }

  .footer .card_bg {
    width: 49% !important;
    margin-bottom: 20px;
  }

  footer .footer .card .news_f4 {
    width: 310px;
  }

  .box-profile {
    flex-wrap: wrap;
  }

  .profile-user-img {
    width: 100%;
  }

  .form_footer {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }

  .form_footer div {
    width: 100% !important;
  }

  .form_footer div:nth-child(2) {
    margin-bottom: 10px;
  }

  .form_footer div:nth-child(1) {
    margin-bottom: 10px;
    justify-content: center;
  }

  .zodiac_sign .cards .card p {
    left: unset !important;
    right: 0 !important;
  }

  .zodiac_sign .cards .card:nth-child(odd) p {
    right: unset !important;
    left: 0 !important;
  }

}


@media screen and (max-width: 540px) {
  .stat-card {
    width: 100%;
  }

  ul#menu {
    background-color: #8c9f95;
    position: absolute;
    right: 50px;
    top: 60px;
    width: 140px;
    text-align: center;
    border-radius: 20px 0 20px 20px;
    padding: 10px;
}

  header .header {
    flex-wrap: wrap;
  }

  header .left_bx,
  .right_bx {
    width: 100%;
  }

  .zodiac_sign2 .cards .card2 {
    width: 100%;
  }

  .footer .card_bg {
    width: 100% !important;
    margin-bottom: 20px;
  }

  footer .footer .card .news_f4 {
    width: 100%;
  }

  header .left_bx .content h1:nth-child(1) {
    font-size: 24px;
    line-height: 30px;
  }

  header .left_bx .content h1:nth-child(2) {
    font-size: 24px;
  }

  header .left_bx .content p:nth-child(3) {
    margin-top: 20px;
    font-size: 16px;
    line-height: 20px;
  }

  .input-box {
    width: 100%;
  }

  .know_about .know_about_2 .right_know_bx h1::before {
    height: 0px;
  }

  .header {
    flex-direction: column-reverse;
  }

  .header .left_bx {
    margin-top: 20px;
    padding-bottom: 50px;
  }

  .header .right_bx {
    margin-top: 70px;
  }

  header {
    height: auto !important;
  }

  .social_mail {
    left: unset !important;
    right: 10px !important;
    bottom: 45px !important;
  }

  .course_module {
    flex-wrap: wrap;
  }

  .course_module div {
    width: 100%;
  }

  .course_module div ol li {
    padding-bottom: 5px;
    font-size: 12px;
  }

  .course_module div:nth-child(2) {
    padding-left: 10px;
  }

  .form-image {
    font-size: 12px;
  }

  .zodiac_sign .cards .card p {
    left: unset !important;
    right: 0 !important;
  }
  .zodiac_sign .cards .card:nth-child(odd) p {
    right: unset !important;
    left: 0 !important;
  }


  .zodiac_sign h1:nth-child(1) {
    font-size: 22px;
}

}

@media screen and (max-width: 414px) {
  header {
    height: 92vh;
  }

  header .header {
    width: 90%;
    height: auto;
  }

  .left_bx {
    margin-top: 32%;
  }

  header .right_bx img {
    width: 90%;
    margin-left: 7%;
  }

  header .right_bx .uni {
    left: 0;
  }

  header .left_bx,
  .right_bx {
    width: 100%;
  }

  header .right_bx .uni h2 {
    font-size: 22px;
  }

  header .left_bx .content h1:nth-child(2) {
    font-size: 18px;
  }

  header .left_bx .content h1:nth-child(1) {
    font-size: 18px;
    line-height: 20px;
  }

  header .left_bx .content p:nth-child(3) {
    margin-top: 12px;
    font-size: 14px;
    line-height: 18px;
  }

  header .left_bx .content .pra {
    margin-top: 41px;
  }

  .social_mail {
    left: 6.5%;
  }

  .know_about .know_about_2 .left_know_bx .img_bx_know {
    width: 100%;
  }

  .zodiac_sign .cards .card {
    width: 44%;
    height: 155px;
  }

  .zodiac_sign2 .cards .card2 {
    width: 100%;
  }

  .services_border:before {
    content: "";
    position: absolute;
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, #8c9f95 0%, #f0f2f1 100%);
    border-radius: 10px;
    top: 60px;
    margin-left: -32px !important;
  }

  .whatsapp {
    width: 60px;
    height: 60px;
  }

  .whatsapp i {
    color: green;
    font-size: 34px;
  }

  .container {
    width: 99%;
  }

  .zodiac_sign .cards .card p {
    left: unset !important;
    right: 0 !important;
  }
  .zodiac_sign .cards .card:nth-child(odd) p {
    right: unset !important;
    left: 0 !important;
  }
}

@media screen and (max-width: 390px) {
  .zodiac_sign .cards .card {
    width: 100%;
    height: 140px;
  }

  .zodiac_sign .cards .card p {
    right: 0 !important;
  }

  .zodiac_sign2 .cards .card2 {
    width: 100%;
  }

  header .left_bx .content h1:nth-child(2) {
    font-size: 14px;
  }

  header .left_bx .content h1:nth-child(1) {
    font-size: 14px;
    line-height: 16px;
  }

  header .left_bx .content p:nth-child(3) {
    margin-top: 12px;
    font-size: 12px;
    line-height: 16px;
  }

  header .left_bx .content .pra {
    margin-top: 40px;
    font-size: 12px;
  }

  header .header {
    height: auto;
  }

  .left_bx {
    margin-top: 110px;
  }

  header .left_bx,
  .right_bx {
    width: 100%;
  }

  header .right_bx img {
    width: 90%;
    margin-top: 10%;
    margin-left: 10%;
    animation: cir 15s linear infinite;
  }

  header .right_bx .uni {
    position: absolute;
    left: 0;
  }

  header .right_bx .uni h2 {
    font-size: 22px;
  }

  .form-image h1 {
    font-size: 1.4em;
    margin-bottom: 30px;
  }

  .form-image h1::before {
    top: 30px;
  }

}

@media screen and (max-width: 375px) {
  header {
    height: 115vh;
  }

  .form-image h1 {
    font-size: 1.3em;
    margin-bottom: 30px;
  }

  .form-image h1::before {
    top: 30px;
  }

  .gender-group {
    padding: 0rem;
  }

}

@media screen and (max-width: 280px) {
  .right_bx {
    margin-top: 30px;
  }

  .zodiac_sign .cards .card {
    width: 100%;
    height: 207px;
  }

  .footer .card:nth-child(1) {
    flex-wrap: wrap;
    height: auto !important;
  }

  footer img {
    width: 100%;
  }

  footer .footer .card h5 {
    width: 100%;
  }

  footer .footer .card .news .contact {
    font-size: 11px;
  }

  footer .footer .card .social a {
    margin-right: 5px;
  }

  footer .footer .card .news {
    padding: 20px;
  }

  .mobile_view .footer .card:nth-child(4) {
    margin-top: 20px;
  }
}