@media (max-width: 1300px) {


   .logo {
    width: 94px;
    height: 76px;

  }

  .masked-box {
    width: 140%;

  }

}

@media (max-width: 1200px) {
  .element > ul > li > a {
    font-size: 12px;
    overflow: hidden;
    position: relative;
  }

  .element ul li a i {
    font-size: 12px;
  }
  .img-seo {
    width: 100%;
  }
  .sub-img-seo {
    height: 410px;
  }
  .text-seo p {
    line-height: 33px;
    font-size: 17px;
  }

  .masked-box {
    width: 150%;

  }
}

@media (max-width: 992px) {

.profile-avatar{
    display: none;
}


.log-in-btn,
.avatar-menu{
    display: flex;
    margin-bottom: 30px;
}

.avatar-menu a{
    width: 60px;
    height: 60px;
}
  .project-card-container {
    width: calc(100% / 2);
  }

  .prject-details-img-slider {
    height: 550px;
  }

  .slick-list.draggable {
    width: 100%;
  }

  .slider-for,
  .slider-nav {
    width: 100%;
    float: none;
    height: auto;
  }

  .slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    height: 25%;
    width: 100%;

    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: hidden;
  }

  .slider-nav .slick-track {
    width: 100% !important;
    display: flex;
    flex-wrap: nowrap;
  }

  .slider-nav .slick-slide {
    height: 100%;
    margin: 0;
    width: 25% !important; /* ربع الشاشة */
    flex: 0 0 25%;
  }

  .slider-nav img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    width: 100%;
  }

  .slider-for {
    height: 75%;
  }

  .slider-nav {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: center;
    overflow-x: auto;
    padding: 10px 0;
  }

  .slider-nav .slick-slide {
    margin: 0 5px;
  }

  /*  */
  .dropdowm-element {
    position: sticky;
    width: 100%;
    box-shadow: none;
  }
  .dropdowm-element ul li a {
    border: none;
  }
  .dropdowm-element::after {
    display: none;
  }

  .sub-about-header {
    height: 370px;
  }
  .sub-img-seo {
    height: auto;
    width: 64%;
    margin: auto;
  }
  .text-seo {
    text-align: center;
  }
  .sub-programs .row {
    row-gap: 26px;
  }

  .element a {
    color: #fff;
  }

  .input-subscribe {
    width: calc(100%);
    position: relative;
  }

  .btn-subscribe {
    position: absolute;
    left: 1%;
  }

  .subscribe::after {
    bottom: 65%;
    right: 0%;
  }

  .header::before {
    bottom: -13px;
  }

  .text-header h2 {
    width: 90%;
  }

  .text-header h1 {
    font-size: 29px;
  }

  .menu {
    display: block;
  }

  .element.active {
    transform: translateX(0%);
  }

  .icon-menu {
    color: #025366;
    font-size: 43px;

    left: 3%;
    position: absolute;
  }

  .element.active {
    transform: translateX(0%);
  }

  .logo-menu {
    text-align: center;
    display: block;
    padding-bottom: 15px;
  }

  .btns {
    display: block;
  }

  .btns-top-par {
    display: none;
  }

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

  .element ul li a {
    font-weight: 550;
    font-size: 19px;
    height: 47px;
    align-items: center;
    overflow: hidden;
    display: flex;
    transition: all 0.3s linear;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    color: #000;
    padding-bottom: 29px;
  }

  .element ul {
    flex-wrap: wrap;
    align-content: center;
    gap: 0px;
  }

  .element {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    overflow: auto;
    height: 100vh;
    gap: 1px;
    position: fixed;
    right: 0;
    z-index: 999;
    overflow: auto;
    box-shadow: 0px 0px 9px #00000040;
    top: 0;
    align-content: center;
    width: 279px;
    transition: all 0.3s linear;
    transform: translateX(100%);
    background: #ffff;
  }

  .menu {
    display: block;
  }

  .element {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    overflow: auto;
    height: 100vh;
    gap: 1px;
    position: fixed;
    right: 0;
    z-index: 999;
    overflow: auto;
    box-shadow: 0px 0px 9px #00000040;
    top: 0;
    align-content: center;
    width: 279px;
    transition: all 0.3s linear;
    transform: translateX(100%);
    background: #ffff;
  }

  .element ul li a {
    font-weight: 550;
        font-size: 19px;
        height: 47px;
        align-items: center;
        overflow: hidden;
        display: flex;
        transition: all 0.3s linear;
        align-items: center;
        justify-content: start;
        position: relative;
        text-decoration: none;
        color: #000;
        padding-bottom: 29px;
        text-align: center;
        padding-right: 45px;
    }


  .element ul {
    flex-wrap: wrap;
    align-content: center;
    gap: 13px;
  }

  .logo-menu {
    text-align: center;
    display: block;
    padding-bottom: 15px;
  }

  .element.active {
    transform: translateX(0%);
  }

  .icon-menu {
    color: #025366;
    font-size: 43px;
    left: 3%;
    position: absolute;
  }

  .icon-menu {
    display: block;
  }

  .logo-menu {
    text-align: center;
    width: 47%;
    display: block;
    margin: auto;
    padding: 51px 5px 17px;
  }

  .logo-menu {
    text-align: center;
    display: block;
  }

  .element ul {
    flex-wrap: wrap;
    align-content: center;
    gap: 20px;
  }

  .element ul li {
    width: 100%;
  }

  .website {
    overflow: hidden;
  }

  .element ul {
    gap: 0px;
  }

  .profile-header,
  .language {
    margin: auto;
  }

  .element ul li a::after {
    display: none;
  }

  .about-membership .col-lg-5 {
    display: flex;
    justify-content: center;
  }

  .about-membership .row {
    row-gap: 80px;
  }


  .medal {
    position: absolute;
    top: -100px;
    left: 40%;
    transform: translateX(-40%);
  }


  .ads-card .masked-box{
    width: 100%;
    left: 0px;
    right: unset;
  }

  /* .main-content .row{
    flex-direction: column-reverse;
    row-gap: 20px;
  } */
}

@media (max-width: 768px) {
  /*  */

  .project-card-container {
    width: 100%;
  }

  .project-card-container {
    height: 300px;
  }

  .prject-details-img-slider {
    height: 480px;
  }

  .slick-prev,
  .slick-next {
    width: 24px;
    height: 24px;
  }
  /*  */
  .auth_pages .form-section {
    display: flex;
    margin: auto;
    height: auto;
    padding: 25px;
    width: 100%;
  }
  .auth_pages {
    min-height: auto;
    overflow-x: hidden;
  }
  .auth_pages .logo-section .img-container {
    width: 134px;
    height: 134px;
  }
  .auth_pages .logo-section {
    padding: 30px 0;
  }

  .title-center p {
    width: 100%;
  }
  .pg-section {
    padding: 40px 0;
  }

  .ctm-btn {
    font-size: 13px;
  }

  .title-start h2 {
    font-family: "font_SemiBold";
    font-size: 20px;
    margin: 25px 0 15px;
  }
  .sub-services-new h2 {
    font-size: 17px;
  }

  .sub-services-new {
    padding: 35px;
    min-height: 190px;
  }

  .sub-utilization {
    flex-wrap: wrap;
  }

  .main-utilization {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  .text-pages {
    height: auto;
  }
  .element ul li a {
    font-size: 16px;
    height: auto;

    padding-bottom: 22px;
  }
  .logo-menu {
    width: 40%;
    padding: 1px 5px 17px;
  }

  .sub-img-seo {
    height: auto;
    width: 85%;
    margin: auto;
  }
  .text-seo h2 {
    font-size: 19px;
    line-height: 33px;
  }

  /*  */

  .profile-details-header .user-info p {
    font-size: 20px;
    font-family: "font_SemiBold";
  }

  .profile-details-header .user-info span {
    font-size: 18px;
    color: #797979;
  }

  .profile-details .accordion {
    margin-bottom: 30px;
  }

  .profile-user-info img {
    height: 90px;
    width: 75px;
  }

  .profile-user-info .profile-info-items .item:nth-child(2):after {
    content: none;
  }

  .profile-details .accordion .card-header h5 {
    font-size: 18px;
  }

  .profile-info-header .header-actions a {
    font-size: 14px;
  }

  .header-details .img-container,
  .card-header .img-container {
    width: 40px;
    height: 40px;
    padding: 10px;
  }

  .profile-info-items {
    gap: 5px;
    row-gap: 10px;
  }
  .profile-info-items .item {
    padding: 0 20px 0 30px;
  }

  .btn-action2,
  .btn-action1 {
    width: fit-content;
    font-size: 16px;
    height: auto;
    padding: 5px 10px;
  }

  .profile-details .accordion .results ul {
    column-gap: 40px;
  }

  .profile-details .accordion .results ul li p {
    font-size: 16px;
  }

  .profile-details .accordion .results ul li span {
    font-size: 18px;
  }

  .profile-details .accordion .courses .card-body p {
    font-size: 18px;
  }

  .profile-details .courses .course-details .date p {
    font-size: 16px;
  }

  /* pay */

  .pay-way-card {
    height: 150px;
  }

  .pg-title {
    font-size: 22px;
  }
  .ads-card{
        height: 290px;
  }
}

@media (max-width: 650px) {

   .ads-card{
         height: 256px;
  }
}

@media (max-width: 576px) {
  div#map {
    height: 250px !important;
  }
  .sub-regulations > ul {
    padding: 10px 10px;
  }
  .sub-regulations > h2 {
    padding: 10px 10px;
  }
  .sub-regulations ul li h2 {
    font-size: 15px;
  }
  .sub-regulations ul li a {
    padding: 10px;
  }
  .sub-regulations ul li img {
    width: 26px;
    height: 26px;
  }
  .sub-regulations ul li a i {
    font-size: 16px;
    width: 31px;
    height: 31px;
  }
  .sub-regulations > h2 {
    font-size: 15px;
  }
  .sub-regulations > h2 i {
    font-size: 18px;
  }
  .mr-section {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .text-seo p {
    line-height: 27px;
    font-size: 14px;
  }
  .sub-header-pages {
    min-height: 238px;
    height: auto;
  }
  .text-pages {
    margin: 20px auto 60px;
  }

  .text-header {
    color: #fff;
    margin: 20px 0;
    text-align: center;
  }
  .titel-pages h2 {
    font-size: 20px;
    padding: 0px 0;
  }
  .header::before {
    bottom: -13px;
  }

  .text-header h2 {
    width: 90%;
  }
  .text-header h1 {
    font-size: 17px;
    line-height: 30px;
  }
  .text-header h2 {
    font-size: 13px;
    margin: 20px auto;
    line-height: 24px;
  }
  .sub-header {
    min-height: 425px;
    height: auto;
  }
  .association-numbers {
    gap: 4px;
    flex-wrap: wrap;
  }
  .association-numbers button {
    justify-content: start;
    gap: 6px;
    width: 100%;
  }
  .img-about img {
    width: 80%;
    height: 427px;
    margin-right: 12%;
  }

  .end-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    margin-top: 25px;
    border-top: 1px solid #ffffffbe;
    flex-wrap: wrap;
  }

  .img-about img {
    width: 80%;
    height: 427px;
    margin-right: 13%;
    object-fit: contain;
  }

  .img-about::before {
    top: 7%;
    left: 0%;
    width: 30%;
    height: 350px;
  }

  .img-about::after {
    top: 16%;
    left: 10%;
    height: 405px;
    width: 68%;
  }

  .association-numbers button span {
    font-size: 29px;
  }

  .text-about li {
    width: 100%;
  }

  .sub-our-partners {
    margin: auto;
  }

  .end-page p {
    margin: 2px 0;
    font-size: 13px;
  }
  .end-page a {
    padding: 5px 0;
    font-size: 13px;
  }

  .sub-footer {
    margin: 34px 0;
  }

  .contact-us::after {
    content: "";
    position: absolute;
    top: 10%;
    left: 0;
    background-color: #87bd41;
    width: 0;
    height: 0;
    z-index: -1;
  }
  .footer::after {
    display: none;
  }
  .footer {
    padding-top: 30px;
  }
  .form-subscribe {
    width: 100%;
  }

  .detalis {
    padding: 8px 5px;
  }
  .sub-header {
    min-height: 320px;
    height: auto;
    padding-bottom: 50px;
  }
  .sub-our-partners img {
    padding: 20px;
    width: 66% !important;
    height: 117px;
  }

  .img-rate-us {
    width: 120px;
    height: 120px;
  }

  .titel-centerrrr p {
    width: 99%;
    font-size: 13px;
  }
  .accordion p {
    font-size: 13px;
  }

  .accordion h3 {
    font-size: 12px;
    font-family: "font_bold";
  }

  .titel-start-page {
    padding: 34px 26px;
  }
  .end-page a {
    padding: 5px 0;
    font-size: 13px;
  }
}

@media (max-width: 550px) {
  .prject-details-img-slider {
    height: 420px;
  }

  .ads-card .masked-box {
        width: 125%;
        left: 0px;
        right: -9px;
        left: unset;
    }

  .ads-body h3 {
    font-size: 18px;
  }

  .offer p {
    font-size: 20px;
  }

  .offer span {
    font-size: 16px;
  }

  .location p,
  .date p {
    font-size: 16px;
    color: white;
  }

   .membership-details .mb-details-header .item
  {

    width: 140px;
  }
}

@media (max-width: 475px) {
  .membership-img-container {
    width: 100%;
    height: 350px;
  }
  /*  */

  .prject-details-img-slider {
    height: 380px;
  }

  .prject-details-img-slider {
    padding-top: 70px;
    margin-bottom: 25px;
  }

  /*  */
  .profile-details-header .user-info .img-container {
    width: 80px;
    height: 80px;
  }

  .profile-details-header .user-info p {
    font-size: 18px;
    font-family: "font_SemiBold";
  }

  .profile-details-header .user-info span {
    font-size: 16px;
    color: #797979;
  }

  .profile-user-info img {
    height: 8%;
    width: 65px;
  }

  .profile-details .accordion .card-header h5 {
    font-size: 16px;
  }

  .profile-details .accordion .results ul li p {
    font-size: 14px;
  }

  .profile-details .accordion .results ul li span {
    font-size: 16px;
  }

  .profile-info-items .item span {
    font-size: 16px;
  }

  .profile-details .accordion .courses .card-body p {
    font-size: 16px;
  }

  .form-section .done p {
    font-size: 18px;
  }

  .form-section .done {
    width: 65%;
  }

  .ads-card {
    height: 220px;
  }

  .ads-body {
    padding: 0px 5px 0 0;
    gap: 5px;
  }

  .ads-body h3 {
    font-size: 16px;
  }

  .offer {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .offer p {
    font-size: 18px;
  }

  .offer span {
    font-size: 16px;
  }

  .location p,
  .date p {
    font-size: 14px;
    color: white;
    line-height: 1.5;
  }

  .masked-box {
    width: 135%;

  }


      .ads-card .masked-box {
        width: 140%;
        left: 0px;
        right: -9px;
        left: unset;
    }

}

@media (max-width: 375px) {
  .prject-details-img-slider {
    height: 320px;
  }

  .membership-img-container {
    width: 100%;
    height: 300px;
  }


  .ads-card {
        height: 210px;
    }
}
